Agent harnesses need eBPF-style checks: agent policies are verified before they load
The authors present ext, a self-improving agent harness[1] inspired by eBPF[2]. In ext, agents write policies for their own execution, and an SMT verifier[3] (Z3) proves that each policy meets the built-in and operator-set rules before it loads. ext works with existing harnesses such as Claude Code without changes to their source code.
The authors argue that the exokernel model[4], which the Exo project builds on, does not fit agent harnesses, because poorly written policies harm the human operator's budget and projects, not only the agent. Their design gives agents typed hooks in a restricted language, while the harness owns the mechanisms and enforces invariants.
In early tests, ext recorded zero rule violations across more than 550 runs and enforced a $0.30 budget in all six runs of a 1.2M-token incident-log QA task, while Exo overspent in two of six runs when told the budget. On a 200K-window incident audit, vanilla Sonnet 4.6 aborted both runs, while ext scored 199/204 and 204/204. The authors say the code will be released soon and invite readers to join a waitlist.
Read the original ut-infraai.github.ioDiscussion
Discussion
Commenters mostly question the approach or its framing. One says SMT constraints and classical planning have run in production for years, and that strongly typed, enforced configs are the core idea. Others ask why anyone builds on Claude Code, whose source cannot be read, and argue that sandbox isolation with a monitored network egress is the real safeguard. Another asks what the eBPF comparison has to do with the work.
Sources
-
InfraAI & LDOS Blog
Agent harnesses need their eBPF
-
KRGeekNews KO
에이전트 하네스에도 eBPF가 필요하다


