Agent Evals
What this trail covers
Hex has evolved its agent capabilities by introducing Evals, a testing workflow inspired by internal practices, now available to users. Evals allow for grading agent work beyond just answers, using an LLM-as-judge to assess tool usage, reasoning, and behavior. Test cases are defined in version-controlled files and run from the Hex CLI. Context changes can be tested safely via Context Previews before publishing. Evals enable measurement and improvement of agent quality and cost, helping to test c. The Hero system further enhances this by autonomously analyzing real-world agent trajectories to identify hard and soft failures, clustering these findings to identify root causes, and then collaborating with agents to remediate issues and create new test cases, creating a recursive self-improvement loop for Hex's agents.
All Hex trails