A simple and universal swarm intelligence engine, predicting anything
open sourceAGPL-3.0-onlyself-hostablefree
MiroFish is a self-hosted multi-agent simulation engine that turns seed material, such as a news story, policy draft, financial report or a novel, into a simulated social world and reports on how it plays out. It extracts entities and relationships into a GraphRAG knowledge graph, generates agent personas with their own memory and behaviour, and runs them in parallel on two simulated social platforms using the OASIS engine from CAMEL-AI. A ReportAgent writes a prediction report, and you can chat with any agent or the ReportAgent afterwards. It runs from source with Node.js and Python or with Docker, needs an OpenAI-compatible LLM API and a Zep Cloud key, and is AGPL-3.0 licensed; MiroShark started as a fork of it.
Problems it solves
- simulate how the public might react to a news event or policy draft with LLM agents
- run a multi-agent social simulation from a document I upload
- explore what-if scenarios such as alternative story endings with AI agents
- a self-hosted swarm intelligence tool for public opinion analysis
Features
- seed extraction and GraphRAG knowledge graph construction from uploaded material
- persona generation with individual and collective memory
- parallel simulation on two simulated social platforms, built on CAMEL-AI's OASIS
- natural-language prediction requirements parsed automatically
- ReportAgent that writes a report and answers questions about the simulation
- chat with any agent in the simulated world
- web UI, source install with Node.js and Python, or Docker image
Limitations
- Needs an OpenAI-compatible LLM API key and a Zep Cloud API key; the README warns LLM use is high and suggests starting with fewer than 40 rounds
- Early release: the latest version is v0.1.2 (March 2026)
Forks
- MiroShark Universal swarm intelligence engine: simulate how people react to a scenario. Its own project since 2026.
Alternatives
The same job
These do what MiroFish does.
- MiroShark Universal swarm intelligence engine: simulate how people react to a scenario