← Back to issue7 / 11 · Week of Aug 3, 2026

A coding agent is a loop. The harness is the work.

Owain Lewis builds a minimal Go coding agent around a familiar loop: send the model a request, execute any tool calls, return their results, and repeat until the model stops. His practical demo adds file edits, shell commands, model routing, events, and a task-to-PR workflow. Why it matters: The model is only one layer. The useful behavior comes from the harness around it: what tools exist, which actions need approval, how context is managed, whether tests and reviews happen, and where a human takes over.

Try this: Write down one agent workflow you use today. Separate the model call from the harness rules around it: tools, permissions, verification, review, and the final human approval point. Fix the weakest boundary before adding another capability.

Source
Owain Lewis — Build Your Own Coding Agent Like Pi (With 1 Prompt)
View source →

Get the field brief every week.

One lead signal, three quick hits, one thing to try, one concept decoded - and the rest of the week on the wire. For people who want to know what matters and what to do next.

Subscribe free →
Free weekly·No spam·Unsubscribe anytime