Amazon Targets Rare Bugs in Agent Code
At its re:Invent 2026 developer keynote, AWS introduced a verification tool built on the Lean theorem prover, a shared-skill agent workspace, and a faster app-deployment service.
In testing, Amazon Web Services’ new Project Code Confidence system, known as Project C2, examined 22 widely used open-source projects and turned up flaws in them, including nine in a popular Rust profiling library. The results came out of AWS’s developer keynote at re:Invent 2026, where the company unveiled three products aimed at the growing pile of software written by AI agents.
Verifying instead of sampling
AWS starts from a simple point: coding agents rarely make mistakes, but at scale even rare ones pile up. A company shipping billions of lines of code a day could see a “one-in-a-million” flaw surface hundreds of times. Exhaustively testing a distributed, multithreaded system is out of reach given how many variables it holds. AWS likens the problem to a deck of cards that can be arranged 8¹⁰⁶⁷ ways.
Project C2 links large language models with formal verification tools, the Lean theorem prover among them. It reads code alongside its documentation to infer what the code is meant to do, then builds mathematical proofs that try to show whether the code holds up in every conceivable real-world scenario. When a proof fails, the system writes a real-world test to confirm the bug is genuine, assigns a severity rating and proposes a fix.
The run also surfaced several data-loss risks in a well-known open-source in-memory database. It identified a lease-revocation bug in a Raft-based distributed key-value store used in payment systems, a flaw that could have double-charged customers on each transaction.
Project C2 is available in early access, and developers can apply. AWS also intends to apply it to its own services, including Amazon Aurora, DynamoDB and Elastic Block Store, to shore them up.
Crews that learn together
Kiro Crews offers a shared workspace where coding agents operate as teams rather than separately under one developer. Teams can set up “shared crews.” When a team member corrects an agent or spells out a best practice, that lesson is passed to every agent in the crew as a reusable “skill.”
The goal is to get past one-off prompting. A crew could hold ongoing duties, such as checking each new pull request as it arrives, refreshing dependencies every night or looking into security alerts. Agents in a crew can be reached from the Kiro IDE, the command line, the web, mobile and Kiro Crews itself.
Shorter path to a running app
AWS notes that AI-generated code has left developers busier than ever, especially when they still have to build infrastructure, databases and sign-in systems by hand. The reworked Amplify packages managed hosting, databases and user sign-in into one AWS system and automates the setup. AWS says apps can go live in under a minute and grow to millions of users.
Amplify is designed for autonomous agents and provides a unified API along with dedicated tooling for Claude Code, Cursor and Kiro. Additional features include staging environments for trying out new apps, currently in private preview, guardrails configured through the Agent Toolkit for AWS, and one-click rollbacks.
Amplify is set to launch soon. It will come with a free tier for experimenting and flat-rate pricing for heavier use.
Source: SiliconANGLE
Morning to night, Reporting Team files on the machines and code changing daily life. We retell another publication's findings ourselves, always naming that publication and hyperlinking the original article.
Responses
One briefing. Every morning. Free.
Start the day with Circuit Courier: the essential AI & tech stories in one email.