{"slug": "agent-duel", "title": "Agent Duel", "summary": "Bottomless released Agent Duel v0.4.0-beta.23, an Electron desktop app that runs head-to-head coding agent battles: one prompt is sent to two randomly drawn models with identical tools and system prompts, each working in its own copy of the user's repo, and the user votes on the better result before either model is named. The app is free to use with inference included through Agent Duel's closed-source cloud service and OpenRouter, while a bring-your-own-key build runs battles on the user's own OpenRouter key with votes kept local; execution stays on the machine via a local daemon and Arena runtime, with history stored in SQLite under $PASEO_HOME/arena/arena.sqlite. Local development requires macOS or Linux, Node.js 22, Bun 1.3.14 and an OpenRouter API key.", "body_md": "A desktop app for head-to-head coding agent battles, with single-agent mode and free inference. Pick the winning agent and continue from its work.\n\n  Free to use. Inference included.\n  \n\n<sub>v0.4.0-beta.23 · [Release notes](https://github.com/bottomless/agent-duel/releases/tag/v0.4.0-beta.23)</sub>\n\n**1. One prompt.** You describe a coding task once.\n\n**2. Two models, drawn at random.** Both get the same prompt, tools and system prompt, and each works in its own copy of your repo. Sides are random, so A and B carry no meaning.\n\n**3. Compare the results.** Read the Difference summary, open Files changed for the code, and try each version with Preview.\n\n**4. Vote.** Keep one result or call a tie, before either model is named.\n\n**5. Both models named.** You see which model wrote each result, and the one you kept is applied to your repo.\n\n## agent-duel-demo.mp4\n\nThe shipped product is the Electron desktop app. `packages/app` can run in a\nbrowser during development and automated QA, but there is no hosted browser\nproduct.\n\nSee [leaderboard](https://agentduel.com/leaderboard) for model performance\n\nExecution stays on your machine:\n\n``` php\nElectron UI -> local daemon -> local Arena runtime -> local repositories and agents\n                                       |\n                                       |-> Agent Duel cloud -> OpenRouter (official download)\n                                       `-> OpenRouter (your key in a BYOK build)\n```\n\nThe UI WebSocket terminates at the local daemon. The packaged desktop application contains the daemon, renderer, and compiled Arena runtime.\n\nThe official download uses Agent Duel's cloud service for sign-in, model assignments, and model calls. The cloud service is closed source and maintained outside this repository.\n\nArena history is canonical on the desktop: SQLite records live under\n`$PASEO_HOME/arena/arena.sqlite` and artifact bytes under\n`$PASEO_HOME/arena/artifacts/sha256/`.\n\nRead [docs/architecture.md](https://github.com/bottomless/agent-duel/blob/main/docs/architecture.md) for the complete system design\nand [docs/arena.md](https://github.com/bottomless/agent-duel/blob/main/docs/arena.md) for the battle.\n\nLocal development requires no sign-in. Battles run on your own OpenRouter key, and votes are not uploaded.\n\n- macOS or Linux\n- Node.js 22 with npm\n- Bun 1.3.14\n- An OpenRouter API key\n\nInstall both package graphs, then start the desktop stack in bring-your-own-key mode from the repository root:\n\n```\nnpm install\ncd arena-backend && bun install && cd ..\nnpm run dev:desktop -- --byok\n```\n\nThe launcher prepares an isolated checkout-local environment and starts the\nlocal daemon, the Electron-flavoured Expo server, and Electron. It reports\n`[dev] healthy:` when the stack is ready. Paste your OpenRouter key in Settings;\nbattles run on that key.\n\n- If a dependency is missing, run `npm install` at the root and`bun install` in`arena-backend` .\n- If a port is busy, leave the daemon, Expo, and debugger ports unset where supported so the launcher can choose free ports.\n- Inspect `.dev/paseo-home/daemon.log` for daemon failures.\n\nSee [docs/development.md](https://github.com/bottomless/agent-duel/blob/main/docs/development.md) for worktrees, multiple instances,\nPlaywright/Chrome testing, logs, and focused validation commands.\nTo package the desktop app with hosted sign-in or your own OpenRouter key, see\n[the desktop build instructions](https://github.com/bottomless/agent-duel/blob/main/docs/deployment.md#build-the-macos-desktop-application).\n\n- `arena-backend/packages/opencode` — local Arena engine compiled into desktop.\n- `arena-backend/packages/arena-service` — battle routes (model draw, model proxy,\ncomparison) shared with the hosted service.\n- `packages/desktop` — Electron shell, daemon supervision, and packaging.\n- `packages/app` — shared renderer; browser execution is a development/QA surface.\n- `packages/server` — local daemon, WebSocket API, and agent lifecycle.\n- `packages/protocol` and`packages/client` — local wire protocol and client SDK.\n- `packages/cli` — local daemon CLI bundled with desktop.\n- `packages/relay` — inherited optional remote-access transport.\n\n```\nnpm run dev:desktop -- --byok        # Complete local desktop stack on your OpenRouter key\nnpm run dev                          # Local daemon only\nnpm run dev:app                      # Browser-based development/QA renderer\nnpm run build:server                 # Build daemon and shared packages\nnpm run typecheck\nnpm run lint\nnpm run format\n```\n\nSee [CONTRIBUTING.md](https://github.com/bottomless/agent-duel/blob/main/CONTRIBUTING.md). Questions and help: [SUPPORT.md](https://github.com/bottomless/agent-duel/blob/main/SUPPORT.md).\nSecurity: [SECURITY.md](https://github.com/bottomless/agent-duel/blob/main/SECURITY.md). Everyone taking part follows the\n[Code of Conduct](https://github.com/bottomless/agent-duel/blob/main/CODE_OF_CONDUCT.md).\n\nAgent Duel is a fork of [Paseo](https://github.com/getpaseo/paseo), which provides the desktop app, local daemon, and agent integrations. Its bundled battle engine is built on a vendored fork of [OpenCode](https://github.com/anomalyco/opencode).\n\nAgent Duel adds blinded coding-agent battles, side-by-side comparison, and voting that carries the selected result into your chat and repository.\n\n- The combined application is AGPL-3.0-or-later. See [LICENSE](https://github.com/bottomless/agent-duel/blob/main/LICENSE) .\n- New original contributions are Apache-2.0. See [LICENSE-APACHE](https://github.com/bottomless/agent-duel/blob/main/LICENSE-APACHE) and the[contribution licensing policy](https://github.com/bottomless/agent-duel/blob/main/CONTRIBUTING.md#license) .\n- Inherited OpenCode material in `arena-backend/` retains its MIT license and\nnotices. See[arena-backend/LICENSE](https://github.com/bottomless/agent-duel/blob/main/arena-backend/LICENSE) .\n- Existing and third-party material retains its applicable licenses.\n\nWe plan to move the application to Apache-2.0 after rebasing onto Apache-licensed Paseo and clearing any remaining AGPL-only material.\n\n[NOTICE](https://github.com/bottomless/agent-duel/blob/main/NOTICE) has the full licensing and attribution details. The hosted Agent Duel service is not part\nof this repository.", "url": "https://wpnews.pro/news/agent-duel", "canonical_source": "https://github.com/bottomless/agent-duel", "published_at": "2026-11-19 23:50:35+00:00", "updated_at": "2026-11-20 00:15:39.490537+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Agent Duel", "Bottomless", "Electron", "OpenRouter", "Node.js 22", "Bun 1.3.14"], "also_reported_by": [], "takeaway": "Agent Duel v0.4.0-beta.23 runs two randomly assigned models on the same prompt, tools and system prompt in separate repo copies and hides model identities until after the user votes, so coding-agent comparisons are judged blind.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/agent-duel", "markdown": "https://wpnews.pro/news/agent-duel.md", "text": "https://wpnews.pro/news/agent-duel.txt", "jsonld": "https://wpnews.pro/news/agent-duel.jsonld"}}