Microsoft Research introduces PDD Kit: formally verifying agent-generated code
Start here
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
- Hacker NewsHacker News· DiscussionFormally verifying agent-written full-stack apps with Proof-Driven Development(opens the original post in a new tab)
- Microsoft ResearchSelectedUsing 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
- Older than 72 hours · Not included in the 72-hour figures
- X@ArturLojewskiFormally verifying agent-written full-stack web apps with PDD Kit [Microsoft Research] * Formal methods for everyday s…(opens the original post in a new tab)
- X@2logicsMicrosoft Research (@MSFTResearch), working with GitHub Next, said on Thursday that it has introduced the Proof-Driven…(opens the original post in a new tab)
1 likes·Nov 6 14:40Collect
- X@LdataengineerAgents Aren’t Humans (But They Write Code Like Us). Enter Microsoft Proof-Driven Development(PDD KIT). Your coding age…(opens the original post in a new tab)
1 likes·Nov 6 10:40Collect
- Hacker NewsHacker NewsFormally verifying agent-written full-stack apps with Proof-Driven Development(opens the original post in a new tab)
2 points·Nov 7 07:40Collect
- X@AIQuantingMicrosoft Research released PDD Kit, a toolkit that makes a coding agent prove its code matches a spec. The idea is Pr…(opens the original post in a new tab)
- X@MSFTResearchHow do you solve the trust problem with AI-generated code? AI agents can generate code at a scale too great for humans…(opens the original post in a new tab)
29 likes·Nov 6 05:45Collect
- X@GitHubNextHow we can secure 50% of the world's software. Traditionally, formal methods have been mostly used for safety-critical…(opens the original post in a new tab)
229 likes·Nov 6 05:45Collect