The authors argue that every serious agent team is currently patching harness source trees to add logging, policy, retries, cost caps, and sandboxing — a pattern that directly mirrors the pre-eBPF era of Linux observability. They propose deliberately boring primitives (pre/post tool-call hooks, a typed context object, a verifier, and a shared map structure) so these concerns can be composed and survive harness upgrades.
The post walks through three concrete pain points: inconsistent tool-call schemas across harnesses, the inability to attach a cost ceiling without rewriting the main loop, and the fact that 'guardrails' today mostly means 'a second LLM call we hope catches the bad one.' The authors treat these as evidence that the current approaches none of which compose and none of which survive a harness upgrade are a dead end.
The editorial takes the eBPF analogy seriously, noting that before eBPF, Linux observability was a graveyard of out-of-tree kernel modules (SystemTap, ktap, DTrace-for-Linux) that broke on every point release. Framing today's forked Claude Code, SWE-agent, and LangGraph derivatives as the same anti-pattern lends weight to the call for a stable in-process hook ABI.
An essay out of UT Austin's infra-AI group, "Agent Harnesses Need Their eBPF," landed on Hacker News at 171 points and sparked the kind of comment thread that usually means the author named something practitioners were already feeling. The argument is short and uncomfortable: every serious agent team — from internal Claude Code forks to bespoke SWE-agent scaffolds to in-house LangGraph derivatives — is currently patching the harness source tree to add logging, policy, retries, cost caps, tool-call rewrites, and sandboxing. The authors call this the pre-eBPF era of agent infrastructure, by direct analogy to the mid-2010s Linux kernel, when every observability vendor shipped out-of-tree modules that broke on every point release.
The core claim is that agent harnesses need a stable, in-process hook ABI — the equivalent of eBPF's verifier, maps, and attach points — so that policy, telemetry, and tool-call interception can be written once and loaded into any compliant harness without forking it. Today, if you want to enforce "no `rm -rf` on paths outside the workspace," you either monkey-patch the tool dispatcher, wrap every call site, or run the agent inside a VM and pray. None of these compose. None of them survive a harness upgrade.
The post walks through three concrete pain points: inconsistent tool-call schemas across harnesses, the inability to attach a cost ceiling without rewriting the main loop, and the fact that "guardrails" today mostly means "a second LLM call we hope catches the bad one." The authors' proposed primitives are deliberately boring: pre/post hooks on tool calls, a typed context object, a verifier that rejects hooks which can block the event loop or exfiltrate secrets, and a shared map structure for cross-hook state.
The eBPF analogy is load-bearing, so it's worth taking seriously. Before eBPF, Linux observability was a graveyard of kernel modules: SystemTap, ktap, DTrace-for-Linux. Each one required recompiling or patching the kernel, each one broke across versions, and vendors spent more engineering on compatibility shims than on features. eBPF won not because it was faster — it won because it was loadable, verified, and versioned. Facebook, Netflix, and Cloudflare could ship the same tracing program across kernel versions, and the kernel maintainers could evolve internals without breaking userland.
Agent harnesses are at exactly that inflection point. Right now, the most valuable work in applied AI — evals, cost controls, redaction, tool whitelisting, retry policy, replay debugging — is being rewritten from scratch inside every mid-sized company's forked harness, and almost none of it is portable. OpenAI's Agents SDK, Anthropic's Claude Code, LangGraph, SWE-agent, Aider, and the dozen internal variants all have slightly different notions of what a "tool call" even is. A policy that says "never let the model shell out to `curl` with an auth header" has to be re-implemented in every one.
The HN comment thread is where the argument sharpens. A commenter from a Series B company pointed out that their security team spent six weeks writing a tool-call interceptor for their internal agent — and then had to rewrite most of it when they swapped harnesses. Another compared it to the pre-WSGI Python era, when every web framework had its own request object and middleware story. A third, more skeptical, noted that eBPF took roughly a decade from first patch to ubiquity, and that the agent space may not have that kind of runway before something less principled becomes the de facto standard.
That last point is the real risk. The default outcome isn't an elegant verified hook ABI — it's whichever harness gets to "good enough" plugin support first becoming the substrate, warts and all, the way Kubernetes became infrastructure despite its API surface. LangChain tried callbacks and got burned by instability. Claude Code has hooks now, but they're shell commands, not a typed in-process API. OpenAI's Agents SDK has tracing but no third-party attach points. The window for someone to ship the boring, correct thing is open, but it won't stay open.
If you're running agents in production today, the honest advice is to assume your harness choice is temporary and architect accordingly. Treat your tool definitions, your eval harness, and your policy rules as the durable artifacts — the harness itself is the replaceable part. Keep tool schemas in a format you own (JSON Schema, Pydantic, Zod — pick one), keep policies declarative where you can, and resist the urge to put business logic inside harness-specific decorators or lifecycle hooks. When the portable hook layer arrives — and it will, whether from a standards push or a dominant harness growing one — you want your policy code to port in a day, not a quarter.
Second, start logging tool-call traces in a schema-agnostic way now. The single most valuable asset a mature agent team has is a replayable corpus of real tool-call sequences with inputs, outputs, costs, and outcomes. That corpus is what lets you evaluate a harness swap, A/B a new policy, or debug a regression six months after the model behind the agent has rolled over. If your traces are locked inside LangSmith's format or Anthropic's trace viewer, you're building on rented land.
Third, if you're on the vendor side — building a harness, a guardrail product, or an agent observability tool — the strategic move is to publish a hook spec and implement it in at least two harnesses before anyone else does. The eBPF lesson is that the winner isn't the best runtime, it's the one that becomes boring enough to depend on. Whoever ships the verified, typed, cross-harness hook API first gets to define the shape of agent infra for the next five years.
The missing piece isn't technical — the hooks the UT Austin post describes are straightforward to build. The missing piece is social: a standards body, a dominant vendor willing to codify an ABI, or a de facto win by a well-engineered open source project. Expect the next six months to produce at least three competing proposals, probably from Anthropic, LangChain, and an upstart nobody's heard of yet. The one worth betting on is whichever one ships a verifier before it ships a marketing page.
I wish eBPF had chosen a different name.BPF = Berkeley Packet Filter. But it's way more than a packet filter - it's a fundamental technology for hooking into the system calls and other events used by a software.I spent years assuming it was just a network firewall. I bet I'm not the o
This is not relevant to the material content of the article at all, but:The acknowledgements section references "The Author", but the citations section and header list two authors. I know that I'm an outlier here coming from an academic background, but that's just an incredible n
I don't understand why folks go with Claude Code for these things. You cannot read the source code- why do something 'researchy' on top of it?
Does anyone know of any projects, or even paid services, which support even really basic policies like this agent sandbox can access these package repos and these authenticated APIs? With https MITM, a way to get git in and out without exposing your actual git service, cost limits, reasonable UX for
Top 10 dev stories every morning at 8am UTC. AI-curated. Retro terminal HTML email.
There is an entire domain of classical planning that people developing harnesses are rediscovering. We have had SMT constraints running in production for two years, and it is largely a useful endeavor.The entire gist of this can be summed up by saying that configs should be strongly typed and enforc