The Hallway Track
Engineering Insights

Your Spec Has Bugs. Catch Them Before Your Agent Codes. - Rajath Mahendrappa Kotyal, AWS

AI Engineer · Nov 11, 2026 · Engineering Insights

AWS Kiro uses formal methods to catch spec bugs before AI coding agents write code

“20-40% drop in LLM generation accuracy for fuzzy queries”

AWS researcher Rajat Kotiyal presented the Kiro specification analyzer, which applies formal methods and SMT solvers to validate agent specifications before code generation begins. The tool catches conflicts and ambiguities in natural language specs that individually make sense but are logically incompatible, addressing research showing 20-40% drops in LLM accuracy for fuzzy queries and 60-90% of generated code being functionally incorrect. This signals a maturing discipline around pre-coding spec validation as a critical layer in agentic software development workflows.

agentic-coding formal-methods spec-validation aws automated-reasoning kiro

Watch / read the original source →