November 29, 2026
Grade the API, Not the Agent
Your API can pass every contract test you own and still be unusable by an agent.
Together AI just opened Hurdle, a way to test whether coding agents can actually use your API. The idea is simple: give an agent a real task against your API, watch where it gets stuck, and figure out whether the problem is the agent or your docs, your auth flow, and your error messages. (Source: https://app.alphasignal.ai/c?uid=1sepYCuTnbozLedYL&cid=ea54a22ef2221013&lid=oY3j6juTLVnzM2SB&mid=f8123e26-3b6c-4590-941c-c13c0465591c)
That distinction matters more every month. Agents are becoming a real class of API consumer. When an agent fails against your API today, the default assumption in most teams is that the model messed up. Sometimes it did. But sometimes the agent failed because the API never told it how authentication actually works, returned an error message written for a human skimming a dashboard, or behaved in a way the spec never mentioned. Teams are about to blame agents for failures their own APIs caused, at scale, and they will not have the evidence to tell the difference.
Schema validity is not usability
The tooling most teams rely on answers a narrow question: does this request and response match the schema? Contract tests, spec linters, and conformance checks are all valuable, and MockForge is an open source mock API generator in Rust, so we live in that world every day. But a schema cannot tell you whether a consumer can figure out your API. It cannot tell you that the one example in your docs uses a deprecated field, that your token endpoint needs a header the spec marks optional, or that your error for a rate limit looks identical to your error for a bad request.
A human developer hits those walls and works around them. They search, they guess, they open a support ticket, they read source code. An agent hits the same walls and stalls, retries, or invents a plausible workaround that quietly does the wrong thing. The failure looks like an agent failure. The cause sits in the API.
What an agent usability report should show
If you grade an API by agent task completion, the report has to be specific enough to act on. A single score is not enough. Here is what we think it needs:
The tasks. Representative jobs a consumer would actually do with the API, stated plainly, with a clear definition of done. Not schema operations in isolation, but the sequences real integrations perform.
The stall points. Every place the agent paused, retried, guessed, or failed, with the request and response context attached. A stall without context is an anecdote. A stall with the exact exchange that caused it is a bug report against your docs or your design.
Friction classified by side. Each stall labeled API-side or agent-side. API-side friction is missing examples, unclear auth, unhelpful errors, and undocumented behavior. Agent-side friction is the model misreading a clear instruction or choosing a poor approach. The classification is the whole point: it tells the API owner what is theirs to fix.
A per-task completion record. Which tasks finished, which finished with workarounds, and which failed outright, so an API team can track usability across releases the way they track test coverage today.
Run that against a mock and you can do it before a single real customer, human or agent, hits the problem. That is the workflow we are building toward. MockForge already has a static side of this: an agent-readiness spec check (issue #1740) that scores an OpenAPI spec before you generate mocks or MCP tools from it. The usability test (issue #1754) is the live counterpart: a reference agent runs real tasks against the mock, and the friction gets recorded and classified.
The shift underneath
API quality used to mean correct and documented. Agents add a third requirement: legible to a consumer that cannot improvise, cannot ask a coworker, and cannot tell you it is confused. It just fails, or worse, succeeds at the wrong thing.
The teams that adapt will stop asking only whether their API is valid, and start asking whether it is usable by the consumers they actually have now. Grade the API. The agent is only the messenger.