Ori tests OpenRouter agent harness tool cost increase
An agent harness is the surrounding software that connects an AI model to an execution environment, managing conversation loops, tool execution, context windows, permissions, and stopping limits. A controlled test demonstrated that adding unused tool definitions significantly increases input token usage and session costs, though prompt caching can mitigate these expenses. The article explains how harnesses function, how they impact cost and performance, and how developers can build or configure their own agent loops. Open article →