News3 min read

DeepMind Says AI Agents Formally Verified the Code Behind the Signal Protocol in Four Weeks

Google DeepMind has unveiled AlphaProof Code, an agent framework it says proved key security properties of the real, compiled code behind the Signal protocol, with humans reviewing the specifications and about one percent of the output.

Google DeepMind has announced AlphaProof Code, a framework that uses teams of AI agents to formally verify software, and says its first big result is a mathematical proof that the actual code behind the Signal protocol delivers the security protections its experts specified. The Signal protocol is the encryption technology that protects conversations in apps such as Signal and Google Messages.

The announcement, published on 10 November 2026 by Pushmeet Kohli and Swarat Chaudhuri, describes the work as the first time AI has been used to formally verify a widely deployed cryptographic protocol at this depth. DeepMind goes further and says it is also the first time the implementation of a widely deployed protocol like this has been formally verified by any method, with or without AI. That is DeepMind's own claim, and outside experts will want to read the technical paper before treating it as settled.

What formal verification means

Most software is tested: you run it on lots of inputs and check that nothing breaks. Formal verification is stricter. It means writing down exactly what the code is supposed to guarantee, then producing a mathematical proof that it always does. DeepMind calls it the highest standard of security assurance, but it has historically been slow and labour-intensive, which is why it is usually reserved for small, critical pieces of code.

DeepMind also points out that most protocol verification stops at the design level. A protocol can be sound on paper and still be let down by the code that implements it, and real-world vulnerabilities often hide in that gap. According to the post, AlphaProof Code proved properties down to the compiled code running on devices, including keeping messages protected before and after a device is temporarily compromised.

How the agents split the work

DeepMind describes AlphaProof Code as a multi-model agent framework that divides the job the way a research team would. In the Signal project, researchers worked with a mix of models to turn Signal's security goals into formal mathematical specifications, and human experts reviewed every one of those specifications.

Agents powered by Gemini Carbon then wrote the proofs, generating more than six million lines of Lean, a language in which proofs are checked automatically by a computer. The agents also audited their own proof and flagged the parts that needed a human's second look, which DeepMind says came to about one percent of the codebase. Because Lean checks everything mechanically, the human reviewers could concentrate on the places where judgement mattered most.

The whole verification took four weeks. DeepMind contrasts that with a task it says historically takes expert teams years.

Testing that it can spot real bugs

A proof system is only useful if it can tell good code from bad. To check this, the researchers put two real bugs, both previously found and fixed, back into an isolated copy of Signal's code. In both cases the system produced a machine-checked proof that the buggy version was insecure.

Signal's chief technology officer, Ehren Kret, is quoted in the post. He said that using AI agents to translate live code into valid Lean theorems is a major breakthrough, and that rigorously verifying the protocol implementation gives Signal even greater confidence in its code's privacy guarantees.

What it does and does not tell us

The result is about specific security properties that experts chose and wrote down. A proof shows the code meets those specifications; it cannot cover risks nobody thought to specify, and it says nothing about the rest of an app, the phone it runs on, or how people use it. DeepMind itself says scaling the techniques needs continued research.

Still, the direction is clear. DeepMind says the work lays groundwork for verifying other vital systems, naming medical device firmware and power grid software as examples, and suggests pairing formal verification with automated defence agents such as its CodeMender tool to keep up with AI-driven cyber threats. The company says it is open-sourcing its formal verification artifacts and has published a technical paper alongside the announcement.

For anyone building software, the practical takeaway is that the slowest and most expensive kind of security assurance may be getting much cheaper. If AI agents can do most of the proof work while humans set the goals and check the hard parts, mathematically proven code could start to appear well beyond a handful of specialist projects.

Sources

  1. Introducing AlphaProof Code: a breakthrough in verifying complex software at depth (Google DeepMind)deepmind.google