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

DevFeed: [Formally verifying agent-written full-stack web apps with PDD Kit](<https://devfeed.tech/articles/formally-verifying-agent-written-full-stack-web-apps-with-pdd-kit-120876.md>)

Original publisher: [Read original article](<https://www.microsoft.com/en-us/research/blog/formally-verifying-agent-written-full-stack-web-apps-with-pdd-kit/>)

Author: Alex Lavaee, Matthai Philipose

Published: 2026-11-05T16:00:00Z

Content type: article

Language: en

Sources: [Microsoft Research](<https://devfeed.tech/sources/microsoft-research.md>)

Topics: [Spec Driven Development](<https://devfeed.tech/topics/spec-driven-development.md>), [Full Stack Development](<https://devfeed.tech/topics/full-stack-development.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Lean](<https://devfeed.tech/topics/lean.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [apps](<https://devfeed.tech/tags/apps.md>), [code](<https://devfeed.tech/tags/code.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developers](<https://devfeed.tech/tags/developers.md>), [formal](<https://devfeed.tech/tags/formal.md>), [full-stack](<https://devfeed.tech/tags/full-stack.md>), [generate](<https://devfeed.tech/tags/generate.md>), [helps](<https://devfeed.tech/tags/helps.md>), [input](<https://devfeed.tech/tags/input.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-research](<https://devfeed.tech/tags/microsoft-research.md>), [post](<https://devfeed.tech/tags/post.md>), [practical](<https://devfeed.tech/tags/practical.md>), [proofs](<https://devfeed.tech/tags/proofs.md>), [research-blog](<https://devfeed.tech/tags/research-blog.md>), [web](<https://devfeed.tech/tags/web.md>), [web-apps](<https://devfeed.tech/tags/web-apps.md>)

## AI overview

PDD Kit turns a developer's plain-language requirements into a reviewable intent artifact and Verus specifications, then uses coding agents to implement and prove specified properties for every input. In a Rust Pet Store login example, the proof covers account selection, password gating, token claims, and refusal outcomes; tests cover behavior outside the proof. The developer reviews intent and explicitly accepts assumptions at the trusted boundary, including database lookups, bcrypt, clock access, token signing, and request handling. Those assumptions remain limits: the proof cannot establish that the specification matches intent or that trusted components behave as assumed, and it says nothing about completion, timing, or unspecified requirements. PDD Kit is a research prototype that currently verifies Rust; its workflow adds proof checks to CI alongside tests.

## Source excerpt

AI agents can generate code at a scale that's hard for humans to review line-by-line. PDD Kit helps ensure the code is doing what the developer intended by creating formal specifications and testing against them. It converts developer intent into a Verus specification, proves AI-generated code meets it for every input, and uses tests where proofs aren't practical. Developers review intent, not every line. The post Formally verifying agent-written full-stack web apps with PDD Kit appeared first on Microsoft Research.