Cursor Agent SDK
Cursor's TypeScript SDK for defining agents as version-controlled projects with evals, event triggers and cloud or self-hosted deployment.
Overview
Cursor made its Agent SDK generally available on October 20, 2026. Agents are small TypeScript projects (package @cursor/agent-sdk, defineAgent) holding Markdown prompts, tools written as TypeScript functions, service connections and evals, so they go through normal version control and review. Cursor says it uses the SDK for its own managed agents Bugbot, Security Reviewer and Rollouts. It supports event triggers from GitHub, GitLab or Bitbucket pull requests, handoffs to specialized agents, parallel subagents, a local playground with logs, and event replay. `agent-sdk deploy` runs an agent on Cursor infrastructure with its own URL, or each agent can run as a single Node process in a container.
This is a sourced directory entry. Features and capabilities are reported in the linked sources; this entry does not document independent Aymorphic testing.
Key features
- TypeScript agents defined with defineAgent; tools as functions, prompts in Markdown
- Built-in evals and event replay carried from local playground to deployment
- Triggers from GitHub, GitLab and Bitbucket pull requests
- Handoffs to specialized agents and parallel subagents
- Cloud deploy via `agent-sdk deploy` or self-hosted Node process in a container
Use cases
- Building PR-triggered review or security agents
- Treating agents as reviewable, tested software in a repository
- Self-hosting agents inside a company's own infrastructure
Pricing
unknown; the announcement does not state pricing.
Pricing reflects the source record and may change. Confirm current terms with the provider.
Dates and sources
- Released
- 20 Oct 2026
- Record updated
- 29 Oct 2026
- Record last checked
- 29 Oct 2026