Agent framework with built-in evals

Cursor Agent SDK Evals: What They Test (Hands-on, Oct 2026)

Agent SDK is Cursor's product (Cursor is made by Anysphere). Evals Review is independent of Cursor.

Hands-on tested 27 Oct 2026 (docs review plus a small hands-on run)

Published 27 Oct 2026 · Last updated 27 Oct 2026

One 3-case eval run on our own Cursor account; see What we ran. Checked 2026-10-27. Anything we could not confirm says “unknown”. How we review.

Short answer: Agent SDK lets you build agents as a folder of Markdown prompts and TypeScript tools and run them on Cursor's hosting or your own server. Its evals are regression tests for those agents: fixed inputs, assertions on which tools ran, and code or LLM-judge checks on the reply, with JUnit output for CI. It is not a general eval platform; use it if your agent is built on Agent SDK.

Evals Review editorial team · Evals reference

When the built-in evals are enough: if your agent is built on Agent SDK and you need tool-call and reply checks with code or LLM judges and JUnit output in CI, the docs cover that. Look at Braintrust or Langfuse if you need a hosted experiments UI or production tracing, and at promptfoo or DeepEval if you need open-source evals that work with any LLM app, not just Agent SDK agents.

Quick pick

If you needPickWhy
Regression tests for an agent built on Agent SDKAgent SDK evalsBuilt in; asserts on tool calls and replies of the real agent
Open-source evals for any LLM app in CIpromptfooOpen source, not tied to one agent framework
Python test-style metricsDeepEvalOpen-source pytest-style metrics
Tracing plus evals plus human review, self-hostedLangfuseOpen-source platform with annotation queues
Hosted eval platform with experiments UIBraintrustCommercial platform for datasets, scorers and experiments

What's new (checked 27 Oct 2026)

  • 23 Oct 2026: version 0.3.0 marked “GA Release” in the Agent SDK changelog.
  • 26 Oct 2026: Cursor announced Agent SDK on X. We could not load the post, so no fact on this page comes from it.
  • Renamed: the package is now @grok/agent-sdk; the docs say it “was @cursor/bdk before” (Agent SDK overview).

Eval features compared (documented facts only)

Cursor Agent SDKpromptfooDeepEval
Assertion typesTrajectory checks (tool calls, order, events, subagents), text/regex, schema, similarity, numeric scoresequals, JSON structure, similarity, custom JavaScript/Python/Ruby, model-gradedMetrics (e.g. G-Eval) and custom metrics
Dataset formatsJSON, JSONL, YAMLYAML; CSV, JSONL, XLSX and Google Sheets test filesCSV and JSON
GradersCode matchers and LLM judges (factuality, summarizes, closedQA, sql, custom)Code assertions and LLM rubricsLLM-as-a-judge metrics and custom metrics
CI outputJSON, JUnit, artifact folder; exit code 1 on failureresults.json, HTML, JUnitdeepeval test run (Pytest), GitHub Actions example
Sources (checked 27 Oct 2026)Evals referenceassertions · test cases · CI/CDmetrics · datasets · CI/CD

Braintrust is left out of this table because we did not confirm its CI output format on its docs today. See Braintrust.

The eval feature, field by field

FieldWhat the docs saySource
What it measuresRun success, tool calls made or avoided, tool and event order, max tool calls, failed actions, subagent calls, loaded skills, tagged artifacts, reply contentReference
Test formatTypeScript files evals/**/*.eval.ts with defineEval; one test or a list of cases; multi-turn via repeated t.sendEvals guide
DatasetsJSON, JSONL or YAML loaders from the project; workspaceFiles seed inputs; GitHub webhook payloads can be replayed as fixturesReference
Code gradersMatchers such as includes (text/regex), schema matching (e.g. zod), similarity, t.score 0 to 1Reference
LLM-judge gradersfactuality, summarizes, closedQA, sql and a custom model prompt; .gate, .soft and .atLeast thresholds; judge model set in configReference
Human reviewUnknown: not described in the eval docs we read—
Repeatsiterations runs a case 1 to 100 times; maxConcurrency 1 to 200Reference
CI--json, --junit, --artifacts; exit code 1 on failures; --strict for soft thresholdsCLI reference
Results storageLocal runs write summary.json, results.jsonl and one JSON per case; a running server keeps remote batches (playground history, default 20)Reference
Results UIUnknown beyond the CLI, JSON files and server-side playground history mentioned in the reference—
Side effectsEval sessions carry purpose: "eval" so tools can skip real writesEvals guide

Hosting, licence and price

FindingSource
Package@grok/agent-sdk on npm, version 0.3.0; previously @cursor/bdknpm
Release0.3.0 marked GA on 23 Oct 2026 in the changelogChangelog
LicenceProprietary: "Cursor SDK License … Use is subject to Cursor's Terms of Service"LICENSE.md in package
Self-hostingYes, agent-sdk serve on Node 22.13+; Cursor-managed hosting also offeredDeployment
CredentialModel turns and judges need a Cursor credential (CURSOR_API_KEY)Evals guide
PriceUnknown: no Agent SDK or eval price found on the pages we read—

Not the same as “run Cursor in your evals”

Cursor also documents using its @cursor/sdk agent inside your own benchmark harness, then scoring the result with your own tests or judge. That is for benchmarking Cursor's agent; Agent SDK evals are for testing an agent you build. Run Cursor in your evals.

Who should use it

  • Use it if you build a PR reviewer, triage or Slack agent on Agent SDK and want each prompt or tool change checked before merge.
  • Look elsewhere if you need open-source code, framework-neutral evals, production tracing or human annotation: see LLM evaluation tools and AI agent evals.

What we ran

On 27 Oct 2026 at 14:24–14:26 IST we installed @grok/agent-sdk 0.3.0 on Node 22 and built a tiny agent: one Markdown prompt and one TypeScript tool (lookup_benchmark, which returns static data for two benchmarks). Agent and judge model: composer-2.5. Built-in Cursor tools were turned off. Each case ran once.

CaseWhat it checksResult
swe-toolTool was called; reply mentions GitHub issuesPassed (7.4 s)
gpqa-jsonTool was called; reply parses as JSON matching a Zod schema with task_count 198Passed (6.8 s)
unknown-judgeTool was called; LLM judge (closedQA, composer-2.5) checks it admits no data rather than inventing detailsPassed, judge score 1.000 (bar 0.8)

Totals: 3 passed, 0 failed. The --json run took 15.8 s by the CLI's own timer (about 18 s wall clock); the --junit run took 14.6 s by the JUnit file (15.6 s wall clock). The CLI printed no token, usage or cost figures, so we can't report the cost; Cursor's docs say SDK runs use the same pricing and request pools as the IDE. Issues we saw: harmless [bdk:otel] … You can only call end() on a span once log errors and a “GitHub auth: unavailable” notice. Neither affected results. Three cases on a toy agent show the workflow runs. They say nothing about quality at scale.

Raw output (session and trace IDs redacted): summary.json · results.jsonl · junit.xml · terminal transcript · source: instructions.md, tool, agent.ts, evals.config.ts, benchmarks.eval.ts.

How we checked

On 2026-10-27 we read Cursor's Agent SDK overview, evals guide, evals reference, CLI reference, deployment page and changelog, and the npm package metadata and LICENSE.md for @grok/agent-sdk 0.3.0. We then ran the small eval described above. We did not use the launch post on X as a source for any fact here. We give no ratings or benchmark scores. The only numbers are from our own 3-case run.

FAQ

What do Agent SDK evals measure?

Each eval sends fixed input to the real agent and checks the run: whether it succeeded, which tools it called or avoided, tool order, subagent calls, events, and the reply. Replies can be checked with matchers (text, regex, schema), similarity, numeric scores from 0 to 1, or LLM judges.

Which graders are built in?

Code assertions and matchers, plus model judges: factuality, summarizes, closedQA, sql, and t.judge.model for a custom prompt. The docs we read describe no human-review or annotation queue.

Can I run them in CI?

Yes. agent-sdk eval has --json, --junit and --artifacts flags, exits 1 on failed cases, and --strict also fails scored cases below their soft threshold. The docs suggest smoke-tagged evals on pull requests and the full suite on a schedule.

Is it open source, and what does it cost?

No open-source licence: the npm package's LICENSE.md says use is subject to Cursor's Terms of Service. Model turns need a Cursor API key. We found no published price for Agent SDK or its evals on the pages we read, so cost is unknown. Our 3-case test run printed no usage or cost figures.

Can I self-host it?

The deployment docs describe Cursor-managed hosting or self-hosting with agent-sdk serve on Node 22.13+. A self-hosted server still uses a CURSOR_API_KEY.

Does it replace Braintrust, Langfuse or promptfoo?

Only for agents built on Agent SDK. Its evals test those agents' trajectories; they are not a general tool for evaluating any LLM app, tracing production traffic or managing human review.

Sources

All read on 2026-10-27. Written by the Evals Review editorial team; we don't take payment for placement and this page has no affiliate links. How we review · corrections via the submit form.