MiroFish: test your startup idea on thousands of simulated customers. How it works, the install, and the cost trap
MiroFish is an open source simulation engine. You upload your product idea, your pitch or a write-up of your MVP; it builds a digital world full of simulated people, each with a personality, a background and a memory, releases them onto two social platforms and lets them talk. At the end it writes a report, and you can chat one on one with anyone in the simulation. Below: the five-step flow, the install I verified against the repo, how to get the report to cover what they loved, what they hated and what they'd change, and what to know so the bill doesn't blow up.
The tool itself
If you just want the repo, the link is below. It is AGPL-3.0 licensed, open source, with over 85 thousand stars on GitHub. There's also a live demo if you want to look before installing. What's extra on this page: the steps the simulation goes through, the right install including Windows, what to upload and what to write for a startup idea, and why the token bill can grow fast with two API keys.
Look at the demo first
The demo is a recorded, finished simulation: you can browse the graph being built, the agent profiles, the posts dropping into the feed and the report. It's good for getting to know the interface. But the demo isn't connected to an AI model; when you ask an agent a question, the answer is a template. For real chat and a simulation of your own idea you need the install below. The demo scenario isn't a startup either, it's public reaction to a university decision in China.
How it works
Five steps
- 1
Graph
Pulls people, concepts and relationships out of your document and builds a knowledge graph
- 2
Agents
Gives each agent a personality, age, job, MBTI, bio and interests
- 3
Simulation
Agents post, like, comment, argue and follow each other on two social platforms
- 4
Report
A report agent studies the simulation and writes the prediction report
- 5
Chat
You talk one on one with any agent or with the report agent
Under the hood the simulation runs on CAMEL-AI's open source OASIS engine. The agents' long-term memory lives on a service called Zep, which is why the install asks for two separate keys.
What to upload for a startup idea
MiroFish needs two things: a seed document and a prediction request in plain words. The seed can be PDF, MD or TXT, so your product idea notes, your pitch deck PDF or a text describing what your MVP does. You can't upload a code repo; describe your MVP in writing. The report doesn't come with fixed sections, it's built around what you ask. If you want to see what they loved, why they hated it and what they'd change, say so in the request:
If this product launched for [target audience], how would people talk about it on social media?
Write the report under three headings:
1) What they loved
2) Why they hated it
3) What they'd change
Under each heading, list the most repeated opinions and which kind of user they came from.When the report arrives, find the agent with the most interesting reaction and ask them directly: why they think that, at what price they'd buy, what would change their mind. These one-on-one chats are often more useful than the report summary.
This is a forecast, not customer validation
Every agent is a language model playing a role. It's great for spotting objections early, sharpening your copy and choosing which audience to talk to. But an idea that's loved in the simulation isn't guaranteed to work in the real market; use the results as a list of hypotheses before you talk to real users.
Install
You need three things installed: Node.js 18 or newer, Python 3.11 or 3.12, and the Python package manager uv. Mind the Python version: the README doesn't support anything above 3.12, so if you have 3.13, install 3.12 alongside it. If you don't have uv, paste this into PowerShell on Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Then clone the repo, copy the settings file and install the dependencies. On Windows, run this in Git Bash.
git clone https://github.com/666ghj/MiroFish.git
cd MiroFish
cp .env.example .env
npm run setup:allOpen the .env file and fill in two keys. The first is for the AI model: any API that speaks the OpenAI format works, and the README defaults to Alibaba's qwen-plus model. The second is a Zep key; you get it free at app.getzep.com, and the free monthly quota is enough for simple use. The file also has three lines starting with LLM_BOOST: if you won't use them, delete them, leaving them empty isn't enough.
LLM_API_KEY=your_api_key
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL_NAME=qwen-plus
ZEP_API_KEY=your_zep_api_keyFinally, start it and open localhost:3000 in your browser. The backend runs on port 5001.
npm run devIf you use Docker you can skip Python and uv: prepare the .env file the same way and run docker compose up -d, it opens on the same ports.
Without blowing up the bill
Starting a big, long simulation on the first try
Every move by every agent is a model call. The README says plainly that consumption is high and suggests trying simulations under 40 rounds first. Start small, scale up if the result is useful.
Leaving an expensive model as the default
Multiply agents by rounds and a small price gap becomes a big bill. Run your trials on a cheap model and set a spending limit with your API provider.
Starting it while another project is on port 3000
The interface uses port 3000. If another dev server like Next.js is running, close it first.
The AGPL licence
Using it to test your own idea is free. But if you modify MiroFish and offer it to others as a service, AGPL-3.0 requires you to share your modified source code too. If you're thinking of putting it inside a commercial product, read the licence first.
DOA: Yapay Zeka ve Otomasyon
Installing these tools on your own is one thing; actually building with them is another. The community has people using these daily and people building systems from scratch.
If you want a system that actually runs in your business, let's talk for 10 minutes; I'll look at what you're trying to build and tell you which path fits. Free, and not a sales pitch.
Book a 10-minute callIf you'd rather learn this alongside people doing the same work instead of on your own, the community is always open:
Join the communityThis is an affiliate link.