Agent Caching Optimization
What this trail covers
Hex has evolved its agent capabilities by introducing a credit model for Hex Agents, including monthly credit grants per user seat type, and the ability to purchase pooled add-on credits with auto top-ups and spend limits. The consumption is effort-based, with different models offering varying cost-efficiency. Users gain visibility into their credit balance and prompt-level usage, while Admins have access to workspace-wide usage logs, spend limits, and granular control over add-on credit allocation. This post details further optimizations to reduce the cost per conversation by 75% through a combination of leveraging cheaper LLM models (e.g., Luna, Kimi) validated by the DataBench benchmark, improving agent efficiency via harness optimizations (cache miss reduction, progressive tool disclosure, subagents, Hero agent for analyzing user interactions), and a code-first rewrite (Hex 4.0) simplifying the toolset for the agent.
All Hex trails