Surn Apps
All articles

MiroFish: test your product idea on a crowd of fake AI users, and write the document that decides who is in it

MiroFish turns a short document about your product into a crowd of fake users who post about it on a fake Twitter and Reddit. The crowd is made only of who your document names. Here is how it works, the setup commands and a document template you can fill in.

Before you show your AI product idea to your friends, you can let a crowd of fake AI users react to it first. MiroFish does this. It is free and open source under AGPL-3.0.

The part most people skip is where that crowd comes from. It comes from the document you upload, so the document decides who is in the room. This article covers how it works, the setup commands, and a template for the document.

How it works

You write a short document about your product and upload it as the "seed". Then you type what you want predicted in plain language. MiroFish gives you back a report and a simulated world you can explore.

In between, the README lists 5 steps.

  1. It draws a map. MiroFish reads your document into a knowledge graph, a map of every person, group and company the document names and how they connect.
  2. Each name on the map becomes a fake user. Each person or group gets a profile with a name, bio, persona, age, gender, MBTI type, country, profession and interests. You can see the fields in oasis_profile_generator.py.
  3. They post about your product. The fake users go onto a Twitter-style and a Reddit-style platform at the same time. The engine underneath is OASIS from CAMEL-AI, where agents follow, comment and repost. By default MiroFish runs 72 simulated hours, 1 hour per round, so 3 simulated days. More of them are active in the evening than in the small hours (simulation_config_generator.py).
  4. The map becomes their memory. While it runs, their posts are written back into the same graph (zep_graph_memory_updater.py).
  5. A report agent sums it up. At the end, a report agent searches that same map, now full of their posts, and writes the report section by section (report_agent.py). You can also chat with any fake user and ask why they said what they said.

So one map does 3 jobs: it decides who is in the crowd, it holds their memory, and it is what the report is written from.

An example: a cover letter app

Say your app writes cover letters. Your document names 3 things:

  • final-year students, who would use it,
  • recruiters who hate AI letters, who read what it writes,
  • ChatGPT, the app you are up against.

On the map, students use your app, recruiters read its letters and ChatGPT competes with it. Each of those becomes a fake user with a profile, and they spend 3 simulated days posting about your app.

The catch: the map only holds what your document mentions

Only the people and groups your document names make it onto the map, and only names on the map become fake users (zep_entity_reader.py). Leave the recruiters out, and no recruiter ever shows up to criticise your app.

A pitch deck that never describes its buyers gets a crowd without the buyers. That is why the template below asks you to name your users, the people your product has to win over, your competitors and your doubters, one by one.

Read the report as a rehearsal, not a forecast. The repo does not publish any accuracy figure for predicting how real customers react to a product.

What you need

  • 2 keys. An LLM API key for any API in the OpenAI SDK format (the README recommends Alibaba's qwen-plus) and a Zep Cloud key for the memory graph. The README says Zep's free monthly quota is enough for simple use.
  • Node 18+, Python 3.11 or 3.12, and uv.
  • A small first run. The README warns that runs use a lot of tokens and says to try simulations of under 40 rounds first. Every active fake user calls the model every round, so a big run gets expensive fast.

The setup commands

The rest is for members.

A free account unlocks every article and the older ones in each category.