← Research

Paper review · October 14, 2026

AgentSWE: Can Coding Agents Build the Agents Users Want?

AgentSWE: Can Coding Agents Build the Agent You Actually Want?

AgentsData & evaluationLanguage models Intermediate Upvotes 201 cs.SE

The authors built a 25-task benchmark that asks coding agents to create, edit and optimize agents. Evaluation on hidden cases revealed a large gap between performance shown during development and the results actually delivered.

Problem

Users are increasingly handing coding agents such as Claude Code or Codex the job of building agents for their own work. However, there was no benchmark to verify whether the resulting agents actually meet the requirements. SWE-bench-style benchmarks evaluate general code with reference patches, and agent benchmarks only evaluate agents that are already finished.

Method

The agent development lifecycle is divided into three stages: Creation (building a new agent from natural-language requirements, 10 tasks), Editing (adding features to real agent codebases such as OpenHands and Aider, 10 tasks) and Optimization (improving existing agents on BrowseComp, OSWorld and others, 5 tasks). Coding agents receive feedback only from a few public development cases. After the deliverable is frozen, it is run and evaluated on hidden cases designed to cover the full requirements. Scoring uses rubrics and hard gates derived from the requirements, and Optimization is measured by how much of the gap to the original benchmark's target metric was closed.

Results

Limitations

There are only 25 tasks. Each Creation and Editing task has 6 hidden cases. Task drafts were written by GPT-5.6 Sol and refined by the authors. Scoring relies on rubrics applied by LLM judges (GPT-5.6 Sol, DeepSeek-V4.1-Flash). The main experiments pair the Codex harness with five models.

Why it matters

This has implications for organizations using coding agents to build internal automation agents: passing a demo or development tests is not enough to trust the result, and separate acceptance tests covering the full requirements are needed.

Key terms

Agent Software Engineering
The task in which a coding agent takes requirements and builds, fixes and optimizes another agent.
Held-out cases
Test cases that are not shown during development and are used only for final evaluation. They reveal whether overfitting has occurred.
Harness
Execution code that wraps a model and coordinates planning, tool calls, retries and similar steps.

Original

Authors: Jiahao Wang, Hongjin Qian, Yuyang Hu, Jiajun Zhang, Zheng Liu · Posted 2026-10-09 · License CC BY 4.0 · Based on the full text

This review is an AI-written summary of the paper. Please treat the original paper as the reference.