Harness, Loop, Graph: why better prompts won't fix your broken AI agent

2C_ornot2C · x · 2026-11-08

@0xwhrrari publishes a long-form piece arguing that when your agent passes every test yet the issue stays open, a better prompt won't help — the broken part isn't the model but the system around it. The article breaks agent engineering into three nested layers: Harness (the shell wrapping the model: tool calls, context, constraints), Loop (the iteration cycle governing how the agent retries and verifies), and Graph (task orchestration controlling multi-step dependencies), explaining what each owns and which to fix first. Built and demonstrated in Claude Code, Codex, and Grok Bot; a year ago most of the work was in the prompt, now it's in this architecture.

Original post →

More from coding & agent

coding & agent channel →