Introducing Hurdle: Run agent evals on your API, skills, and docs
Captured source
source ↗Introducing Hurdle: Run agent evals on your API, skills, and docs Webflow Analyze/Optimize tracking bridge -->
Introducing Polymorphic Inference, starting with Together Compiler →
Introducing Together Post-Training: Better models, faster runs, lower costs →
Introducing Together Link: Run open models inside the harness you already use →
The Open Source AI Stack: models, inference, routers, harnesses & tools →
GLM-5.3 vs. GLM 5.3 Flash on DeepSWE →
⚡ On-demand B200s now available on Together GPU Clusters →
All blog posts
Inference
Published 11/25/2026
Introducing Hurdle: Run agent evals on your API, skills, and docs
Hurdle is an open-source npm library that runs Claude Code and Codex against tasks on your platform, scores each run with code checks, guards and an LLM judge, and shows the pass rate by model and condition.
Authors
Mo King, Sam Barrowclough, Hassan El Mghari
Table of contents
40+ Models Chosen for Production...40+ Models Chosen for Production...40+ Models Chosen for Production...
If you’re building for developers, you already know that coding agents are one of the main ways devs access your API, SDK, and docs. To find out how well agents can work with your platform, you need to test them on real-world tasks, ideally across a representative sample of models, harnesses, and conditions. Orchestrating all of this by hand is extremely tedious, which we found out the hard way when we started doing evals at Together last spring. To automate the process, we spent the last six months building Hurdle , an npm library for running agent evals. Today we’re open-sourcing it so you can benchmark your platform's agent experience the same way we do. Get started today with npx hurdle init or by asking your agent to set it up for you. How Hurdle works Hurdle lets you test how well Claude Code and Codex can use your platform. You start by writing a task , which is just a prompt that a developer would hand to an agent working with your product. You can try to cover every task a developer might try, or focus on a few problem areas. Hurdle runs the agent against your tasks, records the session, and scores the run. Exactly how scoring works is up to you. You can pick one method, or mix and match: Code checks: Assertions about the run, such as the API requests the agent must make and the files or data it should produce. Guards: Rules that block actions the agent isn’t allowed to make, like starting an expensive GPU cluster—bad agent >:( Hurdle blocks the API request and counts any attempt as a failure. Judge: An LLM that reviews the recorded session against a rubric you write in plain English, and decides whether the agent passed.
You can also run each task under different conditions , which set the context the agent starts with. For example, you can run the same task on two fresh agents, one with and one without your MCP server installed, to see how much it helps or hurts. Same goes for running evals on multiple models: Hurdle runs every task against every agent/model combo you specify. Agents don’t always run the same way twice, so you can also repeat each task/model/condition combo several times to get an overall pass rate. Example task: Find the cheapest GPU cluster Here’s a real task we came up with during our own eval adventures: List the available GPU cluster regions and instance types, print the cheapest option, and show the exact command you would run to reserve it on demand for one hour. Do not actually reserve it. To pass, the agent has to look up live regions from the API, find current prices in the docs, and produce a valid reservation command—but most importantly, it should NOT create a paid cluster. Here’s how we wrote the first three requirements as Hurdle checks: // checks.mjs import { defineChecks } from "hurdle";
// Hurdle calls this function after the agent finishes export default defineChecks((run) => {
// Passes only if the agent made a successful GET /v1/compute/regions call // Request checks only work for sandboxed runs run.expect.request({ id: "regions", method: "GET", path: "/v1/compute/regions", status: 200, });
// The rubric for the LLM judge run.judge( "Using the recorded session, assess whether the agent " + "retrieved official pricing, compared supported options, " + "and produced a valid reservation command. " + "Mark fail if the required pricing evidence is missing. " + "Note confusing API responses and recovery attempts." ); }); And here’s the guard that prevents the agent from starting a real cluster. Hurdle enforces the guard while the agent works, and runs the checks after the agent finishes: // guard.mjs import { defineGuard } from "hurdle";
export default defineGuard((guard) => { // Block any request to create a cluster // The check fails if the agent tries the request guard.block.request({ id: "no-reservation", method: "POST", path: "/v1/compute/clusters", }); }); The eval suite To run a task, you add it to a suite , a small file that picks the tasks to run, the agents and conditions to run them with, and how many times to repeat each run. For the GPU cluster task, we’re using both a deterministic code check and an LLM judge, so we set the suite's verdict to hybrid and name a judge model: // example.suite.mjs import { defineSuite } from "hurdle";
export default defineSuite({ // The API under test, and the name of the env var that holds its key. api: { authorizationCredential: "TOGETHER_API_KEY", hosts: ["api.together.ai"], },
tasks: ["./tasks/gpu-cluster"],
// The two models we tested in June. agents: [ { runner: "claude-code", model: "claude-opus-4-8" }, { runner: "claude-code", model: "claude-sonnet-4-6" }, ],
// Use conditions to run each task with and without our GPU clusters skill. conditions: { baseline: {}, "with-skill": { skills: [{ name: "together-gpu-clusters", sourceDirectory: "skills/together-gpu-clusters" }], }, },
// Run every combination of task, agent, and condition 15 times. repeats: 15,
// A run passes only if the code checks and the judge both pass. verdict: "hybrid", judge: { model: "claude-opus-4-8" }, }); Run and view results npx hurdle run runs the suite. Adding --view opens the results viewer when the suite finishes: npx hurdle run --view Hurdle runs each task for every agent and condition in the suite, as many times as repeats says. For the suite above, that’s one task with two models under two conditions, 15 times each, or 60 runs. The checks appear in your terminal as each run finishes,...
Excerpt shown — open the source for the full document.
Notability
notability 7.0/10Notable agent eval tool launch from Together AI