Together AI Open-Sources Hurdle, an Agent Evaluation Framework
Together AI has open-sourced its internal agent evaluation framework, Hurdle, as an npm library for testing Claude Code and Codex on real-world tasks involving APIs, documentation, MCP, and skills. Hurdle supports code checks, safeguards against dangerous actions, and LLM-based evaluation, and can compare pass rates across different models, execution environments, and starting conditions. High-risk evaluations can run in isolated environments created with the Together Sandbox API, with a Guardian proxy intercepting requests and substituting real credentials.
Why read this
SelectedAI score 77
Hurdle combines code checks, safeguards against dangerous actions, and LLM-based evaluation to give developers a portable method for evaluating agents on real-world tasks.
Topics
View original postWe're open-sourcing our internal agent eval framework. Introducing Hurdle: run agent evals on your product. Test how well Claude Code and Codex can use your APIs, docs, MCPs, and skills on real-world tasks. Read more: https://www.together.ai/blog/introducing-hurdle-run-agent-evals-on-your-api-skills-and-docs
View original
We're open-sourcing our internal agent eval framework. Introducing Hurdle: run agent evals on your product. Test how well Claude Code and Codex can use your APIs, docs, MCPs, and skills on real-world tasks. Read more: https://www.together.ai/blog/introducing-hurdle-run-agent-evals-on-your-api-skills-and-docs
Body · AI translation
Together AI Open-Sources Its Internal Agent Evaluation Framework Hurdle: Test Whether Agents Can Effectively Use Your APIs, Skills, and Documentation with Checks, Guards, and Judges
Products built for developers now often face a new challenge: coding agents have become the primary way many people interact with APIs, SDKs, and documentation. Together AI’s Mo King, Sam Barrowclough, and Hassan El Mghari write that determining whether agents can use your platform effectively requires testing them on real tasks across different models, execution environments, and starting conditions. They found manually orchestrating their own evaluations extremely cumbersome, so they spent about six months building Hurdle and have now open-sourced it as an npm package.
Together AI Blog https://www.together.ai/blog/introducing-hurdle-run-agent-evals-on-your-api-skills-and-docs
# Write the Task First, Then Score It with Checks, Guards, and Judges
Hurdle can currently test Claude Code’s and Codex’s ability to use your platform. A task is the prompt a developer would give an agent. Hurdle runs the agent, records the session, and scores it using your chosen methods. Its three methods can be used separately or together. Code checks assert that required API requests were made and that the expected files or data were produced. Guards intercept prohibited actions during execution, such as actually launching an expensive GPU cluster, block the request, and mark any attempt as a failure. Judges hand the recording to another large language model, which reviews it against criteria written in everyday language and determines whether the run passed. The same task can also be run under different conditions—for example, once with your MCP server installed and once in a clean new session—to see whether the integration helps or hurts. Every specified agent-and-model combination runs once; because two runs may not produce the same result, they can also be repeated multiple times to assess the overall pass rate.
# One Task They Used: Find the Cheapest GPU Cluster
One task they used themselves was: list the currently available GPU cluster regions and instance types, print the cheapest option, and provide the exact command to reserve it on demand for one hour, but do not actually make the reservation. To pass, the agent had to query the API for live regions, find current prices in the documentation, produce a valid reservation command, and never actually create a paid cluster. Accordingly, they required a successful call to GET /v1/compute/regions; the judge had to confirm that the agent obtained official pricing, compared the options, and produced a valid command; and a guard intercepted POST /v1/compute/clusters. The example suite uses the claude-opus-4-8 and claude-sonnet-4-6 models they tested in June, repeating each 15 times under both the baseline condition and the condition with the together-gpu-clusters Skill, for 60 runs in total. The scoring method is hybrid: a run passes only if both the code checks and the judge pass it.
# The Viewer Breaks Down Pass Rates by Task and Condition
npx hurdle run --view runs the full evaluation suite and opens the viewer. At the top are the pass rate, average duration, and average cost per run; below, a grid breaks the results down by task and condition. Results are stored in .hurdle/ and can later be reopened with npx hurdle view.
The original article presents a set of example tasks. The interface recorded 15 runs, with a strict pass rate of 77% after excluding unscored items. The release-notes task scored 0% under the baseline condition and 100% after the Skill was added; oversized-report scored 0% under both conditions. Opening an individual run shows the complete trace, tool calls, API requests, and the result of every check and judge. fix-the-bug was run by Claude Code with Opus 5.5 and passed all seven checks; judging was not enabled for that run.
# Run Quickly Locally, but Use a Sandbox When Real Credentials Are Involved
For quick validation, Hurdle can launch the claude or codex command-line tool in a temporary local workspace, starting from a clean configuration. However, it cannot see or intercept API requests, so guards and request-based checks are unavailable. The agent also runs as you, meaning it can read local files and use real credentials. Complex or risky evaluations should instead use a sandbox.
For production evaluations, Hurdle uses the Together Sandbox API to create a fresh, isolated environment for each run that cannot access the internet on its own. It also starts a local proxy called Guardian and connects it to Together over a WebSocket. Every connection initiated by the agent travels back through this channel to Guardian, which allows or denies it.
Real credentials never enter the sandbox; the agent receives random placeholders instead. When it calls your API, Anthropic, or OpenAI, Guardian substitutes the real credentials and forwards the request. Blocked requests receive a 403 response and never reach your endpoint. By default, the sandbox does not restrict which endpoints may be called, so evaluations should use dedicated credentials with a low balance and add guards for dangerous operations. Guardian currently installs only on macOS and Linux, and it can inject credentials only into the Authorization request header. The Together-side cost of a sandbox and one short completion is typically only a fraction of one cent. They recommend starting with one task that users are already asking agents to perform, adding one check, and then running it several times with both the best model and a model one tier below. The code and setup instructions are available on GitHub.
AI Trends