Skip to content
EventPast event

Microsoft Research introduces PDD Kit: formally verifying agent-generated code

1 reports1 reporting sourcesLatest report

Start here

AI overview

Microsoft Research proposes the proof-driven development (PDD) paradigm and introduces PDD Kit: it turns developer intent into Verus formal specifications, uses proof-checking agents to check generated code, and supplements uncovered areas with tests. The team used it in GitHub Next's Chopin for the login logic of the roughly 5,000-line Rust application Pet Store; developers review only the intent and specifications, and machine checks verify the implementation and proofs before merging.

Generated by AI from reports · Updated 24 days ago

Progress timeline

Nov 6
  1. Microsoft ResearchSelected
    Using PDD Kit to formally verify a full-stack web application written by an Agent

    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.

Related discussion

Total 7 items