OpenRouter publishes technical explainer on Agent Harness
Understand this story
OpenRouter has published a technical explainer article that defines Agent Harness as the software layer wrapping around an AI model, responsible for running the conversation loop, executing tools, managing context, and enforcing permissions and limits; Claude Code, Codex, and Hermes Agent all fall into this category. The article uses a small test to illustrate the relationship between tool count and cost: without caching enabled, adding 40 unused tools to Haiku raised the median session cost from $0.00082 to $0.00277; with caching enabled, a configuration of 44 tools had a median cost of $0.00071. OpenRouter says these results are only meant to illustrate small-task scenarios, not a general ranking of models or harnesses, and notes that prompt caching effectiveness depends on the model, provider, prefix, and cache lifetime.
AI overview based on source reports · Updated 41 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- OpenRouter AnnouncementsWhat Is an Agent Harness? How It Works, Explained
An agent harness is the software around an AI model that runs the conversation loop, executes tools, manages context, and enforces permissions and limits, with Claude Code, Codex, and Hermes Agent cited as examples. In a small test, adding 40 unused tools raised Claude Haiku 5.5's median session cost from $0.00082 to $0.00277 without caching, while caching brought the 44-tool configuration to $0.00071. The article also covers harness components, a turn-by-turn loop walkthrough, session-cost snapshots, and how OpenRouter's Ori Harness and Agent SDK fit in.
Activity for this story
Not enough continuous observations to show a trend yet.