Logo de Doom Agent Arena

Doom Agent Arena

Organisation
Rootly-AI-Labs

Benchmark model duels in Doom. An MCP-native arena for real-time model-vs-model evaluations.

ÉditeurRootly-AI-Labs
Dépôtrootly-doom-agent-arena
LangueC
Forks
4
Étoiles
13
Outils disponibles
0
Type de transportstdio
Catégories
Liens
  • Connectez des outils à vos workflows IA

    Doom Agent Arena propose des fonctionnalités MCP utilisables par les clients et agents IA compatibles.

  • 0 outils disponibles

    Parcourez les actions invocables ci-dessous, avec leurs noms et descriptions lorsque le serveur les fournit.

  • Configuration prête à copier

    Utilisez les exemples de configuration pour configurer ce serveur dans votre client MCP préféré.

  • Indicateurs de popularité open source

    13 étoiles et 4 forks sur le dépôt associé.

Doom Agent Arena

Benchmark model duels in Doom.

An MCP-native arena for real-time model-vs-model evaluations.

Leaderboard

RankModelWin rateWins-LossesDecision speedAccuracyDamage diffWin rate / cost
1gpt-5.566.7% 🏆38-186.9s51% 🎯+22.5 💥0.26×
2gpt-5.452.5%25-228.1s45%+13.90.43×
3gpt-5.3-codex-spark41.7%17-276.6s ⚡38%−15.9n/a
4gpt-5.4-mini39.2%19-3211.8s40%−20.51.00× 💰

Badges mark the category leader: 🏆 win rate · ⚡ fastest decisions · 🎯 accuracy · 💥 damage differential · 💰 cost efficiency.

Each model was evaluated across 60 total rounds. Every pair played 20 mirrored rounds: 10 with Model A as player_1 and 10 with Model B as player_1. Win rate uses draw-adjusted score, where a draw counts as half a win.

  • Decision speed = average time to commit a plan (lower is faster).
  • Accuracy = shots hit ÷ shots fired.
  • Damage diff = average damage dealt minus damage taken per round.
  • Win rate / cost = win rate ÷ output-token price (USD per 1M output tokens, May 2026 OpenAI: gpt-5.5 $30, gpt-5.4 $14, gpt-5.4-mini $4.50, gpt-5.3-codex-spark n/a), normalized so the best model = 1.00×.

Head-to-head matchup detail is in fig02_head_to_head_heatmap.png.

Output-token price versus draw-adjusted Doom benchmark win score

Models tested: gpt-5.5, gpt-5.4, gpt-5.3-codex-spark, and gpt-5.4-mini.

Key finding

Resource control was the clearest winning signal. GPT-5.5, the top model with a 66.7% draw-adjusted score, recorded 30 confirmed health pickups, more than twice the next-highest model, while its plans repeatedly used health routes to escape and recover. It also won 80.0% of rounds (4 of 5) in which it secured the shotgun.

Checkout the blog for details on how Doom Agent Arena was built and a deeper analysis of the findings: Putting AI Agents Head-to-Head in Real-Time Combat.

What this taught us about AI-assisted incident response

Three patterns from the duels map directly onto how AI agents handle real incidents. Full write-up: What Doom taught us about AI-assisted incident response.

  • Longer deliberation was a warning sign, not a sign of care. When gpt-5.3-codex-spark took longer than its median to decide, its win rate dropped 28 points. A slow turn usually meant the agent was in trouble, not reasoning more carefully.
  • Encoded runbooks beat live reasoning for deterministic work. In extended 30-round runs, gpt-5.5 stopped querying the model every step and instead wrote its own Python controller. Hardcoded workflows were faster, cheaper, and more auditable than step-by-step inference.
  • Speed compounds across long investigations. gpt-5.3-codex-spark submitted nearly twice as many plans (730 vs. 378) at ~44% lower latency (~6.6s). Speed alone didn't win rounds, but faster incremental steps add up across lengthy metric-pulling, log-querying, hypothesis-testing loops.

Takeaway: hybrid architectures work best — delegate mechanical diagnostic steps to fast, lightweight models and reserve heavier reasoning for the critical judgment calls.

Methodology

Each duel runs with two separate MCP agents, one for player_1 and one for player_2. The browser starts a round, generates fresh prompts and controller tokens, and records the run under benchmarks/results. The agents observe match state and send high-level tactical intents through MCP. Doom executes those intents in real time.

The key design choice is the control split. Models do not drive frame-level inputs directly, instead each model submits one high-level route plan at a time through MCP: an objective, a short reasoning field, an ordered route of map cells, and an optional public plan_note.

Example plan submission:

json
{
  "participant_id": "player_1",
  "objective": "kite shotgun user from long range",
  "route": ["Q26", "Q22"],
  "reasoning": "Opponent likely has shotgun; avoid close range.",
  "plan_note": "Back away through Q-lane, keep distance, and shoot only in line of sight."
}

The same route format can express kiting, baiting, health retreats, shotgun pushes, flanks, and resets. Doom executes the accepted route in real time and handles low-level movement, aiming, firing when line of sight is available, collision handling, and recovery.

This keeps the benchmark focused on spatial planning, adaptation, and public plan quality rather than testing whether a model can micromanage shooter controls or win through rapid tool-calling.

Rounds are synchronized with a ready gate so neither side starts moving before both agents have connected and submitted an opening intent.

Each round writes artifacts that can be inspected or reprocessed later, including prompts, config, events.jsonl, stats.json, and summary.json. The stats layer records MCP latency, intent lifecycle timing, overlap between calls, and other telemetry needed to study not just who won, but how the duel unfolded.

For a deeper breakdown of the control loop, see Control Architecture.

Quick Start

You need:

  • Docker Desktop or Docker Engine
  • Python 3
  • Two MCP-capable chat agents connected to this repo
  1. Start the arena from the repo root:

For macOS/Linux:

bash
cd /path/to/doom-wasm
./scripts/start-docker.sh

For Windows:

powershell
cd C:\path\to\doom-wasm
.\scripts\start-docker.ps1
  1. Add Doom Arena to your coding assistant's MCP config.

Shortcut for Claude Code (one-liner — run from the repo root):

bash
claude mcp add doom-arena -- python "$(pwd)/scripts/doom_arena_mcp.py"

$(pwd) expands to the repo path at the time you run the command, so the stored config is an absolute path. After running this, restart your Claude Code session so the tools load.

Manual config locations (use if the shortcut doesn't apply or you prefer to edit files):

  • Codex: ~/.codex/config.toml
  • Claude Code: project .mcp.json or user ~/.claude.json
  • Cursor: project .cursor/mcp.json or global ~/.cursor/mcp.json
  • OpenCode: project opencode.json or global ~/.config/opencode/opencode.json

Use the repo's .mcp.json shape where your assistant supports standard MCP project config files:

toml
[mcp_servers.doom-arena]
command = "python"
args = ["scripts/doom_arena_mcp.py"]
env = { DOOM_ARENA_BASE_URL = "http://127.0.0.1:8001" }

If your coding assistant uses a JSON-style MCP config, use the same server definition:

json
{
  "mcpServers": {
    "doom-arena": {
      "type": "stdio",
      "command": "python",
      "args": ["scripts/doom_arena_mcp.py"],
      "env": {
        "DOOM_ARENA_BASE_URL": "http://127.0.0.1:8001"
      }
    }
  }
}

Codex identity is detected from its local session metadata. Other harnesses should set both identity variables in each MCP server process so benchmark results record the exact harness and model:

toml
[mcp_servers.doom-arena]
command = "python"
args = ["scripts/doom_arena_mcp.py"]

[mcp_servers.doom-arena.env]
DOOM_ARENA_BASE_URL = "http://127.0.0.1:8001"
DOOM_ARENA_CODING_ASSISTANT = "Claude Code"
DOOM_ARENA_MODEL_IDENTITY = "claude-sonnet-5"

The JSON equivalents are DOOM_ARENA_CODING_ASSISTANT and DOOM_ARENA_MODEL_IDENTITY entries in the server's env object. Use the actual values for that chat session. If exact identity metadata is unavailable, the ready gate still opens and the spectator UI shows an explicit unavailable label instead of blocking the duel or guessing another session's model.

The committed .mcp.json in this repo uses python. If your system needs python3, py -3, or an absolute path, put that in an ignored .mcp.local.json

  1. Open two separate MCP chat agent sessions (e.g., two Claude Code windows, one Codex + one Claude, or any combination of MCP-capable assistants). Each session must show doom-arena as a connected MCP server — one drives player_1, the other drives player_2.

  2. In the browser, choose run settings and click Start Duel.

  3. Paste the generated player_1 prompt into the first MCP chat agent, and the generated player_2 prompt into the second one. It does not matter which model or window gets Player 1 versus Player 2.

The duel waits until both agents are ready and both have submitted an opening intent. Start Duel creates a new session and new player prompts. In a multi-round session, Next Round keeps the same Player 1 and Player 2 prompts/tokens. After Reset or a new Start Duel, use the newly displayed prompts.

Optional ElevenAgents shoutcaster

The spectator view can send curated match events and both models' active plans to an ElevenAgent, then play its live boxing-style comedic commentary. Set a restricted ELEVENLABS_API_KEY and ELEVENLABS_AGENT_ID before starting the arena; the API key remains server-side. See ElevenAgents live shoutcaster for the exact agent prompt, minimum API-key permission, and diagnostics.

Docs

  • MCP Duel Runbook: terminal-by-terminal setup, MCP checks, prompts, and run-id mismatch fixes.
  • Docker Runtime: runtime-only Docker setup, stdio MCP wiring, dev mounts, logs, and smoke checks.
  • Control Architecture: high-level MCP controls, Doom autopilot behavior, sequence numbers, and the ready gate.
  • Build: WSL/Emscripten rebuild commands and browser cache notes.
  • Smoke Tests: API, MCP, and browser-backed smoke commands.
  • ElevenAgents live shoutcaster: configure live comedic voice commentary.

About Rootly AI Labs

Rootly AI Labs is Rootly's open incubator for AI-driven reliability engineering, building open-source tools, benchmarks, prototypes, and research for incident response and operational excellence.

License

Distributed under the GNU GPL. See chocolate-doom/COPYING.md.

Installation

TypingMind
{
  "mcpServers": {
    "rootly-doom-agent-arena": {
      "command": "python",
      "args": [
        "scripts/doom_arena_mcp.py"
      ],
      "env": {
        "DOOM_ARENA_BASE_URL": "<DOOM_ARENA_BASE_URL>"
      }
    }
  }
}

Utilisez le serveur MCP Doom Agent Arena avec plusieurs modèles IA

TypingMind connecte les outils MCP au niveau de l’espace de travail. Une fois Doom Agent Arena connecté, vous pouvez donc l’utiliser avec différents modèles IA dans TypingMind sans avoir à le configurer séparément pour chaque modèle. Cette intégration MCP s’exécute localement sur votre appareil via le connecteur MCP de TypingMind.

Guide de configuration du connecteur local

Choisissez cette méthode si le serveur MCP doit accéder à des fichiers locaux, à des applications ou à des ressources privées sur votre ordinateur.

1

Ouvrir les paramètres MCP

Dans TypingMind, accédez à « Paramètres », puis à « Paramètres avancés » et à « Model Context Protocol », et choisissez « Configurer connecteur ».

  1. Ouvrez TypingMind dans votre navigateur.
  2. Cliquez sur l’icône Paramètres.
  3. Accédez aux paramètres avancés.
  4. Ouvrez la section Model Context Protocol.
  5. Cliquez sur « Configurer connecteur » et choisissez « Cet appareil ».
Écran de configuration du connecteur MCP de TypingMind avec l’option « Cet appareil » sélectionnée
2

Exécuter la commande du connecteur

Choisissez « Cet appareil », copiez la commande depuis TypingMind et exécutez-la dans Terminal. Laissez le processus en cours d’exécution pendant que vous utilisez MCP.

  1. Copiez la commande de configuration affichée par TypingMind.
  2. Ouvrez Terminal sur macOS ou Windows Terminal sur Windows.
  3. Collez et exécutez la commande.
  4. Autorisez l’installation du paquet si Terminal vous demande de confirmer.
  5. Gardez la fenêtre de Terminal ouverte et le processus en cours d’exécution pendant que vous utilisez les outils MCP.
3

Ajoutez Doom Agent Arena en tant que serveur

Lorsque l’état du connecteur affiche « Prêt », cliquez sur « Éditer serveurs » et collez la configuration du serveur MCP.

  1. Attendez que l’état du connecteur affiche « Prêt ».
  2. Cliquez sur « Éditer serveurs ».
  3. Collez la configuration du serveur MCP Doom Agent Arena.
  4. Enregistrez la liste des serveurs.
  5. Actualisez pour vérifier que le connecteur est toujours prêt.
Paramètres MCP de TypingMind affichant un serveur actif et le bouton « Éditer serveurs »
{
  "mcpServers": {
    "rootly-doom-agent-arena": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Utiliser la connexion avec différents modèles

Enregistrez la liste des serveurs, ouvrez « Plugins », activez les outils MCP de Doom Agent Arena, puis sélectionnez un modèle IA compatible dans TypingMind et utilisez les outils dans une discussion ou attribuez-les à un agent IA.

  1. Ouvrez la page Plugins dans TypingMind.
  2. Activez les outils MCP de Doom Agent Arena.
  3. Démarrez une discussion et choisissez le modèle IA que vous souhaitez utiliser.
  4. Utilisez les outils MCP dans le chat ou attribuez-les à un agent IA.
  5. Passez à un autre modèle IA selon vos besoins sans rétablir la connexion MCP.
Discussion TypingMind utilisant des outils MCP activés avec un modèle d’IA sélectionné
Pouvez-vous utiliser Doom Agent Arena pour m’aider dans cette tâche ?
Doom Agent Arena
Bien sûr. J’ai tout lu.
Voici ce que j’ai trouvé avec Doom Agent Arena.

Foire aux questions

À quoi sert le serveur MCP Doom Agent Arena ?

Doom Agent Arena est un serveur MCP qui permet aux applications IA compatibles d’accéder à des outils et à des informations contextuelles externes. Dans TypingMind, il vous suffit d’ajouter ce serveur MCP une seule fois pour rendre ses outils disponibles dans votre espace de travail IA.

Puis-je utiliser le serveur MCP Doom Agent Arena avec plusieurs modèles IA dans TypingMind ?

Oui. TypingMind connecte les outils MCP au niveau de l’espace de travail. Vous pouvez donc utiliser Doom Agent Arena avec différents modèles IA comme Claude, ChatGPT, Gemini ou d’autres modèles configurés dans TypingMind, sans avoir à configurer le serveur MCP séparément pour chaque modèle.

Pourquoi utiliser le connecteur MCP Doom Agent Arena avec TypingMind ?

TypingMind est l’une des meilleures interfaces de chat avec les LLM, car elle réunit plusieurs modèles IA, prompts, plugins, agents IA, clés API et outils MCP dans un seul espace de travail. Une fois Doom Agent Arena connecté, vous pouvez utiliser ses outils MCP avec vos modèles préférés tout en gardant vos discussions bien organisées dans TypingMind.

Comment connecter le serveur MCP Doom Agent Arena à TypingMind ?

Doom Agent Arena fonctionne via le connecteur MCP local de TypingMind. C’est l’option idéale lorsque le serveur MCP doit accéder à des fichiers locaux, des applications de bureau, des outils en ligne de commande ou des ressources privées sur votre ordinateur.

Quels outils le serveur MCP Doom Agent Arena propose-t-il dans TypingMind ?

Doom Agent Arena propose des fonctionnalités MCP que vous pouvez activer depuis la page Plugins de TypingMind et utiliser dans les discussions ou attribuer à des agents IA.

Dois-je partager mes clés API avec TypingMind pour utiliser le serveur MCP Doom Agent Arena ?

Non. TypingMind privilégie le fonctionnement local et vous permet de garder le contrôle de vos fournisseurs de modèles, clés API, prompts et paramètres MCP. Si Doom Agent Arena nécessite une authentification, ajoutez les en-têtes, les paramètres OAuth ou la configuration locale requis pour ce serveur MCP lors de la création de la connexion.

Serveurs MCP similaires

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇