Together AI has released Hurdle, an open-source npm library for testing how well coding agents cope with a platform's API, skills and documentation. The company says it built the tool over about six months after running these evals by hand became tedious.
What it does
You write a task, which is simply the prompt a developer would give an agent working with your product. Hurdle runs Claude Code or Codex against it, records the session and scores the result. Scoring can combine three methods:
- Code checks assert what the run must have done, such as particular API requests or files produced.
- Guards block actions the agent must not take. Together's example is starting a paid GPU cluster. A blocked request counts as a failure.
- A judge is an LLM that reads the recorded session against a rubric written in plain English.
Tasks go into a suite file that lists the agents and models, the conditions and the number of repeats. Conditions set the starting context, so the same task can run with and without your MCP server or a skill. Because agents do not behave identically twice, each combination can be repeated to get a pass rate. In Together's example, one task, two Claude models, two conditions and 15 repeats add up to 60 runs.
Results and viewer
The npx hurdle run --view command runs the suite and opens a viewer. It shows pass rate, average duration and average cost per run, plus a grid of pass rate by task and condition. Each run opens to a full transcript, the agent's tool calls and API requests, every check result and the judge's verdict. Results are saved in a .hurdle/ folder in the project.
Local and sandboxed runs
Local runs start the claude or codex CLI in a temporary workspace on your machine. They cannot see or block API requests, so guards and request checks are unavailable. The agent also runs with your permissions and can read local files and use real keys, so Together advises a sandbox for anything complex or risky.
Sandboxed runs use the Together Sandbox API. Each run gets a fresh environment with no network access of its own. A local proxy called Guardian relays the agent's connections, allows or rejects each request and swaps a real key in for the stand-in the agent holds. Guardian currently installs only on macOS or Linux. By default the sandbox does not restrict which endpoints the agent can call, so Together recommends a dedicated low-balance key and guards for dangerous operations. One limit: Guardian only substitutes keys in the Authorization header, so APIs that take credentials another way cannot authenticate.
Getting started
You need Node.js 22.18 or later and the Claude Code or Codex CLI. npx hurdle init creates a starter suite, and a bundled Together API example demonstrates a sandboxed run. Sandbox runs need Together credits and a Together API key, though the source says the Together side of each run should cost a fraction of a cent. Model and agent costs come on top. Together suggests starting with one real user task, two models and a few repeats.