Agent harness engineering: lessons from 57 papers — same model, 6x performance gap

Marmelab · reddit · 2026-10-30

Synthesizing 57 papers plus hands-on experience, the author distills agent harness best practices: mine past sessions for rules, delete unproven rules, keep instruction files 100 lines (OpenAI's giant-file failure), use fewer sharper tools (Vercel cut 80% of tools, success 80%→100%, latency 724s→141s), enforce rules with scripts (only 4-16% of prose security rules actually work), and regularly prune stale rules — OpenAI even runs a 'doc-gardening' agent. Same model can vary up to 6x in performance by harness design (U. Toronto).

Original post →

More from coding & agent

coding & agent channel →