AI agents · OpenClaw · self-hosting · automation

Quick Answer

What Is AWS Project C2 (Code Confidence)? Explained (2026)

Published:

The short answer

Project C2 (Project Code Confidence) is an AWS bug-finding service that pairs AI agents with automated reasoning to catch rare concurrency bugs that models and code reviewers miss. AWS announced it at re:Invent on November 30, 2026. As of December 6, 2026:

  • What it does: agents infer what your code should do; automated reasoning checks it across millions of possible event orderings; each bug comes with a reproducing test, a severity rating and a tested fix.
  • Scope today: concurrency bugs in popular programming languages — single-machine multithreaded code and distributed systems.
  • Access: limited customers via a sign-up page; no public pricing.
  • Track record (AWS’s figures): 800+ bugs in 22 open source projects.

How it works

AWS’s announcement describes a loop. Project C2 reads the code and its documentation to build a model of intended behaviour, then tries to prove the implementation matches. When proof fails, either the intent model is wrong (it refines and loops) or it has found a real bug. It then builds a test that triggers the bug in the real code, rates severity, and develops, tests and even proves a fix.

The reason is scale. AWS notes that one Paxos agreement round among three machines can happen in over 90,000 orders, before counting lost or duplicated packets. No test suite or model can try them all; a proof, written with tools like the Lean theorem prover, covers every ordering at once. AWS says these bugs cluster in error-handling paths — code that runs rarely but matters most.

Example bugs

  • In-memory database: after a failed disk sync, a background retry could clear the error flag. On Linux a successful retry only guarantees data written after the failure, so a reboot could lose earlier writes.
  • Raft key-value store: a leader checked its status once per batch of expired leases; if it lost leadership mid-batch it kept revoking leases the new leader had reassigned — a distributed time-of-check to time-of-use bug.
  • Rust profiling library: nine thread-safety bugs, including one that could panic the reporting thread and lose data.

AWS also runs it on Amazon Aurora, DynamoDB and EBS.

How it compares

Project C2AI code review (e.g. CodeRabbit, Copilot review)Static analysis / scanners
MethodAgents + automated reasoning (proofs)Model judgment on diffsKnown patterns and rules
StrengthRare concurrency and distributed bugsReadability, logic, style, common bugsKnown vulnerability classes
EvidenceReproducing test per bugCommentsRule match
AvailabilityLimited preview, no priceGenerally availableGenerally available

C2 does not replace code review; it targets a class of bug review is bad at. For everyday review tools, see the best AI code review tools.

Should you sign up?

Yes if you run concurrent or distributed systems — databases, queues, schedulers, payment flows — where a one-in-a-million race happens daily at scale. Less so for CRUD web apps, where conventional tests and AI review catch most issues. Expect a preview: no pricing, one bug class, and AWS onboarding customers gradually.

Last verified: December 6, 2026.

Sources