Building a Coding Agent Harness From First Principles
April 2, 2026
a coding agent is a stateful control loop, not a chat request. How I’d design the harness—loop, context pipeline, scheduling, and permissions—so it can run for hours without corrupting state.