Skip to content

MiroFish: How the Multi-Agent Prediction Engine Works and How to Deploy It

AINewss Editorial

MiroFish is an open multi-agent prediction engine that turns seed material into a graph, simulates thousands of agents with memory and personas, and produces a prediction report. This guide covers the five-stage workflow, the OASIS and GraphRAG stack, source and Docker deployment steps, what scenarios it suits, and the cost and accuracy limits stated in the official repository.

View 1 reference
0 views 0 likes

Allow the functional cookie to save your likes. Privacy details

A knowledge graph of many small agent nodes branching into a forecast report, representing the MiroFish multi-agent prediction engine.

What is MiroFish?

MiroFish is an open-source prediction engine that uses multi-agent simulation to build a parallel digital world from seed material such as news, policy drafts, or financial signals. Users upload a source packet and describe a prediction question in natural language.

The project describes itself as a swarm intelligence engine that returns both a detailed prediction report and an interactive simulated world. The official repository frames the macro use as a zero-risk rehearsal laboratory for policy and public relations, and the micro use as a creative sandbox for exploring what-if scenarios. Shanda Group is listed as providing strategic support and incubation.

What are the five stages of a MiroFish run?

A MiroFish run has five stages: graph building, environment setup, simulation, report generation, and deep interaction. Each stage turns raw seed material into a more structured simulation input. That structure also tells you where to look when a report disappoints, starting with the seed.

  1. Graph building: seed extraction, individual and collective memory injection, and GraphRAG construction.
  2. Environment setup: entity-relationship extraction, persona generation, and agent configuration injection.
  3. Simulation: dual-platform parallel simulation, automatic parsing of prediction requirements, and dynamic temporal memory updates.
  4. Report generation: a ReportAgent with a toolset for deep interaction with the post-simulation environment.
  5. Deep interaction: chat with any agent in the simulated world, or with the ReportAgent.

The five-step sequence is from the project README, not from an independent evaluation. It is useful because it tells you where to debug: a weak report is often a weak graph or a vague seed, not a simulation failure.

What technologies power MiroFish?

MiroFish combines GraphRAG for knowledge structure, the OASIS social simulation framework for agent interaction, and Zep Cloud for long-term memory with timestamps. The backend is Python 3.11–3.12 and the frontend is Node-based. Your choice of LLM will shape the simulation as much as the graph does.

The README credits OASIS, built by the CAMEL-AI team, as the simulation engine and describes it as supporting large-scale agent interaction. Agents are given independent personalities, long-term memory, and behavioural logic. The LLM layer is provider-agnostic: any API in OpenAI SDK format works, and the project recommends Alibaba Qwen-plus through Bailian. That choice gives you flexibility but also means your results depend heavily on the model you supply.

What do you need to install MiroFish from source?

Source deployment needs Node.js 18 or newer, Python between 3.11 and 3.12, and the uv package manager. You also need an LLM API key and a Zep Cloud key. Keep the round count low on a first run to control spend.

cp .env.example .env
# Set LLM_API_KEY, LLM_BASE_URL, LLM_MODEL_NAME and ZEP_API_KEY
npm run setup:all
npm run dev

The frontend then runs on http://localhost:3000 and the backend API on http://localhost:5001. You can start either side alone with npm run backend or npm run frontend. The README explicitly warns that LLM consumption is high and recommends trying simulations with fewer than 40 rounds first. Budget for that before launching a large run.

How do you deploy MiroFish with Docker?

Docker deployment uses the same .env file and a single compose command. It exposes the same ports as the source setup. Use this path when you do not need to edit the Python backend, and keep the same environment file for both routes.

cp .env.example .env
docker compose up -d

By default the compose file reads .env from the project root and maps port 3000 for the frontend and 5001 for the backend. The README notes that a mirror address is provided in docker-compose.yml comments for faster image pulls in some regions. This is the lower-friction path if you do not need to edit the Python backend.

What can you simulate with MiroFish?

MiroFish is built for situations where people react to each other: public opinion after an event, product launches, pricing changes, policy pressure testing, and narrative dynamics. The official demo covers a public-opinion simulation based on a BettaFish report and a prediction of the lost ending of Dream of the Red Chamber.

Those two examples show the range the project claims, from serious forecasting to creative deduction. The output is a report plus a world you can interrogate, which is the practical difference from asking a chatbot for a single opinion. For a clearer result, write a seed with specific actors and motives rather than a general question, and start with a small number of rounds so you can see how the graph forms.

What are the limits of MiroFish?

The main limits are cost, dependence on the LLM you supply, and the absence of independent accuracy validation in the repository. The README warns about high LLM consumption but publishes no accuracy benchmark. Treat any high-stakes conclusion as a hypothesis to verify elsewhere.

There are also scope boundaries worth stating. A simulated crowd is not a real forecast: agent personas and memory come from your seed, so a biased input produces a biased world. The project's own framing is rehearsal and exploration, not guaranteed prediction. Treat the report as a structured way to surface objections and second-order effects, and verify any high-stakes conclusion with real-world evidence.

FAQ

These questions clarify common points of confusion about MiroFish: its name, its running costs and how it differs from a chatbot. Answers come from the official repository, and they avoid claiming accuracy that the project has not published. Verify any forecast against real evidence.

Is MiroFish the same as the Miro whiteboard app?

No. MiroFish is a multi-agent prediction engine; Miro is a separate collaboration and whiteboard product. Search results mentioning MiroFish AI often mix the two, so verify the repository or official site rather than relying on a keyword match.

Can I run MiroFish without paying for LLM calls?

Not for a real simulation. The engine needs an OpenAI-format LLM endpoint, and Zep Cloud is used for memory. The README says a free Zep monthly quota is enough for simple use, but LLM calls are metered by your provider. Start with a small round count.

Is MiroFish a chatbot?

No. A chatbot gives one answer from one model. MiroFish builds a graph, lets many agents react over rounds, and then lets you question the resulting world and its report. The interaction step is part of the product, not an add-on.

References

  1. 666ghj/MiroFish README - GitHubgithub.com