246 repos and 57 papers later: what actually works in agent harness engineering

Marmelab · reddit · 2026-09-25

Analyzing 246 open-source repos and 57 publications on coding-agent harnesses, the author distills emerging best practices: harnesses should be small, evidence-based, and constantly refined. Key findings: an ETH Zurich study shows machine-generated context reduces task success vs. no context (while raising inference cost 20%), while human-written context adds 4%; build harnesses only in response to observed failures; limit exposed tools (Vercel cut 80% of tools and success jumped 80%→100% with half the tokens; Microsoft went from 100 tools to 2); change one component at a time and measure; maintain both tests and evals since instructions like AGENTS.md can simply be ignored; and test both "should happen" and "should NOT happen" cases—one-sided evals silently drift toward blocking everything and strangling the agent.

Related event: Analysis of 246 Repos and 57 Papers: Effective Agent Harnesses Stay Small(2 posts)→

Original post →

More from coding & agent

coding & agent channel →