Skip to content
Research · Nov 7, 2026

Microsoft Research releases PDD Kit to formally verify agent-written full-stack web apps

PDD Kit converts developer intent into formal specifications, proves AI-generated code meets them, and falls back to tests where proofs are impractical.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • PDD Kit formalizes developer intent into specifications and proves AI-generated code meets them for all inputs.
  • The toolkit was used to formally verify login logic in a Rust-based full-stack web app within GitHub Next’s Chopin environment.
  • PDD Kit automates proof generation and high-quality test creation without requiring formal methods expertise.
  • The approach aims to scale code review as AI agents generate increasingly large codebases.

Microsoft Research released PDD Kit, a toolkit designed to formally verify code generated by AI agents, addressing the challenge of scaling human review for large codebases. The toolkit converts developer intent into formal specifications in Verus, a proof language for Rust co-developed by Microsoft Research and academic partners, and proves the generated code meets those specifications for every possible input.

PDD Kit was applied to verify the login logic of Pet Store, a Rust-based full-stack web app, within GitHub Next’s Chopin environment. The toolkit uncovered existing bugs and proved the absence of login bugs relative to the specification, all while developers reviewed intent rather than individual lines of code.

The workflow in PDD Kit involves two halves: first, team members review and record intent in plain language, with PDD Kit guiding the process and explaining relevant code. Parts of the intent that can be formalized are converted into specifications, while the rest are handled via informal specifications for testing. PDD Kit then automatically generates proofs for formal specifications and high-quality tests for informal ones.

The toolkit is positioned as a shift toward Proof-Driven Development (PDD), where formal methods are made accessible to engineers without specialized backgrounds. PDD Kit runs as a partner inside Chopin, GitHub Next’s real-time, multiplayer planning environment, enabling collaboration between teams and agents in a shared document.

PDD Kit distinguishes between formal verification—mathematical proofs that code satisfies specifications for all inputs—and empirical verification, which relies on tests for scenarios where proofs are impractical, such as third-party libraries or user interfaces. Formal verification in PDD Kit is performed using Verus, while empirical verification uses unit and end-to-end tests, terminal automation, browser agents, and computer-use agents.

Sources
  1. 01Microsoft Research — Formally verifying agent-written full-stack web apps with PDD Kit
Also on Research

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.