A meditation by Armin Ronacher (June 2026) on the emerging pattern of harness-level loops in agentic engineering and what it means for software comprehension, engineering culture, and the future of coding.

The essay distinguishes two loops:

  1. Agent loop (inner): model calls tools, reads files, edits code, runs tests, says “done.” Familiar since early Claude Code days.
  2. Harness loop (outer): a system outside the agent decides whether the task is truly finished, injects new context, restarts sessions, or dispatches to another agent. The task stays alive beyond where the model would normally stop.

This outer loop is what Loop Engineering names as a discipline. Ronacher’s contribution is the philosophical reckoning with its consequences.

Quote

“I don’t prompt Claude anymore. I have loops running that prompt Claude and figuring out what to do. My job is to write loops.” — Boris Cherny


Where Loops Already Work

Ronacher identifies domains where harness loops shine:

DomainWhy it works
PortingMechanical translation with binary pass/fail (see Agentic Porting Workflow)
Performance explorationTry, benchmark, discard, repeat
Security scanningContinuous probing without committing lasting code
ResearchExplore problem spaces, report findings

The common thread: these either transform existing code (not generate new designs) or produce artifacts without necessity of longevity. The verification signal can be objective (tests pass) or subjective (LLM-as-judge), but it just needs to be useful enough to drive another iteration.


Where Loops Fail (Today)

For lasting code he deeply cares about, Ronacher admits he hasn’t found success with hands-off loops. The problems:

  • Over-defensiveness: models add local fallbacks instead of making bad states unrepresentable. Karpathy’s observation that LLMs are “mortally terrified of exceptions.”
  • Amplification effect: each loop iteration adds another small defense. The system slowly becomes less understandable while appearing more robust.
  • No strong invariants: the right fix is often to make the malformed case impossible to write, but that structural thinking doesn’t emerge from loop-produced code.
  • Regression in quality: present-day hands-off harnesses (Claude Code + ultracode/Fable) produce worse code for his taste than more human-in-the-loop approaches from six months prior. Longer uninterrupted sessions amplify the problem.

This echoes observations in Agentic Coding - Risks and Discipline and Comprehension Debt.


Software as Organism

Ronacher’s central metaphor: we are moving from software as deterministic machine to software as organism.

The old ideal: you can peel back layers, understand the machine, know where invariants live, identify load-bearing parts. Engineers took pride in making complex codebases navigable through clever architecture.

The new reality: we use LLMs to write code, diagnose production issues, propose patches, review, and land changes. The system gets treated, monitored, and stabilized, but not necessarily comprehended.

We may no longer understand the whole system in the same way. We treat it, we monitor it, we stabilize it, but we do not necessarily comprehend it.

This is the same tension surfaced in Cognitive Debt, Comprehension Debt, and the Paradox of Supervision.


You Cannot Opt Out

Even if you refuse to use loops for your own code, others will use loops against your code:

  • Security: attackers and researchers run continuous automated probing. The volume of reports (signal and noise) becomes impossible to handle without machines. (Daniel Stenberg’s “summer of bliss” post about curl’s AI-generated report flood.)
  • Competition: small teams orchestrating machines effectively outbuild larger teams. “Some startups will do with five people what used to require fifty.”
  • Copying: someone can literally put a machine in a loop against your product asking it to replicate it.

If attackers loop, defenders will eventually need to loop too.


Machine Dependency

The scariest dimension: codebases that assume machine participation as part of their maintenance model.

  • What happens when you lose access to the models (trade restrictions, cost, outages)?
  • What if the team loses the ability to understand the code without the machine?
  • People already merge code they cannot fully explain, converse through LLM indirection, and rely on machines to summarize context.

This is a new kind of vendor lock-in. Not to an API, but to a cognitive capability that may not always be available.

See also: Lars Faye - Agentic Coding is a Trap on vendor lock-in as a structural risk.


Pi’s Philosophy

Ronacher positions Pi (the harness he co-created) in this tension:

  • Pi has been cautious, and that caution is good.
  • He doesn’t want Pi to become an unmaintainable mess or promote uncontrolled swarming.
  • But Pi is a harness, and harnesses are at the center of these experiments.
  • Task queues, orchestration, subagents, and durable sessions will matter more. Those with reservations still need to experiment to understand how to make this future “bounded and survivable.”

The Real Question

The question is not whether we will loop, because clearly we will. The question is: in a future of loops, how do we not abdicate judgment, retain rules of good engineering, ensure responsible humans can supervise, and rethink architecture to retain sanity?

This frames the agenda for anyone building or using harness loops in 2026 and beyond.