Research Published here Reported by Google DeepMind on

AI agents wrote 6 million lines of Lean proving Signal's compiled crypto — humans reviewed 1% of it

Google DeepMind introduced AlphaProof Code, an agentic framework for formal verification, and used it to produce machine-checked Lean proofs of security properties for Signal's core cryptographic code. DeepMind describes it as the first time AI has been used to formally verify a widely deployed cryptographic protocol at this depth, and the first time any method has verified a deployed protocol's implementation. The split of labor is explicit: humans decide what to prove and write the formal specifications, AI agents conduct the proofs. The system generated over 6 million lines of Lean in four weeks — against a historical timeline measured in years — with nine primary researchers credited plus roughly fifteen supporting staff and advisors. Agents audited their own proofs and flagged the parts needing human eyes, which came to about 1% of the codebase. The verified properties include message protection before and after device compromise. As a control, the framework was run against two real bugs and correctly identified them as insecure. The verification artifacts were open-sourced. Scope is bounded to Signal's core cryptographic code rather than the full system.

Why it matters

The reason this matters outside cryptography is the loop it closes: a proof assistant is a verifier that cannot be persuaded, so agent output either checks or it does not, and the human cost collapses to writing specifications and reviewing the 1% the agents themselves flagged. That is the same generator-plus-oracle shape as Antigravity's /teamwork, arrived at independently, which is a strong hint about where agentic systems actually produce trustworthy artifacts. The known-bugs control is the detail that separates this from a demo — a verifier that never says "insecure" proves nothing, and they tested for that.

What to do

Take the division of labor as the template: humans own the specification, agents own the search for a proof, and the kernel owns the verdict. If you work anywhere near formal methods, the artifacts are open and the interesting question is how much of your own specification burden survives — because specs, not proofs, are now the bottleneck. More broadly, before you trust any agent-generated verification in your pipeline, run it against bugs you planted yourself; an oracle that cannot fail is not an oracle. And keep the scope honest when you cite this: core crypto code, not an entire application.

Tags: Research Security Verification Agents

More from November 16, 2026

All AI news