Home
BlogTalksPapersProjectsAbout
Nikita Kozodoi

Blog

30Posts
Nikita Kozodoi

SWE-InfraBench + Kiro: What Happens When a Coding Agent Tackles IaC?

  1. Home
  2. Blog
  3. SWE-InfraBench + Kiro: What Happens When a Coding Agent Tackles IaC?
Natalia Tarasova, Enrique Balp-Straffon, Aleksei Iancheruk, Yevhenii Sielskyi, Nikita Kozodoi, Liam H. Byrne, Jack Butler, Dayuan Jiang, Marcin Czelej, Andrew Ang, Yash Shah, Roi Blanco, Sergei IvanovAugust 20264 min read

Does letting the coding agent re-run the tests improve its performance?

GenAIAgentsEvaluationLLMs

When we published SWE-InfraBench, the main finding was how badly LLMs handle infrastructure-as-code. Its 100 tasks come from real AWS CDK repositories and are graded by the repository's own unit tests, and Claude 3.7 Sonnet solved 34% in one attempt, or 65% with the test errors and a second try. The paper argued that iteration was the missing piece, so we tested that directly with the Kiro agent and Claude Sonnet 5.

A two-turn run matching the original protocol reached 69%, and an unrestricted agent that could re-run the tests in a sandbox for up to 600 seconds reached 82%. The error breakdown explains why: logical errors, where the code is partly right, fell from 17% to 3%, while syntax errors barely changed. The loop doesn't make the model better at CDK, it lets a nearly correct answer converge.

This is a short summary.Read the full article on the Builder Center, 4 min read.Read the full article
Nikita Kozodoi

Co-written by Nikita Kozodoi

Senior Applied Scientist at AWS Forward Deployed Engineering. I publish applied AI research and embed with engineering teams to build custom AI systems, from experimentation to production.

See projectsGet in touch

Related content

Talk

SWE-InfraBench: Evaluating Language Models on Cloud Infrastructure Code

2026
Paper

SWE-InfraBench: Evaluating Language Models on Cloud Infrastructure Code

2025
Blog

AUMOVIO Improves Quality of Automotive Software at Scale Using Multi-Agent AI on Amazon Bedrock

2026

Pages

  • Blog
  • Talks
  • Papers
  • Projects
  • About

Social

  • LinkedIn
  • GitHub
  • Google Scholar
  • X
  • Instagram

Contact

  • n.kozodoi@icloud.com
  • Buy me a coffee
  • Download CV
  • RSS feed
  • Impressum
  • Privacy

© 2026 Nikita Kozodoi. All opinions are my own.