Ranked #11 of 26 on Thursday, December 3
ext: a self-improving agent harness that verifies agent-written policies with Z3 before loading them
An academic systems group introduced ext, a layer over harnesses such as Claude Code that lets the agent write its own policies for decisions like when to compact context, which reasoning effort to use and how to stay in budget, through typed hooks in a…
Ranked #11 of 26 on Thursday, December 3
Why it matters
It suggests that fixed harness defaults like compaction thresholds explain a real share of long-running agent failures and cost, and that agents can tune them safely.
What happened
1 min readAn academic systems group introduced ext, a layer over harnesses such as Claude Code that lets the agent write its own policies for decisions like when to compact context, which reasoning effort to use and how to stay in budget, through typed hooks in a restricted language. Borrowing from eBPF, an SMT verifier (Z3) proves each policy respects built-in and operator rules for every valid input before it loads. The authors report zero rule violations across 550+ runs, fewer compaction failures on long tasks, and Opus going from 14/27 to 22/27 solves on nine coding tasks at the same cost.
Our analysis
The eBPF analogy fits: a narrow, verifiable interface instead of letting agents rewrite the harness freely. The results are promising but self-reported on small task sets (nine coding tasks, six budget runs). Code is not released yet; there is only a waitlist. Worth following for teams running long agent jobs that hit compaction thrashing or budget overruns, and it fits the direction of the hook systems now shipping in Claude Code and Codex.