Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
Gemini Research By James Whitfield

AI agents wrote 6.5 million lines of math proof that Signal's encryption code does what it promises

Google DeepMind introduced AlphaProof Code, a system where human experts write the security goals as formal specifications and teams of AI agents, powered by Gemini Carbon, write the proofs. Applied to libsignal, the code behind Signal's encryption, the agents produced about 6.5 million lines of Lean proof, checked automatically, showing forward secrecy, authentication and post-compromise security for one-to-one chats right down to the compiled AArch64 machine code. When the team put two old, already-fixed bugs back in, the system proved those versions insecure.

Why it matters

Formal verification has been too slow and costly for most real software. This suggests AI agents can make 'mathematically proven secure' practical for important code, with humans reviewing only about 1% of the work.

Who it's for

Security engineers, people who build cryptography or critical software, and anyone curious about AI that checks code rather than writes it.

How to try it

  1. Read DeepMind's post, then the technical write-up at google-deepmind.github.io/code-verification for exactly what was proven.
  2. If you maintain security-critical code, note the pattern: humans write and review the spec, agents grind out proofs, a checker accepts only valid ones.
  3. Don't read it as 'Signal can't be hacked'; check the scope list before quoting it.

Plan & availability: Applies to: research results. The Lean specs and proofs are published on GitHub. Scope limits: one-to-one sessions in libsignal v0.105.4; key generation, group chats, side channels and the Signal apps themselves aren't covered, and the crypto primitives are assumed correct.

Share on X

Source: Google DeepMind on deepmind.google

Written by James Whitfield from the original post. Checked Nov 10, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

deepmindformal-verificationsecuritysignalagents

More Gemini tricks

All Gemini tricks →