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

Alex Lavaee, Matthai Philipose · Nov 5, 2026

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. 
  • Keep reading

    Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.

    More from Microsoft Research Blog

    Forgotten, or just hidden? Stress testing how AI models unlearn

    At a glance When an AI model is asked to “forget” something, current tests mostly check with plain, straightforward questions. A model can pass those tests and still give up the same information when the question is asked differently. We co

    Can AI help build a healthier future?

    Technical advancement is moving at such a rapid pace that it can be challenging to define the tomorrow we’re working toward. In The Shape of Things to Come, Microsoft Research leader Doug Burger and experts from across disciplines tease out

    TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient

    At a glance Developers use AI coding agents in the same codebases day after day, yet agents often start each session from scratch: rediscovering familiar facts, loading unused tools, and repeating unsuccessful approaches. TokenEconomizer is

    Microsoft Research Focus – Edition #98

    What’s new in research? In this edition of Microsoft Research Focus, based on the Research Focus newsletter (opens in new tab), host Anson Ho shares some of the latest news and cutting-edge research from across Microsoft—from bringing AI-po

    Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents

    Microsoft researchers have discovered “Lazarus,” a backdoor technique that can reprogram dormant neurons in an AI model, causing an otherwise normal AI agent to execute malicious commands when a hidden trigger appears. The threat is especia