Explore public reactions
Use a policy draft, announcement, or public-opinion report to examine how different groups could respond and which concerns may spread.
Open-source project · 666ghj/MiroFish
MiroFish turns source material into a world of AI agents with different roles, memories, and behaviors. Build a relationship graph, simulate how people might respond, and explore the resulting report and agent conversations.
github.com/666ghj/MiroFishThe repository is the upstream open-source project. The workspace button opens the separately operated mirofish.work console.
The MiroFish GitHub repository contains an open-source multi-agent simulation application. You provide documents and a question; it constructs a graph of people, groups, and relationships, creates agent profiles, and runs social interactions that a report agent can analyze. It is useful for exploring possible reactions and finding questions to investigate further.
Use a policy draft, announcement, or public-opinion report to examine how different groups could respond and which concerns may spread.
Describe a proposed change, the affected groups, and a time horizon. Compare the arguments and assumptions that emerge before planning real research.
Give agents a story’s characters and relationships, then explore conversations and possible developments. The project includes a literary simulation demo.
These are exploratory uses, not evidence of measured forecasting accuracy. Read the project overview and maintainer FAQ for scope and limitations.
Five connected stages make the output inspectable beyond a single chatbot answer.
Upload PDF, Markdown, or text. The application extracts entities and relationships and builds a graph with contextual memory.
Generate personas from the graph, then configure their environment and the scenario you want to explore.
Agents interact in simulated Twitter-like and Reddit-like environments. These are simulation spaces, not posts to real social accounts.
ReportAgent examines the simulated activity and graph to explain patterns, perspectives, and possible outcomes.
Talk with simulated agents or ReportAgent to explore motivations and the context behind the result.
| Component | Role in the application | Source |
|---|---|---|
| Vue frontend | Graph, simulation controls, reports, and conversations. | Frontend code |
| Python / Flask backend | Document handling and orchestration of the workflow. | Backend code |
| LLM API | Generates entities, personas, behaviors, and report content through an OpenAI-compatible API. | Model configuration |
| Zep Cloud | Stores and retrieves the graph and memory used by the official mainline. | Required configuration |
| OASIS by CAMEL-AI | Provides the social simulation environment and agent actions. | OASIS repository |
Start with the demonstrations linked by the upstream project.
Explore a prepared public-opinion scenario in your browser. This is a static demonstration with prebuilt results, not a service for running new uploads.
The project introduction follows a Wuhan University scenario using a report produced by BettaFish as input. The video is in Chinese.
See an exploration of the lost ending of Dream of the Red Chamber, using the novel’s first 80 chapters as source material. The video is in Chinese.


A short animated overview of inputs, relationships, agents, and reports.
Use Python 3.11 or 3.12, uv, and a Node.js version supported by the current frontend: Node 20.19+ or 22.12+. The upstream README recommends source installation.
git clone https://github.com/666ghj/MiroFish.git
cd MiroFish
cp .env.example .envOpen .env in your editor and set the four values below before starting. Use your model provider’s API key, compatible endpoint, and model ID, plus a separate Zep Cloud API key.
LLM_API_KEYLLM_BASE_URLLLM_MODEL_NAMEZEP_API_KEYIf you do not use the optional boost model, remove all three LLM_BOOST_* example entries rather than leaving placeholders.
npm run setup:all
npm run devOpen http://localhost:3000 for the interface. The backend runs on port 5001; its health endpoint is /health. Installing dependencies alone does not start the application.
Keep the first scenario small enough to understand what each stage is doing.
For example: “How might students, teachers, and parents respond during the first month of a proposed school timetable change?” Upload the proposal and relevant public context; identify what is changing and the time horizon.
Use a small text-based document and fewer than 40 simulation rounds to start, as the README suggests. Review the generated entities and personas before expanding the run.
Scanned PDFs need OCR before upload. Compare repeated runs and changes to the source material; treat generated reactions as hypotheses to test with real people and evidence.
The source is available under AGPL-3.0. Running it may still incur model API, Zep Cloud, and hosting costs. Document length, agent count, simulation rounds, and report interactions affect usage.
Self-hosting the application does not make the standard setup offline: the model provider and Zep Cloud process parts of the workflow. Check their data policies before uploading confidential material.
For a shared deployment, plan access controls, HTTPS, persistent storage, and backups. The development startup commands are a local starting point.
The mirofish.work console is a separately operated hosted workspace. Its interface, account, billing, and support are separate from the upstream GitHub project.
The upstream project is 666ghj/MiroFish on GitHub. Use its README, releases, and issue tracker to distinguish the mainline from forks and separately operated hosted services.
The code is open source under AGPL-3.0. Model API usage, Zep Cloud, and hosting can have separate costs. A hosted service’s subscription is separate from the open-source repository.
The official mainline requires Zep Cloud and an LLM API. Community projects explore local alternatives, but a fork’s capabilities should not be assumed to exist in the upstream version. See the memory-backend discussion.
The README’s demo is static and uses prepared results. To simulate your own material, run a configured installation or use a separate hosted service.
The upstream workflow starts from uploaded material. ReportAgent’s graph-search tools search the project’s graph, not the open web. A BettaFish report can be uploaded as input; the two applications are not an automatic integrated pipeline.
Confirm Python 3.11 or 3.12, both service credentials, and the exact model endpoint. A 404 at the backend root is expected; use /health. For model JSON errors or graph failures, consult the maintainer FAQ and include your version and a redacted error when opening an issue.
Direct links for learning, installing, following development, and contributing.
Source code, README, screenshots, and project channels.
Explore the projectDetailed answers about setup, models, data, Docker, and limitations.
Read the FAQSearch for an existing report before opening a reproducible bug report.
Browse issuesSee proposed changes and their review status before relying on them.
Browse pull requests