Wink Pings

Does Installing MCP Actually Make Things Worse? Together Open-Sources Its Internal Agent Evaluation Framework

Together has open-sourced Hurdle, its internal agent evaluation framework. It uses tasks, code checks, guards, and LLM judging to test whether Claude Code and Codex can actually use your API and docs. People are already asking: are 15 repetitions enough to determine whether MCP helps or gets in the way?

Hassan, Together's head of developer experience, has open-sourced Hurdle, an internal agent evaluation framework the team has used for six months. It is an npm library for testing whether Claude Code and Codex can actually use your API, SDK, and docs to complete tasks. The command is npx hurdle init.

Why this is needed: coding agents are becoming one of the ways developers access APIs. Platform docs may be fine for humans, but hand them to an agent and it can stumble at every step. Hassan's team started building evals last spring; manually orchestrating models, harnesses, and conditions was too much work, so they built Hurdle.

Hurdle's workflow is not complicated. First write a task—the prompt a developer would throw at the agent. Run the agent, record the session, and then score it. Scoring can mix three kinds:

  • code checks: assert which API requests the agent made and what files or data it produced.
  • guards: prohibit dangerous actions, such as spinning up an expensive GPU cluster. Hurdle intercepts API requests; a single attempt counts as a failure.
  • judge: have an LLM watch the recording against an English rubric you write and decide whether it passed.

You can also set conditions. For example, run the same task twice: once with an MCP server installed and once without. Run across multiple models, multiple conditions, and repetitions, then look at the pass rate. In replies, Hassan said they run three setups: docs only, MCP only, and Skills only, then use the results to improve docs, APIs, MCP, and Skills. A commenter, Paul, said this could reveal that some teams' MCP makes the agent worse. That point is closer to reality than assuming that installing an MCP automatically makes things stronger.

The example task is to find the cheapest GPU cluster: list available regions and instance types, print the cheapest option, and give the exact command to reserve one on-demand for an hour—but do not actually reserve it. To pass, the agent has to check live regions, find current prices in the docs, produce a valid command, and not create a paid cluster. Hurdle uses checks and a guard to break these into separate pieces.

After running, use npx hurdle run --view to see results. The viewer shows pass rate, average duration, and average cost at the top, with a grid broken down by task and condition below. Results are stored in .hurdle/ and can be reopened later with npx hurdle view. Here a commenter, Mohssine, raised a question: with 15 repetitions, 12/15 versus 9/15 may still be within noise. The article does not say whether the viewer shows confidence intervals. If a team is going to use evaluation to decide whether to keep MCP, they had better define the number of repetitions and the decision criteria up front—do not mistake a coin toss for a conclusion.

Running locally is good for quick tests. Hurdle launches the claude or codex CLI in a temporary local workspace with a clean configuration. There are two limitations: it cannot see or intercept the agent's API requests, so guards and request checks cannot be used; and the agent runs as you, can read local files, and can use real API keys. For complex or risky tasks, use the sandbox.

The sandbox uses the Together Sandbox API. Each run gets a fresh environment where the agent executes code, installs dependencies, and calls APIs without touching your machine. Hurdle starts a local proxy called Guardian that connects to Together over WebSocket. All agent requests go back to Guardian, which allows or denies them. Your key never enters the sandbox; the agent gets a random placeholder, and Guardian swaps in the real key when forwarding. Intercepted requests return 403. By default, the sandbox does not restrict endpoints, so the agent can hit any API with your key. Therefore, use an evaluation-only key with a low balance, and add guards for dangerous actions.

To get started, you need Node.js 22.18 or higher and Claude Code or Codex CLI installed. In a new directory, run npx hurdle init; it creates evals/ with a starter suite and an example task. Put an Anthropic key or CLAUDE_CODE_OAUTH_TOKEN in .env.local. If you want to use the sandbox, also put in a Together API key. Run npx hurdle run --view to run the starter task, which asks the agent to copy a file to answer.txt, and a code check verifies the contents match. To try the sandbox, use the bundled Together API example: run npx hurdle init api-evals --example together-api, then npx hurdle setup api-evals and npx hurdle run api-evals --view. setup checks credentials and installs Guardian; it currently supports macOS or Linux. On cost, the original article says each run on the Together side costs less than a cent.

When connecting your own API, write MY_API_KEY=your_api_key in .env.local and add an api block to the suite, specifying the variable name and host. The agent will receive an environment variable with the same name. One limitation: the sandbox's Guardian only swaps the key into the Authorization header, so if your API carries the key another way, authentication will fail.

One judgment call: Hurdle's most valuable contribution is forcing people to admit they do not know how agents will use their docs. Do not start by laying out a full task suite. Pick a task users are already giving agents, write a prompt, add a check, and run it several times with the strongest model and one tier below. Look at the failing transcripts first, then talk about optimization. A commenter said docs written for agents will become the new SEO, and Hassan agreed. For people building crypto APIs, Aster's reply was more direct: agents will choose the API that works without guesswork, and docs will become distribution. That is a bit harsh, but worth testing.

Original tweet: https://x.com/nutlope/status/2127487956827131922

Hurdle intro article: https://x.com/i/article/2127480412855263232

发布时间: 2026-12-01 20:32