Universal swarm intelligence engine: simulate how people react to a scenario
open sourceAGPL-3.0self-hostablefreeMCP
Forked from MiroFish in 2026.
MiroShark simulates how a population might react to a scenario, such as a press release, market news, an ad, a draft policy or an alternative history. It builds a knowledge graph from the input, creates LLM agent personas grounded in demographics, web research and relationships, and runs them hour by hour across a Twitter-like feed, a Reddit-like forum and a prediction market. You can chat with any agent, inject breaking news mid-run, fork the timeline into a counterfactual branch, and get a report that cites the simulated posts and trades. The open source version (AGPL-3.0) runs locally with Python, Node.js and Neo4j against OpenRouter, Ollama or Claude Code, and miroshark.xyz runs hosted simulations for about $1 each, paid per run in USDC over x402, with an API, an MCP server and an OpenAPI spec. Its own site says the output is simulated behaviour, not a prediction.
Problems it solves
- see how social media might react to our press release before we publish it
- test an ad or product launch message against a crowd of simulated personas
- simulate how a market might react to a piece of news
- run a what-if: inject a breaking news event into a simulation and compare the timelines
- interview simulated people about why they reacted the way they did
- model public reaction to a draft policy before it's announced
- let my agent pay per simulation over x402 without an API key
Features
- 100+ agent personas on a Twitter-like feed, a Reddit-like forum and a prediction market
- knowledge graph built from the scenario (Neo4j)
- personas grounded in demographics, web enrichment, semantic search and relationships
- chat with any agent
- Director Mode: inject breaking news mid-run
- counterfactual branching of a running simulation
- cited reports and Substack-style articles
- per-agent MCP tools for web search and APIs
- public gallery and share cards, replay GIFs, RSS and webhooks
- OpenRouter, Ollama or Claude Code as the model backend
View 2 more
- Docker Compose and configs for Railway, Render and Cloud Run
- hosted runs paid per simulation with x402, plus an API, MCP server and OpenAPI spec
Ways to run it
MiroShark (self-hosted)
free1
You arrange
- an LLM: an OpenRouter key, Ollama or Claude Code
- Neo4j (the launcher starts it)
- Python 3.11+ and Node.js 18+, or Docker
MiroShark hosted
about $1 per simulation, paid in USDC via x4022
Only in this edition
- no setup or model keys
- API, MCP server and OpenAPI spec
Capabilities
| Has an API | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what MiroShark does.
- MiroFish A simple and universal swarm intelligence engine, predicting anything
