Logotipo de Doom Agent Arena

Doom Agent Arena

Organización
Rootly-AI-Labs

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

EditorRootly-AI-Labs
Repositoriorootly-doom-agent-arena
IdiomaC
Forks
4
Estrellas
13
Herramientas disponibles
0
Tipo de transportestdio
Categorías
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Doom Agent Arena ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    13 estrellas y 4 forks en el repositorio enlazado.

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.

Instalación

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

Usa el MCP de Doom Agent Arena con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Doom Agent Arena, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Doom Agent Arena como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Doom Agent Arena.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "rootly-doom-agent-arena": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Doom Agent Arena y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Doom Agent Arena.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Doom Agent Arena para ayudarme con esta tarea?
Doom Agent Arena
Claro. Lo he leído.
Esto he encontrado usando Doom Agent Arena.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Doom Agent Arena?

Doom Agent Arena es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Doom Agent Arena con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Doom Agent Arena con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Doom Agent Arena con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Doom Agent Arena conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Doom Agent Arena a TypingMind?

Doom Agent Arena funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Doom Agent Arena en TypingMind?

Doom Agent Arena ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Doom Agent Arena?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Doom Agent Arena requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇