Logo van Doom Agent Arena

Doom Agent Arena

Organisatie
Rootly-AI-Labs

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

UitgeverRootly-AI-Labs
Repositoryrootly-doom-agent-arena
TaalC
Forks
4
Sterren
13
Beschikbare tools
0
Transporttypestdio
Categorieën
Links
  • Koppel tools aan AI-workflows

    Doom Agent Arena biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    13 sterren en 4 forks in de gekoppelde repository.

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.

Installatie

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

Gebruik Doom Agent Arena MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Doom Agent Arena is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Doom Agent Arena toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Doom Agent Arena.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "rootly-doom-agent-arena": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Doom Agent Arena in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Doom Agent Arena in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Doom Agent Arena gebruiken om me hiermee te helpen?
Doom Agent Arena
Zeker. Ik heb het gelezen.
Dit vond ik met Doom Agent Arena.

Veelgestelde vragen

Waarvoor wordt de MCP-server Doom Agent Arena gebruikt?

Doom Agent Arena is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Doom Agent Arena MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Doom Agent Arena gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Doom Agent Arena MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Doom Agent Arena verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Doom Agent Arena MCP met TypingMind?

Doom Agent Arena werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Doom Agent Arena MCP in TypingMind?

Doom Agent Arena biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Doom Agent Arena MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Doom Agent Arena authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇