Microsoft's PDD Kit formally verifies agent-written full-stack apps with Verus

Microsoft Research · rss · 2026-11-06

Microsoft Research introduces Proof-Driven Development (PDD) Kit, bringing formal methods to everyday AI coding. The problem: a plan is supposed to be the contract with a coding agent, but nothing enforces it — agents drift and write tests that validate their own implementation, hiding the gap between intent and shipped code. PDD Kit runs inside GitHub Next's Chopin: it interviews you in plain language to build an intent artifact, formalizes what it can into Verus specs with machine-checked proofs covering every input, falls back to clearly-labeled empirical tests where proofs can't reach, and makes the Trusted Computing Base explicit for sign-off. Demo: from a two-sentence request it verified the login logic of Pet Store, a 5,000-line Rust full-stack app, uncovering existing bugs and proving absence of login flaws — with the developer never reading the code line by line. Recommendation: start with the most sensitive modules and verify incrementally.

Original post →

More from coding & agent

coding & agent channel →