Overview
A monetized prediction API powered by the MiroFish swarm intelligence engine. Mirofish is incredibly impactful and can be used for a wide variety of use cases. However, setting up a new project every time I wanted to use its swarm intelligence capabilities felt redundant. The best solution was to convert it into a standalone API endpoint with keys and a ready-to-use setup. I found an existing implementation and forked it to suit my needs, configuring it to host Mirofish as a seamless endpoint.
It spawns multi-agent simulations where diverse AI agents debate, analyze, and collectively predict outcomes - then returns a structured prediction report. This setup is a customized fork of the swarm-prediction-api project; please check out original repo as well: swarm-prediction-api.
Key Features
- Multi-Agent Swarm Simulation: 10-500 agents with diverse roles (Analyst, Skeptic, Expert, Journalist, Activist, etc.).
- Multi-Round Emergent Behavior: Agents build on each other’s outputs across rounds.
- Structured Prediction Reports: Narratives, trends, sentiment distribution, and sample agent actions.
- x402 Payments: Integrated payments powered by x402 on Base USDC.
- MCP Compatible: Discoverable via an MCP endpoint for tool integration.
Technical Details
- Built with FastAPI (Python 3.11+).
- Docker containerized for easy deployment (e.g., to Railway).
- Mirrors the MiroFish OASIS simulation engine logic.