What Is a Harness?(earendil.com)
571 points by tosh 18 days ago | 179 comments
tl;dr: An agent harness is software that wraps an AI model to create an agent, typically providing four things: a system prompt, a set of callable tools, an "agentic loop" letting the model iteratively decide actions, and a translation layer for swapping between different models. Unlike the models themselves, users can own, modify, and run harnesses locally—preserving agency, choice, and portability across providers. The author pitches Pi, their open-source harness, as a neutral alternative to lab-controlled apps like Claude Code.
HN Discussion:
  • Shares personal experience building harnesses, endorsing their value especially with internal CLIs
  • Praises Pi harness and predicts harnesses will be the main value layer once models commoditize
  • Offers alternative analogies (chassis/engine, backpack) to explain harnesses more clearly
  • Skeptical that 'harness' is just the next hype buzzword replacing 'agent'
  • Disagrees with the definition, arguing harness traditionally means a CI/test system