Skip to content
News

Developer tools

Together AI Hurdle: Eval Claude Code & Codex on Your API

How Together AI's MIT-licensed Hurdle scores coding agents with code checks, real-time 403 guards, LLM judges, and the Guardian proxy.

Together AI Hurdle: Eval Claude Code & Codex on Your API

Q. Can you automatically test whether Claude Code and Codex use your API, docs, and skills correctly? Yes, with Hurdle (npx hurdle init), an MIT-licensed open-source npm library released by Together AI on November 25, 2026. It runs real coding agents locally or inside an isolated sandbox and scores each run with code checks, API guards, and an LLM judge.

⚠️ Accuracy guardrail: This article reflects only facts verified directly from Together AI's official announcement (November 25, 2026) and the togethercomputer/hurdle GitHub README as of November 30, 2026. Repository sub-docs (authoring, detailed sandbox setup) and future pricing or model support changes were not inspected.

30-second summary

  • Release: Together AI open-sourced Hurdle under the MIT license on November 25, 2026 (requires Node.js 22.18+).
  • Supported agents: Works with Claude Code (ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN) and Codex (OPENAI_API_KEY or CODEX_API_KEY).
  • Three scoring layers: Combine deterministic code checks, real-time 403 request guards, and plain-English LLM judge rubrics (hybrid verdict).
  • Key isolation: In sandboxed runs, a local Guardian proxy (macOS and Linux) swaps real credentials into Authorization headers over a single WebSocket.

What is Hurdle? Measuring agent experience by the numbers

Hurdle is an open-source evaluation framework built to benchmark how reliably coding agents work with your API, SDK, docs, and skills. Instead of manually pasting prompts into agent CLIs, you define tasks, models, and conditions in a defineSuite file and store transcripts and pass rates in .hurdle/.

Together AI Hurdle official announcement page

From togethercomputer/hurdle, you can compare conditions such as baseline versus with-skill across repeated runs (for example, 15 repeats each for 60 total runs). While GitHub Copilot Evals Preview focuses on pull-request regression checks, Hurdle targets cross-model pass rates for your own API endpoints and documentation.

Advertisement

Three scoring methods: Code Checks, Guards, and LLM Judge

Hurdle evaluates both agent behavior and final artifacts across three layers.

Scoring method What it checks When it runs Typical use
Code checks Expected API requests, status codes, generated files After run Verify GET /v1/compute/regions returned 200 and output matches
Guards Forbidden API calls In real time during run Block paid POST cluster creation with 403 and mark fail
LLM Judge Full session transcript against a rubric After run Grade pricing comparison, recovery steps, and answer accuracy

Setting verdict: "hybrid" requires both deterministic code checks and the LLM judge to pass. Note that API request assertions (run.expect.request) and Guards only work in sandboxed runs.

Local runs vs. sandboxed runs: How Guardian works

Hurdle supports quick local runs for trusted tasks and isolated sandboxed runs when you need API inspection and guards.

Hurdle sandboxed execution and Guardian proxy architecture

Local runs launch claude or codex in a clean temporary workspace, but the agent still runs as you with local file access and real keys, so Hurdle cannot block API calls. Sandboxed runs (npx hurdle setup) start a local Guardian proxy (currently macOS and Linux only) that connects to Together Sandbox over one WebSocket.

The sandbox receives random stand-in keys, so leaking a transcript never exposes your real credentials. One caveat is that Guardian only swaps credentials into the Authorization header, meaning APIs that authenticate via custom headers or query parameters cannot use automatic key replacement.

Workflow and results viewer (npx hurdle run --view)

Getting started takes four steps: run npx hurdle init (or --agent codex) to scaffold evals/, then place your agent key in .env.local.

Developer desk setup showing API evaluation pass rates and terminal output

Running npx hurdle run --view opens a viewer showing overall pass rate, average duration, and average cost per run, plus a task-by-condition grid. Clicking any run reveals the full transcript, tool calls, API requests, and every check verdict. For a related look at OS-level agent isolation, see AWS Strands Box CLI Sandbox Guide.

Toris's take

When to use it? If you ship an API, MCP server, or agent skill and want hard pass-rate numbers across Claude Code and Codex rather than guesswork, Hurdle is ready to adopt right away.

There are clear boundaries to keep in mind. Guardian currently supports only macOS and Linux and swaps keys only in the Authorization header, so Windows teams or APIs using custom auth headers will hit limits unless they wrap auth or accept unguarded local runs. Always use a dedicated API key with a low balance limit for evals.

Sources

Advertisement