{"slug": "what-kind-of-engineer-is-your-coding-agent", "title": "What kind of engineer is your coding agent?", "summary": "In Beaker experiments comparing three coding agents as a \"reflection agent\" that reviews failing training traces and proposes harness changes, Codex, Claude Code and Antigravity all improved the target agent's scores on held-out tasks on both AutomationBench (120 training tasks, 104 held-out test tasks) and JobBench (22 training tasks, 11 held-out test tasks per run). Codex made targeted edits and on JobBench confined its changes to the system prompt, Claude Code changed five files and added a built-in web search tool, and Antigravity enabled native web search with a two-file patch. The setups were labeled The Surgeon (Codex + GPT 6.1 Sol), The Architect (Claude Code + Fable 5.2) and The Explorer (Antigravity + Gemini 4 Neon), with candidates promoted only when their training-split improvement cleared a noise gate.", "body_md": "Benchmarks like [SWE-bench](https://www.swebench.com/original) and [Terminal-Bench](https://www.tbench.ai/news/announcement) give coding agents specific tasks to solve. In our Beaker experiments, we test how well coding agents can improve the harnesses of other agents.\n\nWe tested **Codex**, **Claude Code**, and **Antigravity** in that role. In Beaker, we call it the *reflection agent*. It reviews traces from training tasks, looks for recurring failures, and proposes changes to the target agent harness. We then measure how much those changes improve performance on tasks held out during optimization.\n\n- Codex The Surgeon Finds patterns in traces and makes targeted edits.\n- Claude Code The Architect Changes the structure when it finds a better way to solve the task.\n- Antigravity The Explorer Investigates a wider set of failures before choosing what to change.\n\n### The experiment: two contrasting benchmarks\n\nFor each benchmark, all three reflection setups started from the same target agent. We compared how each setup investigated failures, which changes it made, how much time and money it spent per round, and how much the resulting agent improved on held-out tasks. We used the same training and held-out test splits, the same evaluator, and the same rule for when to stop optimization.\n\n- **[AutomationBench](https://github.com/zapier/AutomationBench):** A multi-turn enterprise workflow agent (`120` training tasks,`104` held-out test tasks) with editable code, system prompt, and domain playbooks.\n- **[JobBench](https://job-bench.github.io/):** A benchmark of professional tasks that ask an agent to analyze source materials and produce deliverables. We ran each reflection setup once, with`22` training tasks and`11` held-out test tasks per run.\n\nOn every round, the reflection agent inspects failing training traces and proposes a candidate diff; the optimization loop then evaluates it against the current leader on the training split—promoting only candidates whose improvement clears the noise gate. Held-out test tasks are never visible during optimization.\n\n### How scores evolved on AutomationBench\n\nThe curves below show how training scores evolved across multiple AutomationBench runs and how each selected agent performed on held-out tasks. All three setups improved on their starting scores on held-out tasks.\n\n### How scores evolved on JobBench\n\nAll three setups improved on their starting scores on held-out tasks. Each setup ran once, with a single held-out evaluation of the starting and selected versions on 11 tasks.\n\n## How they explore traces\n\nOn both benchmarks, the reflection agent starts by investigating failures. On AutomationBench, a trace can show where a workflow went wrong across several turns and tool calls. On JobBench, the reflection agent can trace a gap in a deliverable back to how the target agent read its sources, performed a calculation, or checked its work.\n\nThe first AutomationBench round gives us a close-up of how the three setups investigate.\n\n- **The Surgeon (Codex + GPT 6.1 Sol)** sampled failing traces and wrote a script,`proposals/sweep.py` , to look for patterns across cases before making a targeted edit.\n- **The Architect (Claude Code + Fable 5.2)** moved quickly between trace analysis and the codebase, using that first pass to identify a bottleneck and test a change.\n- **The Explorer (Antigravity + Gemini 4 Neon)** kept digging into traces and archived runs, following failures into specific parts of the codebase, including the Gmail and Slack tools.\n\n## The scope of their changes\n\nAcross both benchmarks, Codex made targeted edits and Claude Code changed how the target agent worked. Antigravity’s edits varied more in scope. The AutomationBench heatmap shows where those edits landed in the repository.\n\nOn JobBench, Codex kept its changes to the system prompt. Claude Code changed five files and added a built-in web search tool. Antigravity also enabled native web search, with a two-file patch despite the broad investigation.\n\n## How long reflection takes and what it costs\n\nOn both benchmarks, Claude Code had the shortest reflection rounds on average, and Codex had the lowest mean cost per round. Antigravity dug deeper into training cases. On JobBench, it cited all 22 training cases, as did Claude Code, and made more archive reads than either of the other setups. That broader investigation took more time per round. Antigravity’s recorded mean cost was higher than Claude Code’s on AutomationBench and lower on JobBench.\n\nClaude Code achieved the highest held-out score in both AutomationBench campaigns and in the JobBench comparison. The JobBench points each come from one run, with held-out scores measured on 11 tasks.\n\n## Conclusion\n\nAcross AutomationBench and JobBench, the choice of reflection setup shaped which failures got investigated and what changed in the target agent. On AutomationBench, 42–45 of the 104 held-out tasks were fully solved by all three optimized agents in each campaign, and each setup solved 4–8 tasks that both of the others missed.\n\nA follow-up experiment would run the reflection harnesses in sequence. Each harness would pick up where the previous one left off, letting us test whether it can fix failures the previous harness missed while preserving the gains already made.\n\nBeaker proactively maintains your production AI agents. It autonomously finds failures, validates fixes, and opens pull requests with the improvements that work. [**Try it for free now**](https://app.withbeaker.ai/auth/sign-up?utm_source=blog&utm_medium=post&utm_content=closing-cta) to run your own controlled optimization experiments, or [talk to us](https://cal.com/victorsanh/beaker-learn-more?utm_source=blog&utm_medium=post&utm_content=closing-talk).", "url": "https://wpnews.pro/news/what-kind-of-engineer-is-your-coding-agent", "canonical_source": "https://www.withbeaker.ai/blog/comparing-reflection-agents", "published_at": "2026-12-04 17:34:15+00:00", "updated_at": "2026-12-04 17:46:51.280297+00:00", "lang": "en", "topics": ["ai-agents", "ai-research", "large-language-models", "ai-tools"], "entities": ["Codex", "Claude Code", "Antigravity", "Beaker", "AutomationBench", "JobBench", "OpenAI", "Anthropic"], "also_reported_by": [], "takeaway": "Using a coding agent as a reflection agent to propose harness diffs from failing traces improved held-out scores in all three setups, with Codex limiting JobBench changes to the system prompt, Claude Code editing five files plus adding web search, and Antigravity shipping a two-file patch.", "recommendation": {"advice": "Point a coding agent at failing training traces to propose harness diffs, and promote a candidate only when its training-split gain clears a noise gate before checking held-out tasks.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/what-kind-of-engineer-is-your-coding-agent", "markdown": "https://wpnews.pro/news/what-kind-of-engineer-is-your-coding-agent.md", "text": "https://wpnews.pro/news/what-kind-of-engineer-is-your-coding-agent.txt", "jsonld": "https://wpnews.pro/news/what-kind-of-engineer-is-your-coding-agent.jsonld"}}