Amazon Web Services (AWS) has used Project Code Confidence (Project C2), a service that combines large language models with automated reasoning to write mathematical proofs about code, to find more than 800 bugs across 22 popular open source projects, the company said on December 11,2. AWS shared fixes for the discovered flaws with the open source maintainers and is opening Project C2 to a limited number of select customers, with plans to expand access over time. The technique pairs artificial intelligence with the logical precision of mathematics to identify rare bugs that advanced frontier models miss, and is designed to catch one-in-a-million software bugs.
Project C2 begins by reading a software project's code and documentation to determine what the system is intended to do. The tool combines agentic AI with automated reasoning, a computer science discipline that uses mathematical logic to prove, disprove, or analyze system behaviors. AWS Distinguished Engineer Marc Brooker and Principal Applied Scientist Soonho Kong, who worked on the earliest versions of the Lean theorem prover at Microsoft Research, noted in the announcement as reported by The New Stack that a single round of agreement between three machines running the Paxos consensus protocol can play out in more than 90,000 different orders. The number of possible orderings grows exponentially when dropped packets and retries are added, exceeding what a human developer or standalone model can reason through. Brooker and Kong wrote that the proofs generated by Project C2 generalize across all possible orderings without testing each one individually.
The bugs uncovered across the 22 open source projects ranged from thread-safety issues to complex race conditions that could cause minor data loss or take an entire system offline if left unaddressed. AWS is also applying Project C2 internally to business-critical services including Amazon Aurora, Amazon DynamoDB, and Amazon Elastic Block Store (Amazon EBS) to improve system resiliency.
AWS announced Project C2 during an evening developer keynote at its annual AWS re:Invent 2026 conference, SiliconANGLE reported3. The company presented the bug-hunting initiative alongside AWS Kiro Crews, a collaborative workspace designed for coding bots to learn from each other's mistakes and successes, and an updated version of AWS Amplify aimed at helping developers ship applications faster.