Benchmarking coding agents on the work developers bring to Kiro
Real development work goes in. Unseen, verified tasks come out.
The benchmark at a glance
Scroll sideways to see the whole picture →
Illustration: tasks from internal sessions, internal code changes, and public code flow into a loop of build, verify, check, and select, and the tasks that pass join KiroBench, which measures agents.
Developers use Kiro for everything from a quick question to work that spans many files and many rounds of conversation: adding a feature, tracking down a bug in an unfamiliar codebase, or getting a project to build. We needed a way to measure agents across all of these use cases, so that we could build an agent that meets developers’ needs in real workflows.
For this purpose, we built an internal benchmark that we call “KiroBench.” It contains over 300 tasks covering feature development, bug fixing, refactoring, code understanding, test writing, environment setup, and work at the command line, and a growing share of them come from engineering work at Amazon, which no model was trained on. Each task is a runnable environment with a verifier that decides whether the agent’s work is correct: either outcome-based, such as unit tests, or judge-based, such as a language model that grades the agent’s answer against a rubric.
Changes to the Kiro agent’s tools, memory, context management, or model routing, or to how the main agent coordinates subagents, can lead to behavior changes that are hard to predict. As we develop the agent, we measure these changes on KiroBench, which catches regressions and shows which changes improve the agent.
Public benchmarks such as DeepSWE and Terminal-Bench are valuable, but on their own they are not sufficient, for two reasons.
Public benchmarks don’t cover the breadth of real-world use cases. Each covers a narrow slice of software work: DeepSWE, for example, focuses on long-horizon feature work in open source repositories, and its authors note that bug localization and refactoring are under-represented. Kiro users ask for much more, from quick questions about unfamiliar code to features, fixes, builds, refactors, tests, and reviews over many turns. A model that tops a public leaderboard can still be a suboptimal choice for this mix once cost is weighed against performance.
Contamination risk. Once a benchmark is published, its tasks and solutions spread into training data and leaderboards get tuned for, so scores rise faster than capability. Even a new benchmark built on a public repository inherits part of this, because the model may already know the codebase. KiroBench is private, and its tasks from internal work at Amazon avoid both problems. The trade-off is coverage: internal work doesn’t include every kind of development, such as hobby projects or uncommon frameworks and languages.
Every benchmark task has the same four parts: an instruction, an environment to work in, a way to verify the result, and a user. In most benchmarks the user is a single prompt. In KiroBench it can be a simulated user who clarifies and changes requirements over many turns. A task built from real work is rarely right on the first try, so every candidate goes through a loop (Figure 1). Each one is built, verified, and quality-checked. Failures go to human review to be fixed or removed, and tasks that agents already solve every time are hardened and sent back.
Every candidate goes through the same loop. Only tasks that are correct, well specified, and still hard get in.
How a task gets into KiroBench
Select any step to see what happens there.
Scroll sideways to see the whole loop →
Flow chart: tasks from three sources are built, verified, and quality-checked. Failures go to human review to be fixed or removed; fixed tasks are verified again. Tasks that pass are kept if they are still hard and separate agents; saturated tasks are hardened and sent back.
Most software engineers at Amazon use Kiro for a broad range of work, so its usage reflects much of everyday software development. Based on internal Kiro usage at Amazon, we categorize the tasks developers bring to Kiro into broad scenarios, such as feature implementation or code review, and domains, such as backend, frontend, or infrastructure (Figure 2). We compare that mix with what KiroBench covers. At this stage, we focus mainly on coding tasks and are expanding our coverage to non-coding work. Where usage is high and coverage is thin, we add tasks next.
Kiro use is heaviest at both ends: building new capabilities from nothing, and taking the toil out of iterating on and maintaining what is already in production.
How developers use Kiro · scenario × domain
Scroll sideways to see the whole grid →
A heatmap of the share of human Kiro sessions for the ten most common scenarios (rows) and nine most common domains (columns), with each scenario’s and domain’s total share and where KiroBench has tasks. Usage is among the most common for feature implementation in frontend, bug fixing in DevOps and infrastructure, code review in dev process and tooling, code analysis in backend, setup and configuration in DevOps and infrastructure, data analysis in data and ML, and evaluation and benchmarking in dev process and tooling. Across all scenarios, dev process and tooling and DevOps and infrastructure hold the larger shares, backend and data and ML medium shares, and the other five domains smaller shares. Across all domains, feature implementation, bug fixing, code review and data analysis hold the larger shares. KiroBench has tasks in most coding cells of the five engineering domains, from dev process and tooling to frontend, and few or none in business and operations, content and docs, commerce and marketing, project and product management, or the four non-coding scenarios (data analysis, professional writing and content, evaluation and benchmarking, and other). Four cells have high usage but few tasks, which is where tasks are added next: code review in dev process and tooling and in backend, professional writing in content and docs, and evaluation and benchmarking in dev process and tooling. The grid that follows lists every cell and total; move between them with the arrow keys for their details.
How to read it. Each cell is one scenario in one domain. Brighter cells hold more sessions. Dots mark where KiroBench has tasks, larger for more. Outlined cells have high usage but few tasks, which is where we add tasks next. The bars show each scenario’s and domain’s total share of sessions. Hover over a cell or a bar, or move to it with the arrow keys, for details.
Most public repositories are libraries that are fully decoupled from the infrastructure and services that will eventually use them. Amazon software looks different: large, long-lived services that run on internal libraries and infrastructure, where a change must meet the team’s code review standards and keep the running service working. Building tasks from that work gives KiroBench two properties public benchmarks cannot offer: the tasks are unseen by every model we evaluate, because the code has never been public, and they carry the complications of real work, such as underspecified requests, errors debugged from logs, and requirements that change mid-session.
KiroBench tasks come from three sources:
-
Internal Kiro sessions that Amazon developers volunteered. These are the closest to how developers use Kiro. They also take the most work to turn into tasks, because the complications that make them valuable also make them hard to grade.
-
Merged code changes from internal Amazon repositories. These add coverage across programming languages, from Rust and Python to TypeScript, Java, and Kotlin. The agent starts from the code as it was before the change, the instruction describes the goal without giving the solution away, and the tests that shipped with the change decide success.
-
Tasks built from public code repositories. For scenarios and domains the first two sources don’t cover, a dedicated team of scientists builds tasks from public code, for example:
- long-horizon bug fixing in large projects
- building an application from scratch from a written specification (greenfield project)
- interactive tasks made from public pull requests, in which a simulated user works with the agent the way a developer would
These tasks carry some of the contamination risk described above, which is one reason the share from internal work keeps growing.
Turning an internal Kiro session into a task takes four steps (Figure 3):
- Rebuild. We rebuild the environment from the workspace as it was at the start and end of the session.
- Write the instruction. An agent writes the task’s instruction from the requests in the session and the starting code. It never sees the final code, so the instruction can’t give the answer away.
- Build the checks. Once the instruction is final, other agents write tests from the final code. Each test must fail on the starting code and pass on the final code, so it checks the change that was actually made.
- Simulate the user. A simulated user works with the agent being tested over several turns. One part of the simulator knows the goal and decides each turn whether to continue, adapt the next request to what the agent has done, or end the session. Another part, which never sees the solution, writes each message, so it can’t hint at the answer.
The instruction writer never sees the answer. The final code is used only to build the checks.
From an internal session to a benchmark task
Rebuild. We rebuild the environment from the workspace as it was at the start and end of the session.
Workspace at the start
Starting code, dependencies, and configuration
Workspace at the end
The final code
Rebuilt environment
Runs the starting code. The final code is kept for building the checks.
Input
Requests in the session
Input
Starting code
Instruction-writing agent
Writes the goal, not the solution
Instruction
“Make failed uploads retry, and report how many attempts each upload took.”
Kept hidden
The final code
Never shown to the instruction writer
Revealed once the instruction is final
The final code
Test-writing agents
Write tests for the change that was made
Run on the starting code
- Tests fail
Run on the final code
- Tests pass
Fails before, passes after: the tests check the change itself, not something the code already did.
Agent being tested, on the starting code
Simulated user
Uploads fail on flaky networks. Can you add retries?
Agent
Done: retries with backoff.
Simulated user · adapted
Thanks. Please also log the attempt count.
Agent
Added the attempt count to the upload log.
Decides each turn · knows the goal
- Continue
- Adapt
- End
Writes each message
Never sees the solution
Verifiers
- Task passed
Four stages turn an internal Kiro session into a benchmark task. 1, Rebuild: the workspace at the start of the session (starting code, dependencies, and configuration) and the workspace at the end (the final code) become a rebuilt environment that runs the starting code; the final code is kept for building the checks. 2, Write the instruction: two inputs, the requests in the session and the starting code, go to an instruction-writing agent, which writes the goal, not the solution. Its output is the instruction “Make failed uploads retry, and report how many attempts each upload took.” Past a dashed divider, the final code is kept hidden and never shown to the instruction writer. 3, Build the checks: the final code, revealed once the instruction is final, goes to test-writing agents, which write tests for the change that was made. Run on the starting code, the tests fail; run on the final code, they pass. Failing before and passing after means the tests check the change itself, not something the code already did. 4, Simulate the user: the agent being tested works on the starting code in a chat. The simulated user writes “Uploads fail on flaky networks. Can you add retries?” The agent replies “Done: retries with backoff.” The simulated user adapts: “Thanks. Please also log the attempt count.” The agent replies “Added the attempt count to the upload log.” Beside the chat, the part of the simulator that knows the goal decides each turn whether to continue, adapt, or end; here it ends the session. The part that writes each message never sees the solution. The verifiers report that the task passed.
A broken task usually looks fine: its environment builds and its checks run, but the score it produces is wrong. Because the task looks hard, a filter that keeps hard tasks would keep it. So every task goes through three kinds of checks before we decide whether to keep it:
- Baseline checks confirm that submitting no change fails and that the reference solution passes every time. We run the task’s checks on the unchanged starting code and, repeatedly, on the reference solution.
- Integrity checks confirm that the instruction, tests, and reference solution agree. An automated quality checker built on language models reads all three side by side and flags mismatches, such as a test that demands a detail the instruction never asks for.
- Reward-hack detection reviews agent trajectories, the step-by-step records of what an agent did, for edits that hack the tests or use of leaked answers. The same checker reads each trajectory’s commands and final code and flags passes that did not come from solving the task.
Figure 4 shows three problems these checks catch.
Three ways a task can break. Each still returns a score that looks plausible.
What the quality checker looks for
Select a problem to see an example, the check that catches it, and the fix.
Task
Make parse() handle empty input.
Checks
- All tests pass
Verdict
The reward was earned without solving the task.
Caught by
Reward-hack detection, which reviews real agent attempts.
Fix
Restore every graded test from the original commit before grading.
Solution A
- Passes
Solution B
- Correct, but rejected
Caught by
Integrity checks: the test demands wording the instruction never asks for.
Fix
Test the behavior, not the exact wording of one solution.
Instruction
“Report the average latency for each endpoint.”
Most attempts
- Fail on a requirement never stated
Passing depends on guessing, not on skill.
Caught by
Integrity checks: the tests require something the instruction leaves out.
Fix
State the requirement in the instruction, or drop it from the tests.
Three simplified examples of a broken task. Reward hacking: the task is to make parse() handle empty input, and the agent changes the test assertion that parse of an empty string returns an empty list to assert True. All tests pass, but the reward was earned without solving the task. Reward-hack detection, which reviews real agent attempts, catches it; the fix is to restore every graded test from the original commit before grading. Verifier overfits one solution: two correct solutions raise ValueError with different messages, “bad input: x” and “invalid input x”, and the hidden test demands the exact message “bad input: x”. Solution A passes; solution B is correct but rejected. Integrity checks catch it, because the test demands wording the instruction never asks for; the fix is to test the behavior, not the exact wording of one solution. Underspecified instruction: the instruction says “Report the average latency for each endpoint,” and the hidden test expects latencies log-scaled before averaging. Most attempts fail on a requirement never stated, so passing depends on guessing, not on skill. Integrity checks catch it, because the tests require something the instruction leaves out; the fix is to state the requirement in the instruction, or drop it from the tests.
People review every task the checker flags, and we then fix the task or remove it. We found the same kinds of issues in public benchmarks, including DeepSWE and Terminal-Bench 4, consistent with recent audits by Epoch AI (DeepSWE, Terminal-Bench 4), Tokenless, and Preference Model.
A task that passes every check still has to be useful for measurement. We keep it only if it meets three criteria (Figure 5):
- Coverage. It fills a scenario where usage is high and coverage is thin (Figure 2).
- Difficulty. It stays challenging even for the strongest agents, measured by how often they solve it. When frontier agents start solving a task every time, a dedicated hardening pipeline builds a harder task around it. The new task keeps the original work and its tests but wraps them in a larger, more realistic job: the same bug might arrive as an undiagnosed production alert instead of a bug report, or the original change might become one piece of a larger feature. Details the old instruction spelled out move into the code, logs, or data, where a careful engineer can still find them. A separate judge rejects any plan that isn’t work a real team would have, and the new task goes back through the loop. If it can’t be made harder, we retire it.
- Separation. If all frontier models cluster around a similar score, the benchmark has failed. A useful task is solved more often by stronger models than by weaker ones. Separation can show up on any metric we track: two models that pass equally often at very different cost are separated on efficiency.
Keep tasks that separate models and stay hard. Saturated tasks go back to be made harder.
Selecting tasks · each point is a candidate
- Kept 19
- Back to hardening 11
- Not kept 16
Scroll sideways to see the whole chart →
Interactive scatter of candidate tasks: the weaker model’s pass rate on the horizontal axis and the stronger model’s on the vertical. Tasks above the ceiling go back for hardening; tasks above the diagonal by at least the margin and below the ceiling are kept.
Passing tests is not the same as writing code a team would accept, so we measure more than correctness. Code-generation tasks are checked with tests: unit tests for specific behavior and end-to-end tests that build and run the whole program. Tasks such as code understanding are graded against per-task rubrics by a language-model judge, sometimes an ensemble of models, calibrated on human-annotated data. This post reports pass rate and efficiency. Instruction following and code quality are two more axes we are building.
| Metric | Question it answers | How we measure it |
|---|---|---|
| Pass rate | Did the agent’s work pass the task’s checks? | The share of attempts that pass verification. |
| Efficiency | What did it cost the agent to get there? | Tokens (and so dollar cost), wall-clock time, and turns per attempt. |
| Instruction following (in progress) | Did the agent do what it was asked, within the constraints it was given? | A language-model judge checks the change against the instructions in the conversation. |
| Code quality (in progress) | Would an experienced engineer accept the change as written? | A language-model judge grades the change against the reference solution. |
More effort buys a higher pass rate, for every model in every harness. The best configuration still fails more than a quarter of its attempts.
KiroBench v1.3.3 results · November 2026
Hover over a point, or over a legend entry to pick out its lines.
Scroll sideways to see the whole chart →
Line chart of KiroBench pass rate against tokens per trial, on a log scale. Color marks the model and line style the harness: solid for Kiro, dotted for the other harness. Each line covers medium, high, and max effort, and every line rises with effort. The highest pass rate is 73.6 percent. Each point can be focused for its values. A table after the chart lists the values for both the Anthropic and the OpenAI models.
| Model | Harness | Effort | Pass rate | Tokens per trial |
|---|---|---|---|---|
| Claude Opus 5.5 | Kiro | medium | 60.3% | 2.19M |
| Claude Opus 5.5 | Kiro | high | 64.5% | 3.61M |
| Claude Opus 5.5 | Kiro | max | 73.6% | 16.6M |
| Claude Opus 5.5 | Claude Code | medium | 58.5% | 2.63M |
| Claude Opus 5.5 | Claude Code | high | 62.6% | 4.45M |
| Claude Opus 5.5 | Claude Code | max | 70.1% | 25.3M |
| Claude Sonnet 5.5 | Kiro | medium | 44.1% | 816k |
| Claude Sonnet 5.5 | Kiro | high | 53.0% | 1.89M |
| Claude Sonnet 5.5 | Kiro | max | 70.1% | 18.7M |
| Claude Sonnet 5.5 | Claude Code | medium | 42.6% | 1.13M |
| Claude Sonnet 5.5 | Claude Code | high | 50.7% | 3.29M |
| Claude Sonnet 5.5 | Claude Code | max | 68.9% | 68.5M |
| Claude Haiku 5.5 | Kiro | medium | 38.3% | 2.65M |
| Claude Haiku 5.5 | Kiro | high | 42.7% | 4.38M |
| Claude Haiku 5.5 | Kiro | max | 52.1% | 17.9M |
| Claude Haiku 5.5 | Claude Code | medium | 40.0% | 3.16M |
| Claude Haiku 5.5 | Claude Code | high | 44.9% | 5.1M |
| Claude Haiku 5.5 | Claude Code | max | 51.3% | 19.8M |
| GPT-6.1 Sol | Kiro | medium | 52.5% | 1.12M |
| GPT-6.1 Sol | Kiro | high | 53.7% | 1.75M |
| GPT-6.1 Sol | Kiro | max | 56.5% | 3.55M |
| GPT-6.1 Sol | Codex | medium | 56.4% | 1.66M |
| GPT-6.1 Sol | Codex | high | 57.9% | 1.94M |
| GPT-6.1 Sol | Codex | max | 58.3% | 2.93M |
| GPT-5.6 Sol | Kiro | medium | 48.1% | 1.53M |
| GPT-5.6 Sol | Kiro | high | 52.7% | 2.83M |
| GPT-5.6 Sol | Kiro | max | 58.5% | 10.6M |
| GPT-5.6 Sol | Codex | medium | 48.5% | 2.23M |
| GPT-5.6 Sol | Codex | high | 52.8% | 3.15M |
| GPT-5.6 Sol | Codex | max | 58.5% | 6.07M |
| GPT-5.6 Terra | Kiro | medium | 38.4% | 857k |
| GPT-5.6 Terra | Kiro | high | 45.3% | 1.81M |
| GPT-5.6 Terra | Kiro | max | 55.9% | 12.6M |
| GPT-5.6 Terra | Codex | medium | 40.1% | 1.09M |
| GPT-5.6 Terra | Codex | high | 44.7% | 1.75M |
| GPT-5.6 Terra | Codex | max | 58.5% | 8.99M |
| GPT-6 Luna | Kiro | medium | 29.1% | 2M |
| GPT-6 Luna | Kiro | high | 31.8% | 3.73M |
| GPT-6 Luna | Kiro | max | 35.0% | 8.47M |
| GPT-6 Luna | Codex | medium | 29.8% | 3.47M |
| GPT-6 Luna | Codex | high | 32.2% | 4.08M |
| GPT-6 Luna | Codex | max | 37.4% | 6.4M |
Every line in Figure 6 is a single model in a single harness across effort levels. Based on our evaluations using KiroBench, every line rises: for every model in every harness, more effort costs more tokens and buys a higher pass rate, by 2 to 26 percentage points from medium to max effort. For example, GPT-5.6 Terra gains about 18 points in both Kiro and Codex. That steady climb is what we’d expect from well-defined tasks.
The results also show, across the whole benchmark, the properties we select each task for. Stronger models separate from weaker ones: at medium and high effort, Claude Opus 5.5 scores up to 16 percentage points higher than Claude Sonnet 5.5 in both harnesses. Separation shows on efficiency too. Sonnet 5.5 reaches the scores Opus 5.5 gets at high effort only at max effort, far to the right on the token axis.
Lastly, the benchmark is not saturated. The highest pass rate is 73.6%, so even the best configuration we ran fails more than a quarter of its attempts. In each family, both harnesses rank the models in the same order at medium and high effort, so the ranking reflects the models, not the quirks of one harness. While there are clear differences between harnesses, each model follows a consistent trend within a given harness, which shows the benchmark is stable across harnesses.
Keeping up with harder work. Agents are taking on bigger pieces of work, with developers guiding them at a higher level: describing a feature, reviewing a plan or spec, and letting the agent carry it out. KiroBench has to keep up. We are working on:
- More Amazon developer sessions and internal codebases.
- Harder versions of existing tasks, made in controlled steps, and fixes for the loopholes our checks find.
- Kinds of work we do not cover yet, such as code migration, data analysis, DevOps, and multi-day workflows.
- Scoring each turn of an interactive task, not only where it ends.
A task-to-capability map. KiroBench is organized by scenario, such as feature work or bug fixing, but as the work gets more complex, a scenario says less about what a task demands of an agent. Ideally, we would know which capabilities each task requires (Figure 7), such as navigating a large codebase, planning a multi-file change, or asking the user a clarifying question. With such a map, a change aimed at one capability could be measured on the tasks that exercise it, and new tasks could target capabilities the benchmark covers thinly. There is no agreed list of the capabilities a coding agent needs, and building one takes careful analysis of agent trajectories.
Each task draws on several capabilities. A map shows which tasks exercise each one.
Tasks and the capabilities they need
Select a task or a capability.
Scroll sideways to see the whole map →
Add retries to an upload client needs navigating a large codebase, planning a multi-file change, and using a library’s conventions. Fix a failing build needs debugging a failing build and using a library’s conventions. Explain how a service handles auth needs navigating a large codebase and using a library’s conventions. Refine a feature over several turns needs navigating a large codebase, planning a multi-file change, and asking the user clarifying questions.
Add retries to an upload client draws on 3 of the 5 capabilities: navigating a large codebase, planning a multi-file change, and using a library’s conventions.
KiroBench measures coding agents on the most common kinds of work developers bring to Kiro: features, bug fixes, and getting projects to build, from single requests to sessions that run over many turns. A growing share of its tasks come from engineering work at Amazon that no model was trained on. We check every task before adding it, make tasks harder as agents improve, and use the benchmark to catch regressions and find the changes that improve pass rate or efficiency.
The best way to see what it measures is to try that kind of work yourself. Pick a task you’d normally put off, like a bug in a codebase you don’t know well or a feature that touches several files, and work through it with Kiro. We’d love to hear how it went, especially where the agent got stuck, in the Kiro community.
For more on how we evaluate Kiro, read Lessons learned from one million evaluations and Continuous Prompt Evaluation.
We thank Christian Bock, Xiangci Li, Siwei Cui, Abhijeet Awasthi, Thanh Nguyen, Giandomenico Cornacchia, Lingbo Mo, Furqan Khan, Al Harris, Richard Threlkeld, Rein Houthooft, Pardis Pashakhanloo, Jiajun Cao, Tianhao Song, Anoop Valluva Veedu, Alexander Zhipa, Peter Frisch, Vijay Rajakumar, Erben Mo, Chandan Mishra, Sahika Genc, Sanjay Krishna Gouda, Himani Shah, Karthik Ram Srinivas, Jay Agrawal, Bharath Lakshman, Monidipa Chakraborty, Shoumik Saha, Anoop Deoras, Sandeep Krishnamurthy, Murali Krishna Ramanathan, and Kathy Kam for their contributions and valuable feedback in building KiroBench.