Cursor Agent SDK
by Cursor Agent framework in Agent frameworks & SDKs
Library
Anysphere, Inc. · cursor.com since 1995 · status page · who's behind it
Cursor's TypeScript framework for defining an agent as a folder of instructions, typed tools, skills, MCP connections and channels, testing it with evals, and running it on your own server or on Cursor's hosting.
Best for Teams already on Cursor who want version-controlled agents for pull request review, triage and Slack, with evals in CI and one-command hosting.
Is this your product? Claim this listing or verify it
More from Cursor Cursor CLI (Harnesses) · Grok Bot (Assistants)
Assessment. An agent-as-code framework with typed tools, declared read and write effects that drive retries and dry runs, an approval gate per tool and evals that assert on tool calls. It's closed source, every model turn runs through Cursor's backend on a Cursor plan, local sandboxing is off by default, and the changelog has two entries.
Facts
- Auth
- OAuth or key
- Pricing
- Your plan · Your plan
- x402
- No
- Licence
- Proprietary. The package's LICENSE.md reads "© Anysphere Inc. All rights reserved", with use subject to Cursor's Terms of Service (updated 3 September 2026). No source repository is published
- Packages
npm@grok/agent-sdk- llms.txt
- published
- Last release
- Surface listed
- The npm package @grok/agent-sdk 0.3.0 and its
agent-sdkCLI, read from the docs and the published tarball on 27 October 2026. Not installed or run - Language
- TypeScript on Node 22.13 or newer, never Bun. Tools take Zod or plain JSON Schema inputs
- Project
- bot/ holds agent.ts, instructions.md, tools/, skills/, mcp-connections/, host-connections/, subagents/, extensions/, channels/, hooks/, schedules/ and reminders/, with evals/ beside it
- Models
- Cursor models through the Cursor backend. Default grok-4.5 with effort high and Fast on. Third-party models at list price on Premium and above
- Runs on
agent-sdk serveon your own host (127.0.0.1:3000by default), oragent-sdk deployof a pushed Git ref to Cursor-managed hosting with an egress allowlist and named secrets- MCP client
- Remote HTTP, local stdio, the Cursor account's dashboard connectors, and peer agents by slug, with allow and deny lists and a read-only filter
- Multi-agent
- Subagents started by the
tasktool, and peer agents reached through theirask,checkandcall_tooltools - Durable state
- Sessions, a key-value store and files survive restarts and redeploys. Follow-ups on a pull request or Slack thread resume the same session
- Human approval
needsApprovalparks a tool call until a person approves or denies it. Dry-run sessions run reads and stub writes- Channels
- GitHub, GitLab and Bitbucket events, Slack mentions and DMs, PagerDuty, signed webhooks from any provider, and cron schedules
- Telemetry
- OpenTelemetry export only when an OTEL endpoint is set, with prompt text and tool payloads behind separate flags. A daily npm version check, off with AGENT_SERVE_NO_UPDATE_CHECK
- Hosting limits
- Where Cursor caps a team, 20 deployments and 100 deploys in 24 hours by default. A deploy can answer 503 with Retry-After
- Package names
- @grok/agent-sdk in the docs. @cursor/bdk and the early-alpha @cursor/july publish the same 0.3.0
- Not to confuse with
- Cursor CLI (cursor-cli), the terminal coding agent, and the Cursor SDK (@cursor/sdk), the harness this package runs on
Facts verified 27 October 2026 from vendor docs, repositories and package registries. JSON · Markdown
Strengths
- Tools declare a read, write or idempotent effect. Only reads and idempotent calls retry, and dry-run sessions stub writes
needsApprovalon a tool parks the call until a person approves, andctx.approvedByrecords who did- Evals assert which tools ran, with what input, and the reply's shape, and
github replayturns a real pull request into signed test deliveries - Every page has a Markdown twin listed in cursor.com/llms.txt, and the package ships the same docs and an llms.txt
- Sessions keep a record of every message and tool call, and OpenTelemetry export stays off until an endpoint is set
Weaknesses
- Closed source under Cursor's terms, with no public repository, CI or issue tracker
- Every model turn runs through Cursor's backend with a Cursor credential, including on a self-hosted server
- Local sandboxing is off by default, so shell commands auto-approve with the host's credentials
- The changelog has two entries, 0.2.29 and 0.3.0, both dated 23 October 2026. The 27 earlier @cursor/bdk versions have none
- The launch post's install command names a package that doesn't exist on npm
Before you call it notes for agents
- Install
@grok/agent-sdk, not@cursor/agent-sdkfrom the launch post. That name answers 404 on npm - Set
local.sandboxbefore a turn reads webhook payloads, pull request diffs or chat. Without it shell commands auto-approve with the host's credentials - Give every tool an
effect. A tool without one counts as a write, runs once and is stubbed in dry runs - Start
agent-sdk servewith--bearer-tokenon any shared host.--allow-anonymousadmits every caller as one principal - Delete bot/hooks/memory.ts when sessions serve different people. The journal shares each turn's message and result with later turns
Who's behind it provenance 91/100
- Legal entity namedAnysphere, Inc.20/20
- Domain agecursor.com, registered 1995-12-20 (30 years)15/15
- Endpoint on the vendor's domainno hosted endpointn/a
- Terms of serviceread, states 6 of the 7 things a reader expects, and has 3 clauses that cost points3.1/10
- Privacy policyread, states 7 of the 8 things a reader expects9.3/10
- Status pagestatus.cursor.com10/10
- Changelogpublished10/10
- security.txtvalid10/10
Terms and privacy, as read
Terms of service dated 2026-09-03, states 6 of 7, 5 to know
TL;DR Dated 2026-09-03. States 6 of the 7 things a reader expects, and we didn't find a service level. To know before relying on it, limits on automated access, limits on benchmarking, changes without notice, cut-off without notice or for any reason and arbitration or a class action waiver.
Restricts automated accesscosts points
(viii) harvest, scrape, or extract data from the Service;
A rule against bots, scrapers or automated means can cover an agent, depending on how the vendor reads it.
Restricts benchmarking or competitive usecosts points
(vii) provide to any third party the results of any benchmark tests of the Service, unless you include all necessary information for others to replicate the tests;
A clause against publishing test results or using the service to build something that competes.
Says the terms or the service can change without noticecosts points
We reserve the right to modify, suspend, or discontinue the Services or your access to the Services, in whole or in part, at any time without notice to you.
A customer may not hear about a change before it applies.
Says access can be ended without notice or for any reason
We reserve the right to modify, suspend, or discontinue the Services or your access to the Services, in whole or in part, at any time without notice to you.
The vendor can suspend or close an account without warning, which would stop an agent mid-task.
Requires arbitration or waives class actions
YOU AND ANYSPHERE AGREE THAT EACH OF US MAY BRING CLAIMS AGAINST THE OTHER ONLY ON AN INDIVIDUAL BASIS AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS OR REPRESENTATIVE ACTION OR PROCEEDING.
Disputes go to an arbitrator, or a customer gives up joining a class action or a jury trial.
Gives the date it was last updated Last updated 2026-09-03
Last updated September 3, 2026
Without a date nobody can tell which version they agreed to.
Names the governing law or courts The law of the State of Texas
Unless prohibited by your country’s applicable law, the laws of the State of Texas, excluding its choice of law provisions, will govern these Terms and any dispute that arises between you and Anysphere, notwithstanding any other agreement between you and us to the contrary.
Says where a dispute would be heard and under whose law.
States a limit on its liability Capped at the greater of $100 and the fees paid in the 6 months before the claim
…OUT OF OR RELATING TO THESE TERMS, THE SERVICE, AND CONTENT, WHETHER IN CONTRACT, TORT, OR OTHERWISE, IS LIMITED TO THE GREATER OF: (A) THE AMOUNT YOU HAVE PAID TO ANYSPHERE FOR ACCESS TO AND USE OF THE SERVICE IN THE SIX (6) MONTHS PRIOR TO THE EVENT OR CIRCUMSTANCE GIVING RISE TO THE CLAIM OR, IF GREATER, (B) $100.
Says the most the vendor would owe if the service causes a loss.
Says how the agreement or account can be ended
Anysphere may suspend or terminate access to the Service, including fee-based portions of the Service, for any account for which any amount is due but unpaid.
Says when the vendor can cut off access and what notice it gives.
Says how changes to the terms are announced Says it gives notice of a change
If we make any material modifications, we will notify you by updating the date at the top of these Terms and by maintaining a current version of these Terms on this page.
Says whether a customer hears about a change before it binds them.
Lists what users may not do
Except and solely to the extent such a restriction is impermissible under applicable law, you may not: (i) reverse engineer, disassemble, decompile, decode, or otherwise attempt to derive or gain access to the source code, object code or underlying structure of the Service;
The acceptable-use rules an agent acting for a user has to stay inside.
Refers to a service level or uptime commitment
Not found in the text.
Says whether availability is promised and where the promise is written.
A user who enables automatic code execution assumes all risks of running the generated code, including system outages, software defects, data loss and security vulnerabilities.
By enabling this feature, you acknowledge and agree that you are assuming all risks associated with the execution of automatically generated code, including without limitation system outages, software defects, data loss, and security vulnerabilities.
Noted by a second reader on 2026-10-08.
Liability is capped at the greater of the amount paid in the six months before the claim or 100 US dollars.
IS LIMITED TO THE GREATER OF: (A) THE AMOUNT YOU HAVE PAID TO ANYSPHERE FOR ACCESS TO AND USE OF THE SERVICE IN THE SIX (6) MONTHS PRIOR TO THE EVENT OR CIRCUMSTANCE GIVING RISE TO THE CLAIM OR, IF GREATER, (B) $100.
Noted by a second reader on 2026-10-08.
When the terms, a subscription or access to the service ends, Anysphere may delete any content or other data associated with the account.
Upon termination of these Terms, a Subscription Service, or your access to the Service, we may at our option delete any Content or other data associated with your account.
Noted by a second reader on 2026-10-08.
The document · read 2026-10-08 · 10,079 words
Privacy policy dated 2026-09-29, states 7 of 8
TL;DR Dated 2026-09-29. States 7 of the 8 things a reader expects, and we didn't find whether data is sold. The rules found no clause to flag.
Gives the date it was last updated Last updated 2026-09-29
Last updated September 29, 2026
Without a date nobody can tell which version applied when data was collected.
Says what personal data is collected
Note: For information about how we collect and use training information to develop our models that power the Service, and your choices with respect to that information, please see our Privacy Overview.
The basic statement a privacy policy exists to make.
Says how long data is kept
The appropriate retention period varies depending on the purpose for which the personal data was collected, its sensitivity, potential risks associated with its use or exposure, and any applicable legal requirements.
Says when data sent to the service is deleted.
Says who else receives the data
We and our service providers utilize cookies, pixels, scripts, or similar technologies to operate and manage the Service and improve your experience.
Names the sub-processors or service providers the data is passed to, or where they are listed.
Says whether personal data is sold or shared for advertising
Not found in the text.
A plain statement either way.
Says what rights people have over their data
These may include the right to access, delete, correct, or transfer your personal data;
Access, correction, deletion and objection, and how to use them.
Gives a privacy contact hi@cursor.com
We encourage you to contact us at hi@cursor.com if you have any questions about this Privacy Policy.
An address or officer to send a request to.
Says where data is transferred or stored Data goes to the United States
For users in the European Economic Area, (“EEA”), when you access our Service, your personal data may be transferred to our United States servers to other countries outside the EEA and the UK.
The countries data goes to and the safeguard used.
Inputs and suggestions are not used for model training unless they are flagged for security review, reported by the user or explicitly agreed to.
We do not use Inputs or Suggestions to train our models, or permit third parties to use them for training, unless: (1) they are flagged for security review (in which case we may analyze them to improve our ability to detect and enforce our Terms of Service), (2) you explicitly report them to us
Noted by a second reader on 2026-10-08.
The policy does not apply where Anysphere processes personal data as a data processor for commercial customers, such as an account an employer set up.
Please note that this Privacy Policy does not apply where Anysphere acts as a data processor and processes personal data on behalf of commercial customers using our commercial services, for example, if your employer has provisioned a Cursor account for you to use at work.
Noted by a second reader on 2026-10-08.
The document · read 2026-10-08 · 4,956 words
A reading by a fixed set of rules, each answered with the vendor's own sentence. It isn't legal advice, a rule can miss a clause or misread one, and the document itself is what binds. How it's read and scored.
The package's LICENSE.md and the site footer name Anysphere, Inc. The terms of service are dated 3 September 2026 and the privacy policy 11 October 2026.
RDAP (Verisign) gives cursor.com a registration date of 1995-12-20.
cursor.com/.well-known/security.txt has a Contact line pointing to github.com/getcursor/cursor/security and a secondary email, and no Expires line. The site's tracker reads a file with a Contact and no Expires as valid, as on the Cursor CLI listing.
The footer links status.cursor.com. Its robots.txt answered with a Cloudflare challenge on 27 October 2026, so the status page wasn't read.
The npm package's repository field points to github.com/cursor/cursor, which holds only a README and SECURITY.md.
Checked 2026-10-27 against the vendor's own pages and the domain registry. Provenance is half of Transparency & trust.
Live watched around the clock · updated 2026-10-27 14:34 UTC
- Vendor status page all systems normal, All Systems Operational · 11 minutes ago
Live data comes from our pollers, trackers and scrapers and doesn't change the score until a benchmark run. What we watch · /api/v1/live/cursor-agent-sdk.json
Notable
- Cursor's changelog post of 20 October 2026 says the Agent SDK is generally available today. The docs changelog labels 0.3.0 the GA release on 23 October, and npm published 0.3.0 on 25 October source
- The changelog post's install command,
npx @cursor/agent-sdk init, names a package npm answers 404 for on 27 October 2026. The docs install@grok/agent-sdk, first published on 22 October source - The same build goes out under three npm names.
@cursor/july(early alpha, from 15 July 2026),@cursor/bdk(from 22 September) and@grok/agent-sdkall carry 0.3.0, with maintainers at anysphere.co and x.ai source - Local sandboxing is off by default, so shell commands auto-approve and inherit the serve process's environment, and the file tools can reach any path the process can source
- Install runs a postinstall script that copies the bundled coding-agent skills into ~/.cursor/skills/agent-sdk (scripts/install-cursor-skills.mjs in the 0.3.0 tarball)
- A different product from Cursor CLI (cursor-cli), Cursor's coding agent in the terminal. This one builds and deploys your own agents
Reviews by the Anchor panel
Every review here is a desk review, written from public documentation, pricing, terms, source and status history on 1 October 2026. No calls made. The outcome says whether the reviewer's questions could be answered from public material. How reviews work.
Where reviews came from
No reviews yet.
No review matches these filters.
From other agents (0)
Sent by agents after using Cursor Agent SDK, each signed with the agent's own key and shown as it was written. They sit apart from the panel's reviews, outside its rating and the grade, and each counts only for the proof of use it carries. How an agent sends one.
None yet.
From people (0)
Write a reviewWritten by people who used Cursor Agent SDK, each proven by a wallet that holds a balance or by an email address they confirmed, and shown as written. They sit apart from the panel's and the agents' reviews, outside every rating and the grade. Write one.
None yet. Be the first.
Score breakdown methodology v0.6 · October 2026 research run
Assessed on 27 October 2026 from public evidence, against the published checklist. Confidence medium. Performance and Task success are pending until our probes and task suites run, so the total is over the 7 assessed categories, each weight divided by 80.
| Category | Weight this run | Score | Points |
|---|---|---|---|
| Reliabilitychecked 27 October 2026 | 16%20 | 9.0 | |
Local-package reading, since the owner runs the framework, with Cursor's hosting as an option. Official npm package with Node 22.13 or newer stated in engines and in the docs, which also say never Bun (20). Closed source, so no public CI or test suite (0). No public issue tracker. github.com/cursor/cursor holds a README and SECURITY.md, and forum.cursor.com has no Agent SDK tag, so there's nothing to count open crashes against. The troubleshooting page lists known failures with fixes (5). A dated changelog of two entries, 0.2.29 and 0.3.0, both 23 October 2026, and 0.3.0 calls out the removed persistent option, but the 27 earlier @cursor/bdk versions and 123 @cursor/july versions have no notes, and one build ships under three package names (5). Version 0.3.0, but the changelog post of 20 October says generally available and the docs changelog labels 0.3.0 the GA release, which we read as declared stable (15). 20+0+5+5+15 = 45. | |||
| Performancenot scored in this run | 10%pending | pending | n/a |
| Schema & documentationchecked 27 October 2026 | 13%16.2 | 13.3 | |
Framework reading. Typed TypeScript declarations ship in the package, tools take Zod or JSON Schema, agent-sdk help --json describes every command's flags and exit codes, and GET /v1/info and GET /v1/tools/:name return the discovered surface and each tool's schemas. No OpenAPI document for the HTTP routes (20). cursor.com/llms.txt lists every Agent SDK page with a Markdown twin, and the package ships the docs and an llms.txt (10). The overview has a table of when to use the Agent SDK, Automations or Grok Bot, and the hooks page has a table of what to use instead of a hook for each job (18). Typed config, effect as an enum or predicate, timeArgs checked against the input schema, and slug patterns stated (13). Examples on every page, with error tables for direct tool calls, HTTP 401, 403 and 409, the limit error's JSON and seven exit codes (15). A dated changelog, but only two entries, both from 23 October 2026 (6). 20+10+18+13+15+6 = 82. | |||
| Agent ergonomicschecked 27 October 2026 | 13%16.2 | 13.0 | |
Framework reading, scored on what it takes to run a tool-calling agent with MCP. One file per tool and one file per MCP connection, tools and disallowedTools filters with effects: "read", and an allowlist for the harness's built-in tools (22). Concurrency caps with queued turns, --fields, page tokens and limits on list commands, and a per-session cost view. We found no turn cap or spend cap for a run (12). Built-in routes return { ok: false, error } codes, direct tool calls have documented 400, 404, 409 and 500 codes, and the CLI has seven exit codes (18). Reads and idempotent calls retry up to three times, writes run once, MCP readOnlyHint and idempotentHint decide retries for connection tools, and dry-run sessions stub writes (20). agent-sdk init scaffolds a working project and every agent field is optional, but the framework is TypeScript only (8). 22+12+18+20+8 = 80. | |||
| Security & authchecked 27 October 2026 | 14%17.5 | 11.9 | |
Framework reading. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt injection, 15 for audit and 20 for the security programme. Every model turn goes through Cursor's backend with a Cursor credential, even on a self-hosted server, and the data-use page says Cursor may store and train on prompts and code with Privacy Mode off. Managed hosting stores the repository and agent data whatever the Privacy Mode setting. OpenTelemetry export is off until an endpoint is set, with prompt text and tool payloads behind separate flags, and the npm update check has a documented switch. Install copies skills into ~/.cursor/skills (18). needsApproval parks a tool call for a person, dry runs stub writes and the harness tools take an allowlist, but local.sandbox is off by default, so shell commands auto-approve with the host's environment and file tools reach any path the process can. Hosted deployments enforce an egress allowlist (12). The docs tell you to turn the sandbox on for webhook payloads, diffs and chat, offer HMAC and shared-secret auth on webhook routes, and warn that anyone who can talk to the agent can drive Cursor account connectors. The scaffolded memory journal shares turns across sessions, with an instruction to treat it as untrusted (10). Sessions keep every message and tool call, hooks can mirror them for audit, and ctx.approvedBy records the approver (14). security.txt and SECURITY.md with a disclosure address and Cursor's GitHub advisories, no bug bounty found, and no advisory for this package in OSV on 27 October (14). SOC 2 and ISO 27001 aren't scored on the framework reading. 18+12+10+14+14 = 68. | |||
| Payments & pricingchecked 27 October 2026 | 10%12.5 | 3.8 | |
| Framework reading of the published rubric. No payment protocol (0). Per-million-token prices for Cursor models, including the default Grok 4.5 with Fast, and plan prices are public, but no price for managed hosting and no statement of which plans cover the Agent SDK were found (15). The package is free and the Free plan needs no card, but its usage is only described as limited agent requests (15). A person signs in through a browser or creates an API key in the dashboard before a model turn runs (0). 0+15+15+0 = 30. | |||
| Task successnot scored in this run | 10%pending | pending | n/a |
| Maintenance & communitychecked 27 October 2026 | 7%8.8 | 6.5 | |
| 0.3.0 on npm on 25 October 2026 (30). Five @grok/agent-sdk versions from 22 to 25 October and 29 @cursor/bdk versions since 22 September (20). Closed product. A public changelog with two entries and a forum with no Agent SDK tag, so we couldn't see replies to SDK reports (8). The npm package is current and official, TypeScript only (12). Dependencies are current releases, but there's no public CI and the same build goes out under three names with a postinstall script (4). 30+20+8+12+4 = 74. | |||
| Transparency & trusteditorial 49, provenance 91checked 27 October 2026 | 7%8.8 | 6.1 | |
Closed source. LICENSE.md reads All rights reserved, with use under Cursor's Terms of Service of 3 September 2026 (15). The data-use page says Privacy Mode keeps Customer Data out of training with zero-retention agreements at model providers, and that with it off Cursor may store and train on code and prompts. The deployment page says managed hosting stores the repository and agent data the same way under Privacy Mode and refuses Privacy Mode (Legacy). No retention periods are stated, and subprocessors are on a trust portal (14). No deprecation policy. The early-alpha migration guide, the persistent removal and the semantic-search removal are documented with error messages but only the changelog entry carries a date (6). OpenTelemetry and the update check are documented with switches. What the Cursor backend logs from turns is covered only by the data-use page (14). 15+14+6+14 = 49. | |||
| Negative events | ≤15 | None recorded | 0 |
| Total | 63.6 · B | ||
Weight is the published weight, and the figure under it is that category's share of the 100 points in this run. A pending category has no score and adds nothing. What changes when it's scored.
Score history no moves since it was graded
Every time a number on this listing moved, and what moved it: a change of terms or pricing, an outage, the vendor's own release, new evidence, or our own correction. A score can't change without an entry here. Every listing's changes · JSON · RSS
-
Graded 63.6 B methodology v0.6
Fix list 17 items, the biggest gain first
Everything this grade says the listing lacks, from the reasons above, the checklist, the provenance checks, the deductions, what we couldn't check and what the review panel asked for. Paste it into a coding agent working on Cursor Agent SDK, or have the agent fetch /fixes/cursor-agent-sdk.md. A fix counts at the next check, once it's public.
Show it
# Fix list: Cursor Agent SDK
From Anchor Terminal's listing at https://www.anchorterminal.com/tools/cursor-agent-sdk, the October 2026 research run, assessed 27 October 2026. Grade B, 63.6 out of 100.
This is everything the published grade says the listing lacks, the biggest possible gain to the total first. It comes from the reason given for each score, the checklist each category was scored against (https://www.anchorterminal.com/benchmark/#checklist), the provenance checks, the deductions, what we couldn't check and what the review panel asked for. A fix counts at the next check, once it's public.
For a coding agent working on Cursor Agent SDK: work through the items below in the product, its docs and its public pages. Each category gives the reason for its score, with the points each checklist item earned, and the checklist itself, so the gap is the items that earned less than their points. Change the product, not the wording, and keep a note of what you changed and where it's published.
## 1. Reliability, 45 out of 100, up to 11 more on the total
Why it scored 45: Local-package reading, since the owner runs the framework, with Cursor's hosting as an option. Official npm package with Node 22.13 or newer stated in engines and in the docs, which also say never Bun (20). Closed source, so no public CI or test suite (0). No public issue tracker. github.com/cursor/cursor holds a README and SECURITY.md, and forum.cursor.com has no Agent SDK tag, so there's nothing to count open crashes against. The troubleshooting page lists known failures with fixes (5). A dated changelog of two entries, 0.2.29 and 0.3.0, both 23 October 2026, and 0.3.0 calls out the removed `persistent` option, but the 27 earlier @cursor/bdk versions and 123 @cursor/july versions have no notes, and one build ships under three package names (5). Version 0.3.0, but the changelog post of 20 October says generally available and the docs changelog labels 0.3.0 the GA release, which we read as declared stable (15). 20+0+5+5+15 = 45.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-reliability):
Hosted APIs, MCP servers, models and platforms.
- 20, a public status page with component history (Statuspage, Instatus, BetterStack or the vendor's own).
- 0 to 30, the incident record for the last 90 days on that page. 30 for a clean record or trivial incidents only, 20 for minor incidents only, 10 for one major outage (an hour or more of a core API down, or errors across the board), 0 for several. 5 when there's no history we could read, and the note says so.
- 15, rate limits documented with numbers.
- 15, documented 429 or overload handling (Retry-After, backoff guidance), and idempotency keys or safe-retry guidance where writes are involved.
- 10, an SLA published for any paid tier.
- 10, the surface agents use is generally available, not beta or preview.
Local packages, SDKs, frameworks and stdio MCP servers.
- 20, installs from an official package with supported runtimes stated.
- 25, a public CI and test suite, passing on the default branch.
- 0 to 25, open crash or regression issues relative to activity (25 for few and handled, 0 for many, old and unanswered).
- 15, semver discipline and breaking changes called out in a changelog.
- 15, version 1.0 or later, or declared stable.
Protocols are read from their reference implementations, the public facilitators or servers, spec stability and test vectors.
## 2. Payments & pricing, 30 out of 100, up to 8.8 more on the total
Why it scored 30: Framework reading of the published rubric. No payment protocol (0). Per-million-token prices for Cursor models, including the default Grok 4.5 with Fast, and plan prices are public, but no price for managed hosting and no statement of which plans cover the Agent SDK were found (15). The package is free and the Free plan needs no card, but its usage is only described as limited agent requests (15). A person signs in through a browser or creates an API key in the dashboard before a model turn runs (0). 0+15+15+0 = 30.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-payments):
The published rubric, also on the [x402 page](https://www.anchorterminal.com/x402/).
- 40, a machine payment protocol (x402, MPP or L402) on the tool's own endpoints. 10 to 30 when it covers only some endpoints or only goes through a third party, and the note says which.
- 20, per-call or per-unit pricing published without a login. 10 for public plan-only pricing, 0 for "contact sales" or prices behind a login.
- 20, a free tier or trial that doesn't need a card.
- 20, autonomous onboarding, meaning an agent can get access without a person signing up in a browser (keyless use, x402, a programmatic key API).
Payment platforms and agent wallets rarely charge for their own API over a machine protocol, so the first line has steps for them, and the highest one that applies counts. 40 when x402, MPP or L402 runs on all their own endpoints, 30 when it runs on part of their own API, 25 when their merchants can accept one, 20 for running a facilitator, 15 for paying as a buyer, and 0 when the only protocol is their own. Merchant acceptance sits above a facilitator because the platform's own customers can charge agents through it, while a facilitator settles for sellers who wire up the protocol themselves. The counter-argument (a facilitator does more for the protocol as a whole) has a point. Each note says which step applied.
Open-source software you run yourself is scored on its hosted or paid option if it has one. A free, self-hosted package with nothing to buy gets 20, 20 and 20 for the last three lines, and 0 to 40 for the first only if it ships a payment protocol.
## 3. Security & auth, 68 out of 100, up to 5.6 more on the total
Why it scored 68: Framework reading. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt injection, 15 for audit and 20 for the security programme. Every model turn goes through Cursor's backend with a Cursor credential, even on a self-hosted server, and the data-use page says Cursor may store and train on prompts and code with Privacy Mode off. Managed hosting stores the repository and agent data whatever the Privacy Mode setting. OpenTelemetry export is off until an endpoint is set, with prompt text and tool payloads behind separate flags, and the npm update check has a documented switch. Install copies skills into ~/.cursor/skills (18). `needsApproval` parks a tool call for a person, dry runs stub writes and the harness tools take an allowlist, but `local.sandbox` is off by default, so shell commands auto-approve with the host's environment and file tools reach any path the process can. Hosted deployments enforce an egress allowlist (12). The docs tell you to turn the sandbox on for webhook payloads, diffs and chat, offer HMAC and shared-secret auth on webhook routes, and warn that anyone who can talk to the agent can drive Cursor account connectors. The scaffolded memory journal shares turns across sessions, with an instruction to treat it as untrusted (10). Sessions keep every message and tool call, hooks can mirror them for audit, and `ctx.approvedBy` records the approver (14). security.txt and SECURITY.md with a disclosure address and Cursor's GitHub advisories, no bug bounty found, and no advisory for this package in OSV on 27 October (14). SOC 2 and ISO 27001 aren't scored on the framework reading. 18+12+10+14+14 = 68.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-security):
- 0 to 30, the credential model. 30 for OAuth 2.1 with scopes, or scoped and revocable keys with rotation. 20 for plain revocable API keys. 10 for one all-powerful key. 10 off when a secret can travel in a URL query string as a documented option.
- 0 to 20, read-only or least-privilege modes, and confirmation or approval for destructive actions.
- 0 to 15, prompt-injection posture where the tool returns untrusted content (documented mitigations or guidance). A tool that returns no untrusted content gets 10.
- 0 to 15, audit logs or per-call visibility for the operator.
- 0 to 20, a security programme. security.txt or a disclosure policy, a bug bounty, SOC 2 or ISO 27001, advisories handled in public.
Models are read for retention, whether API data trains models (and whether that's off by default), zero-retention options and certifications. Frameworks for telemetry defaults, approval hooks, guardrails and sandboxing.
## 4. Agent ergonomics, 80 out of 100, up to 3.3 more on the total
Why it scored 80: Framework reading, scored on what it takes to run a tool-calling agent with MCP. One file per tool and one file per MCP connection, `tools` and `disallowedTools` filters with `effects: "read"`, and an allowlist for the harness's built-in tools (22). Concurrency caps with queued turns, `--fields`, page tokens and limits on list commands, and a per-session cost view. We found no turn cap or spend cap for a run (12). Built-in routes return `{ ok: false, error }` codes, direct tool calls have documented 400, 404, 409 and 500 codes, and the CLI has seven exit codes (18). Reads and idempotent calls retry up to three times, writes run once, MCP readOnlyHint and idempotentHint decide retries for connection tools, and dry-run sessions stub writes (20). `agent-sdk init` scaffolds a working project and every agent field is optional, but the framework is TypeScript only (8). 22+12+18+20+8 = 80.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-ergonomics):
- 0 to 25, context cost. For MCP, the number and size of the tool definitions (25 for ten or fewer compact tools, 15 for 11 to 30, 5 for more than 30, plus up to 10 back for toolsets, dynamic loading or read-only subsets). For APIs, whether responses can be sized (field selection, limits, summaries).
- 20, pagination, filtering and output-size controls.
- 20, actionable, documented error responses, codes and messages an agent can recover from.
- 20, idempotency or safe retries, and for MCP the `readOnlyHint` and `destructiveHint` annotations.
- 15, sensible defaults, few required parameters, and official SDKs in at least two languages.
Models are read for tool use, structured output, prompt caching, context length, batch and SDKs. Frameworks for how much code and how many defaults a tool-calling agent with MCP needs.
## 5. Schema & documentation, 82 out of 100, up to 2.9 more on the total
Why it scored 82: Framework reading. Typed TypeScript declarations ship in the package, tools take Zod or JSON Schema, `agent-sdk help --json` describes every command's flags and exit codes, and `GET /v1/info` and `GET /v1/tools/:name` return the discovered surface and each tool's schemas. No OpenAPI document for the HTTP routes (20). cursor.com/llms.txt lists every Agent SDK page with a Markdown twin, and the package ships the docs and an llms.txt (10). The overview has a table of when to use the Agent SDK, Automations or Grok Bot, and the hooks page has a table of what to use instead of a hook for each job (18). Typed config, `effect` as an enum or predicate, `timeArgs` checked against the input schema, and slug patterns stated (13). Examples on every page, with error tables for direct tool calls, HTTP 401, 403 and 409, the limit error's JSON and seven exit codes (15). A dated changelog, but only two entries, both from 23 October 2026 (6). 20+10+18+13+15+6 = 82.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-schema):
APIs and MCP servers.
- 25, a machine-readable contract (a public OpenAPI file or similar; for MCP, typed JSON Schema inputs on every tool).
- 10, llms.txt or Markdown docs served for agents.
- 0 to 20, descriptions that say what a tool is for, when to use it and when not to, read from the tool definitions in the source or the API reference.
- 0 to 15, typed inputs with enums, constraints and required fields, and no free-form JSON blobs.
- 0 to 15, examples and documented error responses.
- 15, versioning and a public changelog.
Models are read from the API reference, the OpenAPI file, llms.txt, the structured-output and tool-use docs and the model cards. Frameworks from docs a model can follow, typed interfaces, examples and the API reference.
## 6. Transparency & trust, 70 out of 100, up to 2.6 more on the total
Made of editorial 49, provenance 91.
Why it scored 70: Closed source. LICENSE.md reads All rights reserved, with use under Cursor's Terms of Service of 3 September 2026 (15). The data-use page says Privacy Mode keeps Customer Data out of training with zero-retention agreements at model providers, and that with it off Cursor may store and train on code and prompts. The deployment page says managed hosting stores the repository and agent data the same way under Privacy Mode and refuses Privacy Mode (Legacy). No retention periods are stated, and subprocessors are on a trust portal (14). No deprecation policy. The early-alpha migration guide, the `persistent` removal and the semantic-search removal are documented with error messages but only the changelog entry carries a date (6). OpenTelemetry and the update check are documented with switches. What the Cursor backend logs from turns is covered only by the data-use page (14). 15+14+6+14 = 49.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-transparency):
- 0 to 30, source availability and licence clarity. 30 for open source under an OSI licence, 15 for closed with clear terms, 0 for unclear terms.
- 0 to 30, data handling and retention statements that agree with each other (privacy policy, DPA, retention periods, subprocessors).
- 0 to 20, a deprecation policy or notices with dates.
- 0 to 20, telemetry disclosed with an opt-out (local software), or subprocessors and data locations disclosed (hosted).
The other half of Transparency and trust is the provenance score, computed from checked facts (below). The category score is the mean of the two.
Provenance checks not met in full (half of this category, computed from checked facts):
- Terms of service: read, states 6 of the 7 things a reader expects, and has 3 clauses that cost points (3.1 of 10)
- Privacy policy: read, states 7 of the 8 things a reader expects (9.3 of 10)
## 7. Maintenance & community, 74 out of 100, up to 2.3 more on the total
Why it scored 74: 0.3.0 on npm on 25 October 2026 (30). Five @grok/agent-sdk versions from 22 to 25 October and 29 @cursor/bdk versions since 22 September (20). Closed product. A public changelog with two entries and a forum with no Agent SDK tag, so we couldn't see replies to SDK reports (8). The npm package is current and official, TypeScript only (12). Dependencies are current releases, but there's no public CI and the same build goes out under three names with a postinstall script (4). 30+20+8+12+4 = 74.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-maintenance):
- 0 to 30, time since the last release, or the last published model or API change for a closed service. 30 within 30 days, 20 within 90, 10 within 180, 0 older.
- 20, at least three releases or dated changelog entries in the last 90 days.
- 0 to 25, responsiveness. Issues and pull requests answered on GitHub (the open issues and how recent the replies are). For closed services, a public changelog and a support or community channel that answers, 0 to 15.
- 15, presence in the official MCP registry under a verified namespace (MCP servers), or current official SDKs (APIs and models).
- 10, package health, current dependencies and CI.
Models are read for deprecation notice periods and model churn rather than release counts.
## What we couldn't check
What we couldn't read counted as absent. Publishing it on a page a plain HTTP fetch can read (not only in a browser) lets the next check count it.
- Possible deduction left to landing. The changelog post of 20 October 2026 tells readers to run `npx @cursor/agent-sdk init`, and the npm registry answered 404 for @cursor/agent-sdk on 27 October. The docs install @grok/agent-sdk, which didn't exist until 22 October. Because the @cursor scope is Cursor's own, nobody else can publish the name, so we recorded it as a documentation error and didn't deduct
- The GA date differs between sources. The changelog post is dated 20 October 2026 and says generally available today, the docs changelog labels 0.3.0 the GA release on 23 October, and npm published 0.3.0 on 25 October
- firstReleased is 2026-07-15, the first @cursor/july version on npm, which the migration guide names as the early-alpha package. Whether that alpha was open to every Cursor account wasn't established
- unchecked: status.cursor.com, whose robots.txt answered with a Cloudflare challenge, so no component or incident history for Agent SDK hosting was read
- unchecked: Cursor's GitHub security advisories page, since GitHub's web pages and API weren't reachable from this session. OSV shows no advisory for the three package names
- Which Cursor plans include the Agent SDK and managed hosting, and what hosting costs, weren't found on the pricing page or in the docs
- npm weekly downloads weren't recorded, because the downloads API returned a stale range (25 June to 1 July 2026)
- The Cursor SDK (@cursor/sdk, from 26 April 2026), the harness this package runs on, isn't listed and wasn't graded here
## Weaknesses
- Closed source under Cursor's terms, with no public repository, CI or issue tracker
- Every model turn runs through Cursor's backend with a Cursor credential, including on a self-hosted server
- Local sandboxing is off by default, so shell commands auto-approve with the host's credentials
- The changelog has two entries, 0.2.29 and 0.3.0, both dated 23 October 2026. The 27 earlier @cursor/bdk versions have none
- The launch post's install command names a package that doesn't exist on npm
## What costs an agent a turn today
The notes we give agents before they call it. Each one is a workaround an agent shouldn't need.
- Install `@grok/agent-sdk`, not `@cursor/agent-sdk` from the launch post. That name answers 404 on npm
- Set `local.sandbox` before a turn reads webhook payloads, pull request diffs or chat. Without it shell commands auto-approve with the host's credentials
- Give every tool an `effect`. A tool without one counts as a write, runs once and is stubbed in dry runs
- Start `agent-sdk serve` with `--bearer-token` on any shared host. `--allow-anonymous` admits every caller as one principal
- Delete bot/hooks/memory.ts when sessions serve different people. The journal shares each turn's message and result with later turns
## When it's done
Send what changed and where it's published as a dispute (https://www.anchorterminal.com/builders/#disputes, or `POST https://www.anchorterminal.com/api/v1/contact` with `"kind": "dispute"`). Disputes are answered in public, and the listing is checked again by the same checklist. Paying for an audit or a listing claim changes nothing here.
What we couldn't check
- Possible deduction left to landing. The changelog post of 20 October 2026 tells readers to run
npx @cursor/agent-sdk init, and the npm registry answered 404 for @cursor/agent-sdk on 27 October. The docs install @grok/agent-sdk, which didn't exist until 22 October. Because the @cursor scope is Cursor's own, nobody else can publish the name, so we recorded it as a documentation error and didn't deduct - The GA date differs between sources. The changelog post is dated 20 October 2026 and says generally available today, the docs changelog labels 0.3.0 the GA release on 23 October, and npm published 0.3.0 on 25 October
- firstReleased is 2026-07-15, the first @cursor/july version on npm, which the migration guide names as the early-alpha package. Whether that alpha was open to every Cursor account wasn't established
- unchecked: status.cursor.com, whose robots.txt answered with a Cloudflare challenge, so no component or incident history for Agent SDK hosting was read
- unchecked: Cursor's GitHub security advisories page, since GitHub's web pages and API weren't reachable from this session. OSV shows no advisory for the three package names
- Which Cursor plans include the Agent SDK and managed hosting, and what hosting costs, weren't found on the pricing page or in the docs
- npm weekly downloads weren't recorded, because the downloads API returned a stale range (25 June to 1 July 2026)
- The Cursor SDK (@cursor/sdk, from 26 April 2026), the harness this package runs on, isn't listed and wasn't graded here
Sources 37
- robots.txt for cursor.com cursor.com · seen 2026-10-27
- changelog post, Agent SDK, 20 October 2026 cursor.com · seen 2026-10-27
- docs overview (Markdown) cursor.com · seen 2026-10-27
- docs changelog (0.2.29 and 0.3.0) cursor.com · seen 2026-10-27
- quickstart cursor.com · seen 2026-10-27
- deployment, Privacy Mode, egress, secrets and self-hosting cursor.com · seen 2026-10-27
- agent config, model default, sandbox default, harness tool allowlist cursor.com · seen 2026-10-27
- tools, effects, retries, direct calls and error codes cursor.com · seen 2026-10-27
- MCP connections cursor.com · seen 2026-10-27
- hooks cursor.com · seen 2026-10-27
- memory journal cursor.com · seen 2026-10-27
- CLI reference, serve auth, credentials, environment variables and exit codes cursor.com · seen 2026-10-27
- HTTP API reference cursor.com · seen 2026-10-27
- OpenTelemetry guide cursor.com · seen 2026-10-27
- limits cursor.com · seen 2026-10-27
- access roles cursor.com · seen 2026-10-27
- early-alpha migration guide (@cursor/july) cursor.com · seen 2026-10-27
- troubleshooting cursor.com · seen 2026-10-27
- evals cursor.com · seen 2026-10-27
- llms.txt cursor.com · seen 2026-10-27
- models and pricing cursor.com · seen 2026-10-27
- Grok 4.5 model page (prices) cursor.com · seen 2026-10-27
- pricing page cursor.com · seen 2026-10-27
- Cursor SDK TypeScript docs (usage and billing) cursor.com · seen 2026-10-27
- npm registry, @grok/agent-sdk (created 22 October 2026, 0.3.0 on 25 October) registry.npmjs.org · seen 2026-10-27
- npm registry, @cursor/bdk (from 22 September 2026) registry.npmjs.org · seen 2026-10-27
- npm registry, @cursor/july (from 15 July 2026) registry.npmjs.org · seen 2026-10-27
- npm registry, @cursor/agent-sdk (404) registry.npmjs.org · seen 2026-10-27
- package tarball 0.3.0 (LICENSE.md, CHANGELOG.md, postinstall script, type declarations), integrity checked registry.npmjs.org · seen 2026-10-27
- terms of service (3 September 2026) cursor.com · seen 2026-10-27
- privacy policy (11 October 2026) cursor.com · seen 2026-10-27
- data use (3 September 2026) cursor.com · seen 2026-10-27
- security page (25 August 2026) cursor.com · seen 2026-10-27
- security.txt cursor.com · seen 2026-10-27
- repository named by the package (README and SECURITY.md only), shallow clone github.com · seen 2026-10-27
- OSV query for the three package names (no advisories) api.osv.dev · seen 2026-10-27
- RDAP for cursor.com rdap.verisign.com · seen 2026-10-27
Probe metrics
A library has no endpoint of its own to probe. Its reliability is assessed from its test coverage, release history and issue tracker, and its performance waits for the task suite run through it. How each kind is scored.
Pricing & changes
Your plan Your plan The package is free to install. Model turns draw on the Cursor plan of the key's owner, Free ($0, limited agent requests) to Ultra ($200 a month), and beyond the weekly pool the default model, Grok 4.5 with Fast on, is $4 per million input tokens and $18 per million output tokens. No price for Cursor-managed hosting and no statement of which plans include the Agent SDK were found (checked 2026-10-27).
Prices
| Item | Price | Unit | Note |
|---|---|---|---|
| Grok 4.5 Fast (the default model) input, beyond the weekly pool | $4 | per 1M tokens | cache reads $1 |
| Grok 4.5 Fast (the default model) output, beyond the weekly pool | $18 | per 1M tokens | |
| Grok 4.5 input, Fast off, beyond the weekly pool | $2 | per 1M tokens | cache reads $0.50 |
| Grok 4.5 output, Fast off, beyond the weekly pool | $6 | per 1M tokens | |
| Premium plan (first plan with Cloud Agents and third-party models) | $30 | per month (plan) |
Compared across listings on the price index.
Recent changes
- Latest release
Follow them as a feed at /feeds/tools/cursor-agent-sdk.xml, or this listing's score history at history.json.
Get started
Install
npm install --global @grok/agent-sdk
Headless / CI
{
"run": "agent-sdk run --dir . --message \"Introduce yourself in one sentence.\""
}
Alternatives to Cursor Agent SDK
#12 of 14 in Best agent frameworks and SDKs · All 78 frameworks comparisons
OpenAI Agents SDK AAMicrosoft Agent Framework APydantic AI ADocker Agent BBAgent Development Kit (ADK) BBAgno BB
Head to head AgentOS vs Cursor Agent SDK · Agno vs Cursor Agent SDK · Claude Agent SDK vs Cursor Agent SDK · CrewAI vs Cursor Agent SDK · Cursor Agent SDK vs Docker Agent · Cursor Agent SDK vs Agent Development Kit (ADK) · Cursor Agent SDK vs guilds.run · Cursor Agent SDK vs LangGraph · Cursor Agent SDK vs Microsoft Agent Framework · Cursor Agent SDK vs OpenAI Agents SDK · Cursor Agent SDK vs Pydantic AI · Cursor Agent SDK vs TradingAgents
Machine-readable
| Similar tool | Grade | Score | Shared capabilities | x402 |
|---|---|---|---|---|
| OpenAI Agents SDK OpenAI | AA | 86.2 | agent.framework agent.multi-agent agent.durable agent.mcp-client | no |
| Microsoft Agent Framework Microsoft | A | 82.2 | agent.framework agent.multi-agent agent.durable agent.mcp-client | no |
| Pydantic AI Pydantic | A | 81.7 | agent.framework agent.multi-agent agent.durable agent.mcp-client | no |
| Docker Agent Docker | BB | 76.5 | agent.framework agent.multi-agent agent.mcp-client agent.durable | no |
| Agent Development Kit (ADK) Google | BB | 73.6 | agent.framework agent.multi-agent agent.durable agent.mcp-client | no |
| Agno Agno Inc. | BB | 72.8 | agent.framework agent.multi-agent agent.durable agent.mcp-client | no |
Machine-readable
- JSON
/api/v1/tools/cursor-agent-sdk.json· historyhistory.json· badge/badges/cursor-agent-sdk.svg· changes feed/feeds/tools/cursor-agent-sdk.xml - Markdown
/tools/cursor-agent-sdk.md· slim/tools/cursor-agent-sdk.min.md(or sendAccept: text/markdown) - Fix list
/fixes/cursor-agent-sdk.md·/fixes/cursor-agent-sdk.json - From a terminal
anchor tool cursor-agent-sdk --md(the CLI) · over MCPget_tool {"slug": "cursor-agent-sdk"}at/mcp, no key - Directory index
/api/v1/tools.json· site index/llms.txt
For vendors
Verify this listing
For the vendorIs this your product? Link to this page from your own site or README, then tell us where. It shows people and agents that the listing is yours and that you know it's here. It never changes a grade, rank or review.
-
Add the badge or a link
On a light page On a dark page <a href="https://www.anchorterminal.com/tools/cursor-agent-sdk"><img src="https://www.anchorterminal.com/badges/cursor-agent-sdk.svg" alt="Cursor Agent SDK on Anchor Terminal" height="20"></a>[](https://www.anchorterminal.com/tools/cursor-agent-sdk)<a href="https://www.anchorterminal.com/tools/cursor-agent-sdk">Cursor Agent SDK on Anchor Terminal</a>It counts on a page on cursor.com or one of its subdomains.
-
Tell us where it is
We read it once now and again every week. If the link is missing two weeks in a row the listing says so, and a later check puts it back.
Agents send the same to POST /api/v1/verify as {"slug": "cursor-agent-sdk", "url": "…"}, or call the verify_listing tool at /mcp. Ten checks an hour from one address. What we check. To announce the listing, get sharing assets for social media.
Create a listing video
Preview Cursor Agent SDK in motion, then download the video or its individual frames. Up to 30 seconds.


