Menu

1 / 17

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

Microsoft Research Blog - Microsoft Research·Alex Lavaee, Matthai Philipose·about 3 hours ago
#UzUYk4t8
#microsoft#news#proof#password#code
Long article (6464 words) — no AI summary yet.
Reading 0:00
15s threshold

At a glance

Formal methods for everyday software. PDD Kit helps you turn your intent into a formal spec, then proves the code your agent writes for every input and uses tests where a proof can’t reach. It takes formal methods beyond niche, specialist work to engineers without a formal methods background and to everyday applications, like the full-stack web app shown here.

Exhaustive line-by-line human review can become difficult to scale as AI agents generate increasingly large amounts of code. The plan is supposed to be the contract between you and a coding agent, but nothing actually forces the agent to follow it. The tests it writes usually check what it built, rather than what you asked for.

PDD Kit makes the agent keep the plan. It works with you to turn your intent into a formal specification in Verus (opens in new tab) , proves the agent’s code meets that spec for every input, and falls back to tests where a proof can’t reach.

We tried it on a full-stack web app.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.