Skip to content
Microsoft Research· Alex Lavaee, Matthai Philipose·Indexed by this site · Originally published· AI updates →SelectedAttention32

Using PDD Kit to formally verify a full-stack web application written by an Agent

Formally verifying agent-written full-stack web apps with PDD Kit

AI summary

Microsoft Research proposes the Proof-Driven Development (PDD) paradigm and introduces PDD Kit: it turns the developer's intent into Verus formal specifications, uses proofs to check Agent-generated code, and supplements with tests where proofs do not reach. The team used it in GitHub Next's Chopin for the login logic of the Rust full-stack application Pet Store, which is about 5,000 lines of Rust. Developers review only the intent and specifications, not the generated code line by line; before merging, the implementation and proofs are checked by machine. The login proof covers core functions such as login_flow, and six items including bcrypt, database queries, JWT signing and the clock are listed as trust boundaries and checked by tests. PDD Kit is currently a research prototype and supports only Rust.

Why it was selected

PDD Kit shows how to turn natural-language intent into Verus formal specifications, so that Agent-generated code undergoes machine proof before merging rather than line-by-line human review.

Read originalmicrosoft.com