Amazon Web Services has unveiled a new service that turns artificial intelligence loose on the hardest bugs in software, and its first results suggest the approach catches problems that even the most advanced models overlook. AWS Project C2, short for Project Code Confidence, pairs large language models with automated reasoning to hunt for defects that surface only under rare timing and concurrency conditions. Announced on November 30 at the company's re:Invent conference in Las Vegas, the service has already found more than 800 bugs across 22 popular open source projects, according to AWS.
The launch lands at a moment when AWS is pitching the agent era as a matter of trust as much as capability. Coding agents now write large volumes of production software, and the question of who checks that code has grown sharper. AWS Project C2 answers with a second layer of machine reasoning, one designed to verify what agents and humans build rather than to write more of it.
How AWS Project C2 finds bugs models miss
AWS Project C2 works from a simple premise: a language model can guess what code does, but only formal reasoning can prove it. The service reads a codebase and its supporting documentation to build an understanding of what the system is supposed to do. It then attempts to prove that the implementation behaves as intended, using mathematical tools including the Lean theorem prover to check millions or billions of possible execution sequences automatically.
When the system finds a mismatch between the implementation and the intended behavior, one of two things is true. Either its understanding of the intent is mistaken, in which case it loops around and refines that understanding, or it has found a real bug. Once a bug is identified, AWS Project C2 builds a test that reproduces the defect in the real implementation, showing that the problem exists and is not based on a misunderstanding. It then assesses the severity and proposes a tested fix.
The approach targets a specific class of defects: race conditions, thread-safety problems, and time-of-check-to-time-of-use vulnerabilities, often shortened to TOCTOU. These are bugs that appear only when events interleave in an unusual order, which makes them hard to reproduce and easy for both human reviewers and AI code assistants to miss. AWS says a single round of deliberation in the Paxos consensus protocol between three machines can already play out in more than 90,000 ways, a scale of possibility that manual review cannot cover.
800 bugs in 22 open source projects
Before opening AWS Project C2 to customers, the company tested the technology on widely used open source software. The results, according to AWS, included more than 800 bugs found across 22 popular projects, with fixes shared with the maintainers of those projects. The findings spanned distributed systems and single-system code, with a concentration in multithreaded and concurrent code.
Several examples show why the bugs matter. In a popular open source in-memory database, AWS Project C2 found a background process that clears an error flag as soon as a second attempt to write to disk succeeds, even though the data from the failed first attempt is then not guaranteed to be on disk. After a restart, that data may be lost. In a Rust library for performance profiling, the service found nine bugs related to thread safety, including one that could cause a reporting thread to fail and lead to later data being lost. In a Raft-based distributed key-value store, it flagged a case where an old leader could continue revoking leases after losing its role, even after a new leader had reassigned them.
AWS has also applied the technique to some of its own most business-critical services, including Amazon Aurora, Amazon DynamoDB, and Amazon Elastic Block Store, as part of efforts to improve the resilience of its systems. The company says it draws on more than ten years of experience applying automated reasoning at scale, now packaged with retries, guardrails, and parallelization so the process runs efficiently as a service any company can use.
A skill inside the developer's own tools
Using AWS Project C2 is meant to take little effort. Developers give the service a link to their code and one or two sentences about the kind of bugs they are looking for, and the system handles the rest. It runs as a skill inside the developer's coding tool, so the code stays where it is rather than being moved to a separate review environment.
Julia White, chief marketing officer of AWS, told Reuters the service is designed to find bugs or errors in companies' existing code through a simple prompt, adding that it can find even the deepest bugs in code and is finding things that language models are not finding. For now, access is restricted: AWS is opening AWS Project C2 to a limited group of customers, with plans to expand as more companies are onboarded. Customers interested in getting access can sign up through AWS.
The company says it plans to bring more automated reasoning techniques to programming in the coming months, extending from bug detection to regression tests. The current focus is concurrency bugs in popular programming languages, with more bug types planned for future releases.
Why verification is becoming the agent story
The launch fits a wider shift at re:Invent, where AWS has framed the year as the move from building agents to running and trusting them at scale. Agent-written code, agent-run operations, and agent-mediated purchases all raise the same question: how do organizations verify work that machines produce faster than humans can review it?
Other announcements at the conference point in the same direction. Wiz unveiled AI security agents that guard coding agents at the show, and Datadog launched autonomous operations tooling that investigates and fixes outages on its own. AWS Project C2 adds a different kind of check to that stack, one aimed at the correctness of the code itself rather than at the infrastructure around it. As agents take on more of the work of writing software, the tools that prove that software behaves as intended may matter as much as the tools that write it.
For teams already shipping agent-generated code, the practical question is narrower: whether a verification pass like the one AWS Project C2 offers becomes a standard step before that code reaches production. AWS is betting that it will, and that the combination of language models and mathematical proof is the way to get there. The service is available now to a limited set of customers, with broader access expected over time.
Sources: About Amazon, Reuters, Crypto Briefing. Related coverage: AWS IAM Credential Broker Gives Agents One Key to Every Cloud, Wiz AI Security Agents Guard Coding Agents at re:Invent.
Comments 0
No comments yet. Be the first to share your thoughts!
Leave a comment
Share your thoughts. Your email will not be published.