AWS Project C2 Wants AI to Prove Your Code Correct, Not Just Write It
At AWS re:Invent 2026, in the developer keynote on the evening of November 30, AWS announced something that reads like the other half of the agentic coding story: Project Code Confidence, or Project C2.
What happened
Project C2 pairs large language models and agentic AI with automated reasoning — mathematical verification tools such as the Lean theorem prover. It reads the code and its documentation to work out what the system is supposed to do, then tries to prove the code behaves that way in every possible scenario. When a proof fails, it generates a real-world test to confirm the bug is real, rates its severity, and suggests a fix.
AWS calls the underlying approach "neurosymbolic AI", built on more than 10 years of automated reasoning work inside AWS. It starts with concurrency bugs, with more bug types and reasoning techniques promised later.
The numbers AWS is claiming
- Tested on 22 popular open-source projects, it found 800+ bugs. (AWS's own figures; the projects are not named.)
- Nine thread-safety bugs in a widely used Rust profiling library, including one that could panic a reporting thread and lose data.
- Data-loss risks in a well-known open-source in-memory database.
- A lease-revocation bug in a Raft-based distributed key-value store used in payment systems — one that could charge customers twice for a single transaction.
- AWS will also apply C2 to its own services, including Amazon Aurora, DynamoDB, and Elastic Block Store.
Status: gated preview / early access for a limited number of customers. No pricing or general-availability date has been announced.
Why this is worth paying attention to
The bottleneck is moving from writing to verifying. AI agents now write code faster than anyone can review it. The failure mode that matters most is not "the agent wrote obviously bad code" — it is the one-in-a-million bug. AWS's own framing: at its scale, a one-in-a-million error now happens thousands of times a second. A single round of Paxos agreement between three machines can play out in over 90,000 orderings — far too many to test one by one. Testing samples scenarios; a proof covers all orderings at once.
It changes what "review" means. A traditional AI code review reads the diff and guesses. C2 reads the documentation to infer intent, then checks the code against that intent with a machine-checked proof. That is a different category of claim: "verified for every ordering" versus "looks fine".
The honest caveats matter too. It is gated, most readers cannot use it yet, and it is aimed at distributed-systems reliability, not everyday app code. The 800-bug figure is AWS's own count. Still, the direction matters more than the product: verification is becoming a first-class part of the agent loop, not an afterthought.
What to watch next: does proof-based checking become a standard CI step? How much does a proof cost in time and money? And what is the false-positive rate when the model infers intent from documentation that is itself wrong or out of date?
The bigger picture
The same keynote also introduced shared Kiro Crews — agents that learn from each other's corrections as reusable "skills" — and a revamped Amplify aimed at letting agents ship apps faster. Read together, the message is clear: AWS thinks the next phase of agentic coding is not more generation, it is trust — code you can prove, agents that learn, and infrastructure that gets out of the way.
Open question for readers: if a tool could prove your concurrency code correct, would you trust it enough to skip manual review of that code? And what happens to the review process when "it passes the tests" stops being the strongest claim you can make?
Sources
- AWS Project C2 page: https://aws.amazon.com/ai/agentic-ai/c2/
- AWS announcement by Marc Brooker and Soonho Kong, November 30, 2026
- SiliconANGLE coverage: https://siliconangle.com/2026/11/30/at-reinvent-aws-accelerates-agentic-coding-with-mathematical-bug-hunting-tools-and-self-learning-agents/