All writing

Where the harness sits in an agent software factory

Dex Horthy's four-layer slide shows how little of an agent software factory is the harness. Notes from four talks at AI Engineer Code Summit 2026 on what to buy, what to build and what ages fastest.

Diagram titled "Where the harness sits," showing four stacked layers of an agent software factory. Control Plane (buy or build): dispatch work; collaborate on sessions and plans; automation and scheduling; review and iterate on code (forge); permissions, audit, governance and spend management; compounding engineering. Harness, highlighted: agent, tools, skills, memory, compaction, testing, MCP, auth; buy (Claude, Codex, Amp, Devin, Factory, Cursor and others) or build (OpenCode, Pi, custom). Dev Environment: library dependencies, internal service and network dependencies, preview environments, pets or cattle; no good abstraction, massive friction if not customer-owned. Infrastructure, VMs and sandboxes, cloud or workstation (buy or build): VMs, containers, isolates, Kubernetes, lifecycling, snapshotting, warm pools. Adapted from Dex Horthy, Factory.

A coding agent is not just a model, and the harness is not the whole system either. At AI Engineer Code Summit 2026, Dex Horthy of Factory put the harness in its place with one slide: four layers of an agent software factory. Three other talks I sat through filled in what the harness layer is, how fast it is shrinking, and what sits underneath it.

The four layers

Dex's slide stacks the factory like this:

  • Control plane: dispatching work, sessions and plans, scheduling, review, permissions, audit, governance and spend
  • Harness: agent, tools, skills, memory, compaction, testing, MCP, auth
  • Dev environment: dependencies, internal services, preview environments
  • Infrastructure: VMs, containers, sandboxes, snapshots, warm pools

Next to each layer he gave a verdict on buying versus building. The harness and the infrastructure you can buy. The dev environment has "no good abstraction" and is personal to each team. And verification is the part nobody can sell you, because "only you know" how your code should be tested.

I like this slide because it stops the harness from standing in for the whole thing. When people say "agent", they often mean the second layer and forget the other three.

The harness is smaller than it looks

Tejas Kumar of IBM ran a workshop on building a coding harness from an empty loop. He cut the earlier six-part model down to three parts: tools, context management and guardrails.

What that meant in code:

  • A tool registry with names, descriptions, arguments and execution functions, instead of a pile of conditionals
  • A 25-step limit and a 300k-token budget per task
  • Permission gates for dangerous operations
  • Automatic compaction of context

The number that stuck with me was about phases. A 120-step task succeeded 29% of the time as one loop. Split into 10 phases of 12 tasks, it succeeded 85% of the time.

Models keep eating it

In his talk "I deleted 90% of my harness (And It Got Better)", Philipp Schmid of Google DeepMind compared how two models used tools. His comparison used the Pi harness with Gemini 3.5 Flash and Gemini 4 Carbon, with default tools versus a single command tool called Bench.

  • Flash used about the same calls and tokens either way.
  • Carbon chained roughly 2.2 to 3.7 commands per Bench call. Flash chained 1.3 to 1.8.
  • Carbon needed up to 3x fewer tokens for the same task.

His line was "Models will keep eating the harness." His advice is that when a new model ships, you should try it with fewer tools. He also argued for measuring token efficiency, since accuracy alone can hide differences between harnesses.

The durable work sits below it

Ankit Mathur of Databricks talked about infrastructure rather than harnesses. His argument: infrastructure needs to be branchable. That covers databases, memory, files, sandboxes and compute.

The example was a broken data pipeline. On a branched copy of the platform, agents can try 10 fixes in parallel and report back, without touching production. He also argued for simulating production rather than writing "hundreds or thousands" of unit tests. Branching takes some of the cost out of a mistake, and it makes a human approval gate on every step less necessary.

My take

I'd buy the infrastructure and spend our own effort on the layers nobody can sell us: the dev environment, the budgets and gates, and the checks that prove our code works. I'd still optimize the harness, but I wouldn't bet on it.

Here is why. Kumar reported that success rose from about 29% to 85% when he split the task into phases. That is structure we own and understand. Schmid's results point the other way for clever tricks: anything tuned to one model's weaknesses is the part most likely to be eaten by the next release. Those tricks will age fastest.

There is a question I haven't settled. Models will keep improving, so it is still debatable how much harness engineering is worth, and whether it is only a bridge. I don't think the answer is "none". Gates, budgets and verification don't go away when the model gets smarter, because they are about risk and not capability. A stronger model needs fewer tools, but I'd still want to know it can't spend without limit or run something it can't undo.

So my rule of thumb is to keep the harness thin, buy what is commodity, and put the human effort where only we know the answer.

Credit: talks by Dex Horthy (Factory), Tejas Kumar (IBM), Philipp Schmid (Google DeepMind) and Ankit Mathur (Databricks) at AI Engineer Code Summit 2026.

Discuss on LinkedIn

Related work

About Farhan Baluch

Senior AI Engineer in Toronto. Two years shipping agents for telecom and banking teams.

Connect on LinkedInGitHubEmailRésuméAll workMore writing

More writing

Everything on this site in one file. Copy it and paste it into your agent.

Loading…