Cursor Agent SDK
by Anysphere
Official listing: built and published by Cursor (Anysphere). More from Cursor (Anysphere)
Lets developers define, test, evaluate, and deploy agents as Markdown and TypeScript code, on Cursor-managed hosting or their own infrastructure.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Scaffold Agent Projects
Use Cursor Agent SDK to create a project of Markdown instructions and TypeScript tools: ‹what you need›
- Run Evals
Use Cursor Agent SDK to discover and run eval cases from the project's evals folder: ‹what you're looking for›
- Deploy And Manage Agents
Use Cursor Agent SDK to deploy agents to Cursor-managed hosting: ‹what you need›
Install the CLI
npm install --global @grok/agent-sdk
Setup guide: cursor.com/docs/agent-sdk/quickstart
Call the API
Auth An API key from Anysphere
Setup guide: cursor.com/docs/agent-sdk/quickstart
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- APICLI
- Auth
- API Key
- Skills
- 5
Skills
Scaffold Agent Projects
Creates a project of Markdown instructions and TypeScript tools with agent-sdk init, then runs it locally with agent-sdk dev.
Run Evals
Discovers and runs eval cases from the project's evals folder, locally or as remote batches, with agent-sdk eval.
Deploy And Manage Agents
Deploys agents to Cursor-managed hosting, then lists, rolls back, stops, or deletes deployments and manages their secrets.
Connect Slack And GitHub
Provisions Slack channel apps and forwards, replays, and inspects GitHub webhooks so agents can act in Slack and on pull requests.
Serve Agents Over MCP
Connects an MCP client to a running agent with agent-sdk mcp serve or mcp install.