UPDATEtogether-ai
Hurdle: open-source agent evals for Claude Code and Codex
Together AI open-sourced Hurdle, an npm library that runs Claude Code and Codex against real tasks on your API, scores each run with request checks, guards and an LLM judge, then reports pass rate by model and condition. Guards and request checks only work in sandboxed runs.
What changed in this release
36 checkpoints in 6 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.
Setup and first run
- npx hurdle init writes evals/ with a starter suite and one example task
- --agent codex switches the default Claude runner to Codex
- Needs Node.js 22.18 or later plus the Claude Code or Codex CLI
- .env.local takes ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN; sandboxes also need TOGETHER_API_KEY
- hurdle setup checks credentials, installs Guardian, switches the project to a Together Sandbox
- Guardian runs on macOS and Linux only
Tasks and checks
- A task is a prompt: the instruction a developer hands the agent
- checks.mjs exports checks via defineChecks, run after the agent stops
- run.expect.request asserts method, path and a 200 status
- Checks can assert the files or data the agent produces
- run.judge takes a plain-English rubric and has an LLM review the session
- guard.mjs exports rules through defineGuard, enforced while the agent works
- Request checks need sandboxes; a local run cannot see the agent's requests
Suites and runs
- A suite picks tasks, agents, conditions and repeats
- The api block names the credential variable and hosts, not the key
- verdict hybrid means checks and judge must both pass
- conditions compare a run with and without an MCP server or skill
- npx hurdle run executes the suite and --view opens the viewer
- Sample suite: 1 task, 2 models, 2 conditions, 15 repeats, 60 runs
- Each run is marked passed, failed or skipped in the terminal
Isolation and keys
- Sandboxed runs use a fresh Together Sandbox that inherits no files
- The sandbox has no network; each connection goes to a local Guardian
- The agent holds random stand-ins and Guardian swaps in the real key
- A guarded request gets a 403 and never reaches your API
- Endpoints stay unrestricted, so use a dedicated low-balance key
- Local runs execute as you, reading local files with your real keys
Reading results
- The viewer shows pass rate, average duration and average cost
- A grid splits pass rate by task and condition
- One run shows the transcript, tool calls and API requests
- Check results and the judge's assessment sit with the run
- Results live in .hurdle/, and npx hurdle view reopens the viewer
Cost and known limits
- The Together side costs a fraction of a cent per run
- Guardian swaps the key into the Authorization header only, so other auth schemes fail
- Sandboxes and the chat completion both need Together credits
- The repository is open source, with a README guide on writing evals
- Examples cover copying a file to answer.txt and listing models for one short completion
On this page
ContextBackground: the question is whether an agent can use your API, not how well a model answers
Coding agents such as Claude Code and Codex now read your API, SDK and docs before a developer does. Whether an agent can use your endpoint used to be answered by opening agents by hand, task after task.
Hurdle is the eval tool Together built over the past six months and has now open sourced on npm. You write a task, the prompt a developer would hand an agent; Hurdle runs the agent against your API, records the session, scores it with checks you define, and reports pass rate by model and condition. It needs Node.js 22.18 or later plus the Claude Code or Codex CLI.
The release splits into 6 groups: launching runs, scoring them, blocking dangerous calls, the condition matrix, isolation, and reading results. The chart below shows the spread, and each group follows.
One command runs Claude Code and Codex: the suite names the runner and the models
- Runners: claude-code and codex are built in; list several models for one task and one npx hurdle run covers them all.
- Startup: npx hurdle init writes evals/ with a starter suite, --agent codex switches runner, setup checks credentials.
- Boundary: a local run starts the CLI on your machine as you, so it reads local files and uses your real keys.
Scoring splits into three layers: request and artifact checks, an LLM judge, a hybrid verdict
- Code checks: run.expect.request asserts the call the agent must send, with method, path and status 200.
- LLM judge: run.judge takes a rubric in plain language and grades the recorded session against it.
- Hybrid: verdict hybrid in the suite means the code checks and the judge must both pass, and you name the judge model.
A guard blocks the dangerous request mid-run, and the attempt alone counts as a failure
- How: guard.block.request names the method and path; guards run while the agent works, checks after it stops.
- Effect: Guardian answers the blocked call with 403, your API never sees it, and the attempt counts as failed.
- Boundary: only sandboxed runs can block; a local run neither sees nor stops the agent's requests.
Conditions and repeats form a matrix, and pass rate is split by model and condition
- Conditions: baseline and with-skill give one task two starting contexts, and it runs under both.
- Repeats: repeats 15 runs each task, agent and condition 15 times; the sample suite is 2 models by 2 conditions by 15, so 60 runs.
- Aggregation: 15 runs of one task, agent and condition roll into a single pass rate, which the viewer then lines up by model and condition.
Sandboxed runs keep keys outside: the agent holds stand-ins and Guardian forwards each call
- Isolation: each run gets a fresh Together Sandbox with no network of its own; every connection goes to a local Guardian.
- Keys: the agent holds random stand-ins, and Guardian swaps in the real key as the call leaves for your API.
- Boundary: endpoints stay unrestricted, so use a dedicated low-balance key, add guards, and note Guardian is macOS and Linux only.
Results land in .hurdle/, and the viewer splits every run by task and condition
- Overview: pass rate, average duration and average cost on top, a pass-rate grid by task and condition below.
- One run: the full transcript, tool calls and API requests, every check result and the judge's verdict.
- Storage: results stay in .hurdle/ in the project, and each run is marked passed, failed or skipped as it ends.
Side by side: promptfoo and Inspect run coding agents too, but block and score at other layers
promptfoo and Inspect also run Claude Code or Codex. They differ in where blocking and scoring happen: at the agent's output and trajectory, or at the requests it sends.
All three call something blocking: promptfoo restricts tools and sandbox mode on the provider side, Inspect approves tool calls by policy, Hurdle answers a specific HTTP request with 403.
The isolation row reads differently too: promptfoo's workspace is not a sandbox, Inspect runs tools in Docker, and Hurdle starts a network-free Together Sandbox per run behind Guardian.
Bottom line: to stop an agent placing a real order, Hurdle's request-level guard is the direct path; to reuse existing eval assets, promptfoo and Inspect save work. Our view, not tested here.
| Update point | promptfoo 0.127.0 | Inspect 0.3.294 | Hurdle (2026-11-25) |
|---|---|---|---|
| Runs Claude Code and Codex | Claude Agent SDK and Codex SDK providers, each call in its own workspace | Claude Code and Codex CLI via the Inspect SWE package | agents list names runner and model; both built in |
| Code-based scoring | JS assertions, trajectory assertions on tools and tool sequence, cost and latency limits | Built-in and custom scorers, metrics such as accuracy | run.expect.request checks method, path, status; sandbox only |
| Blocking risky calls | disallowed_tools, read-only sandbox mode, approval_policy | Approval policy on tool name and arguments | guard.block.request; Guardian returns 403, the attempt fails |
| LLM judging | llm-rubric with a threshold | Model-graded scorer against a description | run.judge rubric; hybrid wants both |
| Models and repeats | Provider matrix, --repeat 3 for variance | eval_set runs several models at once with --model | repeats 15 over 2 models and 2 conditions, 60 runs |
| Isolation | copy_working_dir per call; docs say it is not a sandbox | Built-in Docker sandbox for bash, python and more | Fresh Together Sandbox per run, no network, calls via Guardian |
Before and after: open sourcing brought sandbox authentication that 0.5.0 lacked
The earlier post, “Distilling Kimi-K3.1-Pro into Qwen3.8-27B: Teaching a model a new language” (2026-11-26), covers model capability, a different line from an eval tool; Hurdle's own previous version is on npm. 0.5.0 (2026-10-28) dropped E2B and snapshot images, so agents run in the Together sandbox or locally.
Read it by column: the fixes on the right landed in the repository on 2026-11-25 and reach npm in 0.5.1; 0.5.0 on the left predates them.
| Key feature | 0.5.0 | 2026-11-25 |
|---|---|---|
| Sandbox connection auth | No per-sandbox controller token check | Only the token from Together's relay, checked before installing the Guardian CA |
| Certificate install | No single-certificate limit before | One valid CA certificate only |
| Frame handling | No frame-by-frame read or version check | One frame at a time, unknown versions and oversized frames refused |
| Dependencies and inputs | Older undici, env values untyped | undici 6.29.1; env values must be strings or the launch plan is refused |
| Repository links | README and package.json point at Nutlope/hurdle | github.com/togethercomputer/hurdle, the old links returned 404 |
Release analysisVerdict: who should adopt it now, who can wait, and which task to run first
Teams that write their own API, SDK and docs, and whose developers reach for a coding agent, gain most: one suite turns “did the MCP server help” into a repeatable pass rate. Teams that only serve model inference can wait.
promptfoo 0.127.0 and Inspect 0.3.294 also run coding agents and grade with a model; Hurdle puts guards, the matrix and pass rate in one pipeline, at the cost of guards working only in Together Sandbox.
Start with one real task a user already gives an agent, add one request check and one rubric, run two models a few times and look at the baseline. Add a skill or MCP condition once that holds; do not fill the matrix first.
What not to copy: pointing a sandbox with unrestricted endpoints at a production key. Use a dedicated low-balance key and write the dangerous calls as guards. Our view, not tested here.
AIGenLab views
Not independently testedTo stop side effects such as an agent placing an order or starting a machine, a request-level guard is more direct than scoring output or trajectory, because blocking happens before the API call.
Our view, based on the announcement's description of guards and Guardian routing; we did not test blocking behaviour in any of the three tools.
One real task, two models, one request check and one rubric gets you a usable baseline faster than filling the condition matrix on day one.
Our view, following the same path the announcement recommends: pick a task users already give agents and run it a few times on two models. Not tested in our environment.
Evals should run on a dedicated low-balance key and encode dangerous actions as guards, rather than relying on the sandbox's default endpoint limits.
Our view: the announcement states the sandbox does not limit endpoints by default and recommends a low-balance key. We did not measure billing impact.
Questions
What do I need to run Hurdle?
How do local and sandboxed runs differ?
How is the pass rate computed?
Does a blocked request still reach my API?
Official sources and scope
- Introducing Hurdle: Run agent evals on your API, skills, and docs Every vendor fact in this article: run mechanics, checks and guards, the condition matrix, sandbox and keys, the viewer, cost and limits
- togethercomputer/hurdle The open-source repository the announcement links to, with its README guide on writing evals
- Evaluate Coding Agents (promptfoo) Horizontal comparison: promptfoo coding-agent providers, assertions, llm-rubric, repeat and its workspace caveat
- promptfoo 0.127.0 release The version number and release date (2026-12-02) used in the horizontal table
- Using Agents (Inspect) Inspect runs Claude Code and Codex CLI through the Inspect SWE package
- Tool Approval (Inspect) Approval policies act on tool calls, and unapproved calls are rejected
- Sandboxing (Inspect) Built-in Docker sandboxes, with bash and python tools running in a container
- Eval Sets (Inspect) eval_set runs several models at once with --model
- Scorers (Inspect) Substring and positional-match scorers, model-graded scorers and metrics such as accuracy
- Inspect AI 0.3.294 release The version number and release date (2026-12-01) used in the horizontal table
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.