AWS announced Project C2, short for Project Code Confidence, on November 30, 2026 at re:Invent. The service combines AI agents with automated reasoning, a field that applies formal logic to prove how software behaves, to locate rare bugs in concurrent and distributed code.
AWS says the technique found more than 800 bugs across 22 widely used open source projects. Access is starting as a gated preview for a limited group of customers, and AWS plans to widen it as more companies are onboarded.
What Project C2 Does
Project C2 first reads the code and its documentation to work out what the system is meant to do. It then tries to prove that the implementation matches that intent. When the proof fails, the cause is either a misreading of the intent, which it corrects and retries, or a genuine defect.
For each confirmed bug, the tool writes a test that triggers the problem in the real code, so developers can reproduce it themselves. It also rates the severity and proposes a fix, which it tests and can even prove correct.
The current focus is concurrency bugs in popular programming languages. The product page says more bug categories and further reasoning techniques will follow.
Why AWS Says Ordinary AI Review Misses These Bugs
The announcement was written by AWS distinguished engineer Marc Brooker and principal applied scientist Soonho Kong. Their argument is that concurrent systems can interleave events in so many orders that neither a person nor a language model can consider them all.
As an illustration, they note that one round of the Paxos agreement protocol among three machines can run in more than 90,000 distinct orders, before lost or repeated messages are counted. Project C2 uses tools such as the Lean theorem prover to write proofs that cover every ordering instead of testing them one at a time.
AWS contrasts this with static analyzers, which match known patterns, and with AI code review agents, which rely on a model's judgment. Both can miss edge cases that only appear under unusual timing.
Bugs Found in Open Source Projects
AWS shared several examples without naming the projects. According to the authors, nearly every one of the several hundred codebases they scanned showed comparable problems.
- Rust profiling library: nine thread-safety bugs, one of which could crash the reporting thread and lose later data.
- In-memory database: after a failed disk sync, a background retry could clear the error flag and let the node accept writes again, even though earlier data might never have reached disk. A reboot could then lose that data.
- Raft-based key-value store: a leader that lost its role partway through revoking expired leases kept going, and could revoke leases a new leader had already reassigned. This is a distributed time-of-check to time-of-use flaw.
AWS says it sent maintainers detailed reproductions, often with automated tests, and patches that fix the issues. It is also applying the method internally to Amazon Aurora, Amazon DynamoDB and Amazon EBS.
What It Means for Developers
Concurrency bugs often hide in error-handling paths, which AWS says is where it found many of them. These paths run rarely in testing but decide whether data survives a failure, so they deserve more attention than they usually get.
The database examples are a useful warning for anyone who builds storage or replication logic. Retrying a failed fsync, or acting on leadership status checked earlier, can look safe in code review yet break durability guarantees in production.
Even without preview access, teams can act on the lessons now. Review how your code treats a failed disk flush, re-check leadership or lock ownership right before acting on it, and add tests that simulate slow, duplicated or reordered messages.
If your team runs distributed services in a language that Project C2 supports, it may be worth requesting an invitation. Because every finding arrives with a reproducing test, it should be easier to separate real defects from false alarms than with many scanning tools.
How to Get Access
Project C2 is in gated preview. Interested teams can request an invitation from the Project C2 page on the AWS website, and AWS says it will add more customers over time.
AWS has not published pricing or a general availability date. It says more automated reasoning features, from bug finding to regression testing, will arrive over the coming months.
Conclusion
Project C2 brings AWS's long-running work on automated reasoning to customer code, aiming at the timing-dependent bugs that slip past both humans and AI reviewers. The 800-plus bugs in open source projects make a strong case, and the preview is the first chance for outside teams to try it on their own systems.
Sources
- Project C2: new AWS technique spots the rare bugs the most advanced models miss, About Amazon
- Project C2 product page, AWS
See my articles more often when you search Google.
