DualMind · Developer docs
Two models, one prompt.Here is how it works.
The code behind the DualMind Arena: an ASP.NET Core API on Cloudflare Containers, Supabase for auth and data, three AI providers, a static arena web app and an admin panel. Everything you need to run it locally, change it safely and ship it.
1 API · api.dualmindlab.tech3 AI providers61 documented routes4 Cloudflare Workers
Start here
Architecture
Services, request flow and where data lives.
API reference
61 routes: public, bearer and AdminOnly.
Deploy and operate
Build, test, deploy, check health.
The system at a glance
Who talks to whom. Every arrow is HTTPS.
Find your way
Concepts
Battles, model selection, voting and ELO, threads and sharing, streaming.
Provider integration
AI Gateway routing, key rotation, cooldowns and the fallback model.
Admin API
Every
/api/admin/* route, the response envelope and its quirks.Data model
Tables, views and how they map to the API’s DTOs.
Cloudflare Containers
How
dualmind-api runs: Worker, Durable Object and container.Changelog
What changed since February 2026, from the Azure move onwards.
Live status
API health and a live leaderboard read, checked from your browser.
Use with AI
MCP server, llms.txt, skill.md and ready-made prompts.
These docs are for people who build and run DualMind. If you want to use the arena or call the API as a player, read the public docs at docs.dualmindlab.tech.