Engineering brief

Agents Must Prove Safety Before Execution, Not Just Be Aligned

AI Engineer2 min read · saves 19 min

At a glance

Relevance
Practical value
Warnings
None

Erik Meijer proposes using proof-carrying code to statically verify AI agent plans before they execute. This replaces probabilistic alignment with a deterministic safety guarantee, but demands compiler expertise that most ML teams lack.

Agent safety with tool access is an existential operational risk; proof-carrying code offers a verifiable, non-probabilistic defense.

Summary

Erik Meijer argues AI agent safety is broken: tool calls let models mutate the real world (delete files, empty accounts) without verifiable guardrails. Alignment and guardrails are probabilistic, so they can’t guarantee safety. The fix: have agents generate pure plans as programs and statically verify them with proof-carrying code before execution.

The technique isn’t new—it’s repurposed from 1990s academic work—but it directly addresses the “lethal trifecta” of private data, untrusted content, and tool access. By defining safety properties as types and proving plans satisfy them, safety becomes a deterministic check. It requires a domain-specific language and a verifier that runs before execution.

The talk is a technical tutorial, not a product launch. The underlying code is an academic prototype; production readiness is unclear. The biggest adoption hurdle is organizational: teams will need compiler and PL expertise alongside ML engineering. The verification harness itself becomes a trust base that must be secured.

The implication is that responsible agent deployment may soon require a proof infrastructure, much like memory safety became a baseline. Ignoring this could leave teams exposed to catastrophic agent failures.

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.