Harness engineering: why the software around AI agents matters as much as the model
techNmak · x · 2026-11-27
A long thread arguing that what happens outside the model — the "harness" — is decisive for AI agent success.
- The model decides which file to inspect or test to run; the harness turns decisions into operations: tool availability, permissions, result handling, next-step inputs.
- For long tasks, the harness must select context, summarize history, and keep state outside the context window.
- Good harnesses add checkpoints, interrupt recovery, execution limits, and traces for debugging failures.
- Many agent failures stem from wrong context, poor tool interfaces, or unrecoverable errors — a stronger model won't fix those.
Takeaway: harness engineering deserves a place alongside model architecture and inference engineering when learning agent development.
More from coding & agent
- Memanto memory agent beats Mem0 on DolphinBench at 8% of the cost — moorcheh · 2026-11-27
- Opus 5.5 renders a Thanksgiving feast in code with the vork 3D engine, no image model — ravisparikh · 2026-11-27
- unref: Rust-based Python dead-code finder scans all of CPython in under a second — JeremyCMorgan · 2026-11-27
- 90% of B2B AI projects fail in 30 days: automate the shadow spreadsheet, not the founder's whiteboard — aryanXmahajan · 2026-11-27
- User documents 3 weeks of Claude agent failures on ML research tasks; rival model one-shots it — teortaxesTex · 2026-11-27
- Reddit user rounds up 8 'AI employee' tools, from Lindy to Sierra, asking which are worth using — raymond_jr21 · 2026-11-27