AIGenLab
EN

UPDATEtogether-ai

Hurdle: open-source agent evals for Claude Code and Codex

Version & typeFeature
In short

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

Read the original announcement

On this page
  1. Release inventory
  2. Background
  3. One command runs Claude C…
  4. Scoring splits into three…
  5. A guard blocks the danger…
  6. Conditions and repeats fo…
  7. Sandboxed runs keep keys…
  8. Results land in .hurdle/
  9. Side by side
  10. Before and after
  11. Release analysis
  12. Questions
  13. Sources & method

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.

How the six groups of this release spread across the inventory: setup, tasks and checks, suites and runs, isolation and keys, results, and cost plus known limits. The chart does not compare pass rates; it only shows where the changes land.
Where the 36 grouped changes landWhere the 36 grouped changes landSetup and first run6Tasks and checks7Suites and runs7Isolation and keys6Reading results5Cost and known limits5
AIGenLab original

One command runs Claude Code and Codex: the suite names the runner and the models

  1. Runners: claude-code and codex are built in; list several models for one task and one npx hurdle run covers them all.
  2. Startup: npx hurdle init writes evals/ with a starter suite, --agent codex switches runner, setup checks credentials.
  3. 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

  1. Code checks: run.expect.request asserts the call the agent must send, with method, path and status 200.
  2. LLM judge: run.judge takes a rubric in plain language and grades the recorded session against it.
  3. 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

  1. How: guard.block.request names the method and path; guards run while the agent works, checks after it stops.
  2. Effect: Guardian answers the blocked call with 403, your API never sees it, and the attempt counts as failed.
  3. 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

  1. Conditions: baseline and with-skill give one task two starting contexts, and it runs under both.
  2. 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.
  3. 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

  1. Isolation: each run gets a fresh Together Sandbox with no network of its own; every connection goes to a local Guardian.
  2. Keys: the agent holds random stand-ins, and Guardian swaps in the real key as the call leaves for your API.
  3. 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

  1. Overview: pass rate, average duration and average cost on top, a pass-rate grid by task and condition below.
  2. One run: the full transcript, tool calls and API requests, every check result and the judge's verdict.
  3. 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 pointpromptfoo 0.127.0Inspect 0.3.294Hurdle (2026-11-25)
Runs Claude Code and CodexClaude Agent SDK and Codex SDK providers, each call in its own workspaceClaude Code and Codex CLI via the Inspect SWE packageagents list names runner and model; both built in
Code-based scoringJS assertions, trajectory assertions on tools and tool sequence, cost and latency limitsBuilt-in and custom scorers, metrics such as accuracyrun.expect.request checks method, path, status; sandbox only
Blocking risky callsdisallowed_tools, read-only sandbox mode, approval_policyApproval policy on tool name and argumentsguard.block.request; Guardian returns 403, the attempt fails
LLM judgingllm-rubric with a thresholdModel-graded scorer against a descriptionrun.judge rubric; hybrid wants both
Models and repeatsProvider matrix, --repeat 3 for varianceeval_set runs several models at once with --modelrepeats 15 over 2 models and 2 conditions, 60 runs
Isolationcopy_working_dir per call; docs say it is not a sandboxBuilt-in Docker sandbox for bash, python and moreFresh 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 feature0.5.02026-11-25
Sandbox connection authNo per-sandbox controller token checkOnly the token from Together's relay, checked before installing the Guardian CA
Certificate installNo single-certificate limit beforeOne valid CA certificate only
Frame handlingNo frame-by-frame read or version checkOne frame at a time, unknown versions and oversized frames refused
Dependencies and inputsOlder undici, env values untypedundici 6.29.1; env values must be strings or the launch plan is refused
Repository linksREADME and package.json point at Nutlope/hurdlegithub.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 tested

To 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?
Node.js 22.18 or later plus the Claude Code or Codex CLI. Local runs use your own Anthropic or OpenAI key; sandboxed runs also need a Together key with credits.
How do local and sandboxed runs differ?
A local run starts the CLI on your machine as you, so it reads local files and uses your real keys, but Hurdle cannot see or block its requests. Guards and request checks exist only in sandboxed runs.
How is the pass rate computed?
Each task, model and condition combination runs as many times as repeats says, and passing runs are counted against the verdict you set. The viewer then splits that rate by task and condition.
Does a blocked request still reach my API?
No. Sandbox connections are routed through Guardian, which answers a guarded request with a 403 and counts the attempt as a failed run.

Official sources and scope

Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.