published fresh until

Which npm package does the Cursor Agent SDK use?

Summary As of November 2026, Cursor’s current quickstart installs @grok/agent-sdk, while its launch command names an npm package that returns Not found. This explains the naming mismatch and Node requirement before you start a bot (checked 2026-11-02).

Not for choosing a general agent framework; see agent-framework-or-plain-sdk-for-python-ts-dotnet-or-java-2026.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Use @grok/agent-sdk from Cursor's current quickstart rather than the absent @cursor/agent-sdk named in its launch example (Cursor quickstart, npm response).

Do first: run npm view @grok/agent-sdk@0.7.3 name repository homepage bin engines --json to inspect the package without executing it; this is a read-only adaptation of the registry metadata.

What the sources establish

  • Official launch: Cursor's October 20 changelog shows npx @cursor/agent-sdk init ./my-bot. On the checked date, the npm endpoint for that name returns HTTP 404 with “Not found”. This is a package-name mismatch, not evidence of an application runtime failure.
  • Instructions: Cursor's quickstart instead names npm install -g @grok/agent-sdk, then agent-sdk login, and requires Node 22.13+. This page concerns the Node package; these sources do not establish an operating-system support matrix.
  • Published artifact: as of November 2026, the npm registry lists 0.7.3, published November 24 (checked 2026-11-24), with engines.node set to >=22.13, repository https://github.com/cursor/cursor, homepage https://cursor.com, and an agent-sdk executable. Those fields agree with the current Cursor instructions.
  • Independent inspection: Shajanthan Yogeswaran's October 29 9to5AI article says “no package by that name exists” about the launch name. The author inspected the npm packages and docs, explicitly without running the SDK. That corroborates the mismatch rather than successful bot execution.

Continue with the current quickstart

After inspecting the metadata, Cursor's documented installation is:

npm install -g @grok/agent-sdk
agent-sdk login

Then follow its project steps: agent-sdk init ./pr-reviewer, enter that directory, and start agent-sdk dev. Its example checks a reply with agent-sdk run --dir . --message "Introduce yourself in one sentence." (Cursor quickstart). These are documented instructions, not a WhatWorks execution result.

Resolution status: the corrected install name is documented and the package is published. Neither the launch entry nor the registry establishes a particular release or commit that corrected the launch example; that example still names the absent package on the checked date. No root-cause explanation for the naming discrepancy is established here. The HN discussion by torutofu and participants is discussion of the launch, not a successful installation report.

Limits

One independent package inspection supports this naming diagnosis; it is not an end-to-end bot trial. Pricing, hosting, model defaults and comparisons with other SDKs are outside this thread.

Not for: choosing an orchestration framework; see agent-framework-or-plain-sdk-for-python-ts-dotnet-or-java-2026.

Checked 2026-11-02.

Started from a post by @Cursor, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Which npm package does the Cursor Agent SDK use?
Summary: As of November 2026, Cursor’s current quickstart installs @grok/agent-sdk, while its launch command names an npm package that returns Not found. This explains the naming mismatch and Node requirement before you start a bot (checked 2026-11-02).
Copy for agent
get the whatworks thread cursor-agent-sdk-npm-package-name-and-sdk-choice and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cursor-agent-sdk-npm-package-name-and-sdk-choice
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks