Simulate hundreds of AI agents to predict how communities react to events and policies
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A swarm intelligence engine that rehearses the future.
Feed it a document. Describe a scenario. Watch hundreds of AI agents with distinct personalities, memories, and social instincts interact β and return with a prediction.
One-click self-host β four services, one API key, ~60 seconds. Full walkthrough β
DeepMiro extracts entities and relationships from any document β a policy draft, a market report, a chapter of a novel β and constructs a parallel digital world. Inside it, hundreds of autonomous agents form opinions, argue on simulated social platforms, shift allegiances, and produce emergent behavior that no single prompt could predict.
You get back a structured prediction report and a living world you can interrogate, agent by agent.
Input: A PDF and a question in plain language. Output: A detailed prediction report + an interactive simulation you can explore.
| Phase | What happens |
|---|---|
| Graph Build | Extracts entities, relationships, and context from your documents. Builds a knowledge graph via GraphRAG. |
| Environment Setup | Generates agent personas with distinct personalities, beliefs, and social connections. |
| Simulation | Agents interact across dual platforms (Twitter-like and Reddit-like) in parallel. Dynamic memory updates each round. |
| Report Generation | A ReportAgent analyzes the post-simulation environment β sentiment shifts, faction formation, viral dynamics, outcome trajectories. |
| Deep Interaction | Chat with any agent to understand their reasoning. Query the ReportAgent for follow-up analysis. |
Sign up at deepmiro.org β Dashboard β API Keys. Your key looks like dm_xxxxxxxxx.
Pick the install path for your client. Don't install the .mcpb desktop extension if you're using Claude Code or Claude Cowork β those need the plugin to get the /predict skill, background polling, and live narration.
.mcpbdeepmiro.mcpb from the latest releaseThe plugin ships the /predict skill β the MCP alone is missing the orchestration logic (background polling via cron, live agent narration, the setup wizard).
Restart Claude Code, then say /predict or predict how people will react to [scenario].
Generic MCP install for clients that aren't Claude Desktop, Claude Code, or Claude Cowork:
| Client | Install |
|---|---|
| OpenAI Codex (CLI) | Add to ~/.codex/config.toml under [mcp_servers.deepmiro]: command = "npx", args = ["-y", "deepmiro-mcp"], env = { DEEPMIRO_API_KEY = "dm_xxx" } |
| ChatGPT Desktop | Settings β MCP Servers β Add β npx deepmiro-mcp with env DEEPMIRO_API_KEY |
| Cursor / Windsurf | Settings β MCP β Add β npx deepmiro-mcp with env DEEPMIRO_API_KEY |
| VS Code (Copilot) | Add to .vscode/mcp.json: "deepmiro": {"command": "npx", "args": ["-y", "deepmiro-mcp"], "env": {"DEEPMIRO_API_KEY": "dm_xxx"}} |
Four services, one compose file, one API key.
| Service | Role |
|---|---|
| backend | Flask engine that runs the OASIS multi-agent simulations |
| mcp | Public entry point for AI tools (Claude, Cursor, VS Code) |
| twhin-sidecar | Shared TWHIN-BERT embedding service (loads once per pod) |
| surrealdb | Graph + vector + document store for agents and reports |
openssl rand -hex 32 for your SurrealDB root password.Railway reads docker-compose.yml from the repo root and prompts for LLM_API_KEY + SURREAL_PASSWORD. The MCP service gets a public *.up.railway.app URL β hand that to your AI tools.
Note β LLM provider on Railway. The template ships with Fireworks as the default (primary:
minimax-m2p5, boost:gpt-oss-120b, embeddings:nomic-embed-text-v1.5β one key covers all three). Any OpenAI-compatible API works β to swap to OpenAI, Together, Groq, Ollama, vLLM, or anything else, changeLLM_BASE_URLandLLM_MODEL_NAMEon the backend service's Variables tab after deploy. Same forLLM_BOOST_*if you want a separate reasoning model, andEMBEDDING_*if you want a different embedding provider.
Edit .env β two required variables:
Start everything:
This pulls pre-built images from GHCR and starts four services:
| Service | Port | Description |
|---|---|---|
mcp | 3001 (public) | MCP server β the only exposed port |
backend | 5001 (internal) | Flask simulation engine |
surrealdb | 8000 (internal) | Graph + vector store |
twhin-sidecar | 7001 (internal) | Shared TWHIN-BERT embeddings |
First startup takes ~2 minutes (TWHIN-BERT model warm-up). Check readiness:
To build from source instead of pulling images:
Or uncomment the build: blocks in docker-compose.yml and comment out the image: lines.
MCP lives on http://localhost:3001. Backend and SurrealDB stay internal to the compose network unless you explicitly publish them (see docker-compose.yml comments for how).
Add DeepMiro to your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonFor a local Docker deployment:
For Railway or any public deployment:
Restart Claude Desktop after editing. Then ask: "Use DeepMiro to simulate how 100 senior engineers would react to a return-to-office mandate" β and paste the memo.
MCP ships with no auth by default β set MCP_API_KEY in .env before exposing it to the internet. The backend REST API is internal-only out of the box.
Skip the deploy entirely? Use the hosted version at deepmiro.org β same engine, same models, no Docker.
DeepMiro is an MCP server. MCP is natively supported by Claude (Desktop, Code, Cowork) and Cursor, with growing support across ChatGPT Desktop, VS Code (Copilot), Windsurf, and OpenAI Codex CLI β one server, works in every MCP-enabled client.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/deepmiro)<a href="https://allmcps.com/mcp/deepmiro"><img src="https://allmcps.com/api/badge/deepmiro?style=directory" alt="Deepmiro on AllMCPs" /></a>