Cursor Agent SDK Is Now Generally Available: Build Agents the Way Cursor Builds Its Own
Cursor has released its Agent SDK as generally available, opening up the framework behind Bugbot, Security Reviewer, and Rollouts. Developers define agents in code, trigger them from events like pull requests, and deploy with one command to Cursor infrastructure or run them as a single Node process on their own systems.
The framework behind Cursor's own agents is now open to everyone
Cursor has made its Agent SDK generally available, and the pitch is refreshingly concrete. This is not a demo framework or a wrapper around a chat API. It is the same system Cursor uses to run its own managed agents: Bugbot, which reviews code, Security Reviewer, which hunts for vulnerabilities, and Rollouts, which helps ship changes. From 20 October 2026, any team can build agents on that foundation and put them to work in its own repositories.
The appeal is that an agent stops being a prompt pasted into a chat window and becomes a piece of software you can version, test, and operate. You define it in code, with Markdown prompts alongside TypeScript tools, skills, and MCP connections that give it real capabilities. It responds to events rather than waiting for someone to ask it something, so a pull request arriving from GitHub, GitLab, or Bitbucket can set it in motion. When a task gets complicated, it can hand parts of the work to specialized subagents instead of trying to do everything in one long reasoning chain. And because agents need to be trustworthy before they touch production code, the SDK supports evals and event replay, so you can check how an agent behaved and rerun the same events against a new version.
One command to deploy, or run it yourself
Deployment is deliberately low-friction. Running agent-sdk deploy sends your agent to Cursor infrastructure, where it gets a URL and a dashboard for managing secrets and integrations, reading logs, running evals, and trying it out in a playground. That is the fast path for teams that want an agent live without standing up new infrastructure. The other path matters just as much: you can run the same agent on your own infrastructure as a single Node process inside a container, keeping control over where it runs and how it connects to your systems.
Cursor's own example shows what this looks like in practice. One team built kb-reviewer in about a day. It runs on every pull request in Cursor's main codebase, flags changes that contradict lessons the team has already recorded, and cites the note behind each finding, so a reviewer can see the reasoning rather than just a warning. That is a small, sharp use case, and it is exactly the kind of agent most teams can picture owning. PGA Tour offers the larger-scale version, using the Agent SDK to power what it calls a software development factory. The range between those two examples is the point: the same framework serves a focused reviewer and a broad automation program.
For teams already living in pull requests, the Agent SDK general availability is less about a new model and more about a new habit. Agents become part of the development workflow, triggered by the same events developers already watch, checked with evals before they are trusted, and deployed like any other service. Cursor built its own agents this way first. Now it is inviting everyone else to do the same.
