Skip to main content

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

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.

Why we built our own benchmark

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.

How we built KiroBench

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.

Select a step. Tokens show candidate tasks moving through the loop. Most pass, some are fixed or removed, and saturated ones are hardened and sent back.
Figure 1. How a candidate task becomes part of KiroBench.

1. Start from how developers use Kiro

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 →

Dev process & tooling
DevOps & infra
Backend
Data & ML
Frontend
Business & ops
Content & docs
Commerce & marketing
Project & product mgmt
All domains
All scenarios
Feature implementation
Bug fixing & debugging
Code review & best practices
Code analysis & understanding
Setup & configuration
Documentation writing
Data analysis *
Professional writing & content *
Evaluation & benchmarking *
Other *

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.

Figure 2. Share of human Kiro sessions for the ten most common scenarios (rows) and nine most common domains (columns). Brighter cells hold more sessions, dots mark cells with KiroBench tasks, and outlined cells have high usage but few tasks. Bars show each scenario’s and domain’s total across all domains and scenarios. Rows marked * are non-coding work.

2. Build tasks from real development

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):

  1. Rebuild. We rebuild the environment from the workspace as it was at the start and end of the session.
  2. 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.
  3. 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.
  4. 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

Stages

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

  1. Simulated user

    Uploads fail on flaky networks. Can you add retries?

  2. Agent

    Done: retries with backoff.

  3. Simulated user · adapted

    Thanks. Please also log the attempt count.

  4. 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.

Figure 3. How an internal Kiro session becomes a benchmark task.

3. Quality assurance

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

Problem type

Select a problem to see an example, the check that catches it, and the fix.

Task

Make parse() handle empty input.

# the agent's change to tests/test_parse.py- assert parse("") == []+ assert True

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.

# two correct solutionsA: raise ValueError("bad input: x")B: raise ValueError("invalid input x")
# hidden testassert str(err) == "bad input: x"

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.”

# hidden testexpects latencies log-scaled before averaging

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.

Figure 4. Simplified examples of each problem, the check that catches it, and its fix.

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.

4. Select and harden

A task that passes every check still has to be useful for measurement. We keep it only if it meets three criteria (Figure 5):

  1. Coverage. It fills a scenario where usage is high and coverage is thin (Figure 2).
  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.
  3. 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.

Figure 5. How difficulty and separation work together. Move the sliders to see which candidates are kept.

What we measure

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.

MetricQuestion it answersHow we measure it
Pass rateDid the agent’s work pass the task’s checks?The share of attempts that pass verification.
EfficiencyWhat 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.

What running KiroBench shows

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

Model family

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.

KiroBench v1.3.3 pass rate and tokens per trial for each model, harness, and effort level
ModelHarnessEffortPass rateTokens per trial
Claude Opus 5.5Kiromedium60.3%2.19M
Claude Opus 5.5Kirohigh64.5%3.61M
Claude Opus 5.5Kiromax73.6%16.6M
Claude Opus 5.5Claude Codemedium58.5%2.63M
Claude Opus 5.5Claude Codehigh62.6%4.45M
Claude Opus 5.5Claude Codemax70.1%25.3M
Claude Sonnet 5.5Kiromedium44.1%816k
Claude Sonnet 5.5Kirohigh53.0%1.89M
Claude Sonnet 5.5Kiromax70.1%18.7M
Claude Sonnet 5.5Claude Codemedium42.6%1.13M
Claude Sonnet 5.5Claude Codehigh50.7%3.29M
Claude Sonnet 5.5Claude Codemax68.9%68.5M
Claude Haiku 5.5Kiromedium38.3%2.65M
Claude Haiku 5.5Kirohigh42.7%4.38M
Claude Haiku 5.5Kiromax52.1%17.9M
Claude Haiku 5.5Claude Codemedium40.0%3.16M
Claude Haiku 5.5Claude Codehigh44.9%5.1M
Claude Haiku 5.5Claude Codemax51.3%19.8M
GPT-6.1 SolKiromedium52.5%1.12M
GPT-6.1 SolKirohigh53.7%1.75M
GPT-6.1 SolKiromax56.5%3.55M
GPT-6.1 SolCodexmedium56.4%1.66M
GPT-6.1 SolCodexhigh57.9%1.94M
GPT-6.1 SolCodexmax58.3%2.93M
GPT-5.6 SolKiromedium48.1%1.53M
GPT-5.6 SolKirohigh52.7%2.83M
GPT-5.6 SolKiromax58.5%10.6M
GPT-5.6 SolCodexmedium48.5%2.23M
GPT-5.6 SolCodexhigh52.8%3.15M
GPT-5.6 SolCodexmax58.5%6.07M
GPT-5.6 TerraKiromedium38.4%857k
GPT-5.6 TerraKirohigh45.3%1.81M
GPT-5.6 TerraKiromax55.9%12.6M
GPT-5.6 TerraCodexmedium40.1%1.09M
GPT-5.6 TerraCodexhigh44.7%1.75M
GPT-5.6 TerraCodexmax58.5%8.99M
GPT-6 LunaKiromedium29.1%2M
GPT-6 LunaKirohigh31.8%3.73M
GPT-6 LunaKiromax35.0%8.47M
GPT-6 LunaCodexmedium29.8%3.47M
GPT-6 LunaCodexhigh32.2%4.08M
GPT-6 LunaCodexmax37.4%6.4M
Figure 6. KiroBench pass rate against tokens per trial, on a log scale. A trial is one attempt at one task, and its tokens are the plain sum of input, output, cache-read, and cache-write tokens. Each configuration made four attempts at each task in November 2026. Color marks the model. Solid lines are Kiro, and dotted lines are Claude Code for Anthropic models or Codex for OpenAI models. Points mark medium, high, and max effort.

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.

What’s next

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.

Figure 7. A task-to-capability map with example tasks. Select a task to see what it needs, or a capability to see which tasks exercise it.

Conclusion

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.

Acknowledgments

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.