Home/Blog/GitHub Next PDD Kit: Formal Proof for Agent-Written Code

GitHub Next PDD Kit: Formal Proof for Agent-Written Code

AI coding agents can now write entire features in minutes. The hard part is no longer generating the code โ€” it is knowing whether the code is right. GitHub Next, the research and development lab inside GitHub, has introduced the PDD Kit, a toolkit that puts formal proof behind agent-written code. Announced on October 22, the kit aims to replace “the agent said it works” with something much stronger: a machine-checkable argument that the software does what it is supposed to do.

GitHub Next PDD Kit: Formal Proof for Agent-Written Code

What the PDD Kit Does

Formal verification is an old idea with a demanding reputation. Instead of only testing software with example inputs, it proves properties about the code mathematically โ€” showing, for instance, that a function can never produce an invalid state. The PDD Kit applies that thinking to the newest kind of author: the AI agent. When an agent writes code, the kit helps attach proofs to the work, so the output carries evidence of its own correctness rather than relying on a human to eyeball every line.

That is a meaningful change in workflow. Reviewing agent-written code line by line does not scale when an agent can produce thousands of lines an hour. Checking a proof, by contrast, is something a machine can do tirelessly โ€” which makes it a natural fit for the agent era. Developers exploring AI-assisted workflows can find more everyday utilities in our library of free online tools.

Why Agent-Written Code Needs a New Kind of Checking

Agent-generated code has a particular failure style. It usually looks plausible, follows conventions and often passes casual inspection โ€” while occasionally containing subtle logic errors, missed edge cases or quiet misunderstandings of the original request. Traditional testing catches some of this, but tests only sample behaviour. A proof, where it can be constructed, covers the whole space of inputs the property describes.

This is also why the kit fits a broader pattern in this week’s news. Databricks is working on giving agents better memory so they stay consistent over long tasks, while GitHub Next is working on the complementary problem: proving the finished work is correct. Capability and verifiability are advancing together, and both are necessary before agents can be trusted with production systems.

Trust, but Verify โ€” Automatically

The PDD Kit also speaks to the security side of the agent boom. Code produced quickly and deployed quickly is an attractive target, and organisations are building new layers of defence around it: vaults that keep credentials away from agents, like 1Password for Agents, and now proof tooling that checks what agents produce. The emerging model is not blind trust in the agent, but a pipeline where the agent’s work is continuously checked by systems that do not get tired or distracted.

For working developers, the practical message is that “the AI wrote it” will decreasingly be the end of a conversation. Teams will increasingly ask: what evidence comes with it? Tests, proofs and audits are all forms of that evidence, and tooling that generates them automatically lowers the cost of doing things properly.

What Happens Next

Formal methods have historically been confined to safety-critical niches โ€” aerospace, cryptography, hardware โ€” because writing proofs by hand is expensive. If agents can help produce both code and proofs, that economics changes, and verification could move into ordinary software development. The PDD Kit is an early step from a lab known for experimenting with the future of development, but it points at a destination the whole industry is drifting toward: software that arrives with its credentials checked.

Frequently Asked Questions

What is the GitHub Next PDD Kit?
It is a toolkit from GitHub Next, announced October 22, that puts formal proof behind code written by AI agents, so the code’s correctness can be verified rather than assumed.

How is formal proof different from testing?
Testing checks behaviour on sampled inputs. Formal proof makes a mathematical argument about the code itself, covering the full range of cases a property describes.

Why does agent-written code need this?
Agents write code faster than humans can review it, and their mistakes can be subtle. Automated proof gives teams a scalable way to check the work.