Linas's Newsletter

Linas's Newsletter

Loops at Scale: The Governance Layer Nobody Built Yet 🔁

Why founders running AI agent loops in 2026 need harnesses, outer-loop ownership, and swarm governance, not just better prompts.

Linas Beliūnas's avatar
Linas Beliūnas
Aug 03, 2026
∙ Paid

👋 Hey, Linas here! Every day, I break down 3 stories shaping the future of FinTech & Artificial Intelligence - plus the money movements and trends worth tracking. First time here? 398k+ FinTech and AI leaders get this daily. Join them:

Loop engineering got its name in a single week of June 2026. Peter Steinberger was arguably the first to post that developers should stop prompting coding agents and start designing the loops that prompt them. Boris Cherny, who runs Claude Code at Anthropic, had already put it more plainly: his only job now is to write loops.

Our Loop Engineering Guide answered the question everyone started asking next, which was what a loop is and how to build one. It covered the six primitives, the Ralph Wiggum pattern, the 14-step roadmap, and Claude Fable 5 as orchestrator.

That guide is the floor. This deep dive is what sits above it, the part that only becomes visible once a founder has more than one loop running, more than one person touching the system, or more at stake than a single overnight API bill.

It’s important to understand that a working loop and a safe loop are not the same thing, and the gap between them is where real incidents happen.

→ Two autonomous agents once fell into a clarification loop, each asking the other to restate its work, and ran that way for 11 days, billing every call, until the charges passed $47,000 🤯 Nobody noticed.

→ In a separate case, a coding agent hit an ambiguous error and retried 240 times over 3 hours, reaching $4,200 while three monitoring dashboards displayed the spend in real time. None of them had the authority to stop it 🤷‍♂️

Both loops were doing what they were built to do. The logic was fine. What was missing was a governance layer outside the loop, with the power to end it.

Most people talking about loop-engineering content skip this layer, because agent capability is more fun to write about than agent constraint. What follows covers four things the earlier guide did not.

  • The harness as an artifact distinct from the loop itself, with the seven files and the templates to build one.

  • The split between the inner loop and the outer loop that determines whether a founder’s automation compounds toward the right goal or merely compounds.

  • The light-factory and dark-factory framework for deciding how much human review a scaling organization can safely remove.

  • And the swarm-scale architectures now running on open-weight models, including Kimi K3, whose full 2.8-trillion-parameter weights Moonshot AI published on Hugging Face in late July, the largest open-weight release to date.

None of this is optional once a loop-based workflow moves from one founder and one script to a system that other people or other agents depend on. That’s why the rest of this guide is built as an operating manual for that transition: the harness file structure with working templates, the checklist that separates dashboards from real enforcement, the swarm architecture that pairs hundreds of parallel agents with a single refutation gate, and what K3’s license and infrastructure requirements actually mean for anyone building a commercial product on top of it.

Let’s dive in.

The Harness Is Not the Loop

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Linas Beliūnas · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture