For teams adopting AI applications inside existing software routines, the practical question is less about naming a model and more about placing reusable judgement where work already arrives: review queues, compliance checkpoints, and incident follow-up. Today, the Agent SDK is generally available as the framework used to build managed agents such as Bugbot, Security Reviewer, and Rollouts. Its application value is that an agent can be defined as code, inspected like policy, connected to repositories, and moved into use without rebuilding the whole development environment around a fixed product.
This framing matters because the most useful agent is the one that matches a particular team workflow. Previously, teams had to choose between adopting a tool shaped around another process or creating a custom stack from the beginning. The Agent SDK gives an in-between path: start from a template or documentation aimed at a coding agent, describe rules in files, test behavior locally, and deploy an agent to Cursor infrastructure with agent-sdk deploy in one command.
These agents are event-driven helpers. They attach to familiar systems, wait for a relevant trigger, then take an action that a team would otherwise repeat manually. The core scenarios are pull-request review, compliance workflows, and incident investigation. The value is not conversation; it is repeatable judgement attached to work already flowing through the organization.
| Application area | Typical trigger | What the agent can do | How value is judged |
|---|---|---|---|
| Pull-request review | A change is submitted in GitHub, GitLab, or Bitbucket | Assess risk, route the change to the right team, approve work that meets policy | Whether it catches policy mismatches and reduces manual triage |
| Compliance workflow | Policy-sensitive work enters a review path | Apply recorded standards and let reviewers inspect the logic behind decisions | Whether policies can be changed and audited as code |
| Incident investigation | An alert or incident event occurs | Use connected tools and specialized agents to carry out follow-up work | Whether repeated investigative steps become faster and traceable |
A Cursor team had assembled a fast-growing knowledge base of lessons learned and wanted every pull request checked against it, so past decisions would remain enforceable as the codebase changed. Using the Agent SDK, they created kb-reviewer in about a day. The agent now reviews every PR in the main codebase, marks changes that conflict with a stored lesson, points to the relevant note behind each finding, and encourages engineers to reconcile the discrepancies it reports.
An Agent SDK agent is organized like a small software project. Instruction files are placed beside tool code, service connections, and the evals used to test it.
A first project can be assembled in the local playground. After creating a directory and launching it, a starter agent may import homedir from node:os and join from node:path, then call defineAgent from @cursor/agent-sdk. The example can name it Robo, choose composer-2.5, set effort high and fast true, and point local cwd to the homedir-based path .cache/factory/robo.
The Agent SDK ships with evals and event replay, giving teams a way to iterate quickly while checking that critical workflows run as expected.
For more complicated work, an agent can hand a task to another specialized agent with its own tools and sessions. A job can also be divided among subagents working in parallel.
The PGA Tour uses the Agent SDK to power its software development factory, and evals keep that team moving quickly.
The Agent SDK has enabled PGA to build every component of our software factory on Cursor's infrastructure. It provides the flexibility we need to build agents that drive our development process. And built-in support for evals allows us to quickly iterate on new ideas and optimize existing capabilities reliably.
Michael Gyarmathy, Principal Engineer, PGA America
For teams whose AI application goal is to make recurring engineering judgement repeatable rather than simply add a conversational assistant, the next step is practical: review the documentation, launch the local playground, and validate one workflow before expanding the roadmap.