← Back to issue4 / 18 · 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.

Important AI developments, useful explanations, and practical resources in one weekly read. Context to understand what matters, with links to the original sources and deeper reading.

Subscribe free →
Free weekly·No spam·Unsubscribe anytime