On April 29, Cursor released the Cursor SDK in public beta. It gives developers the same agent runtime and models that power the Cursor app, callable from a few lines of TypeScript (@cursor/sdk), running either on your own machine or on a dedicated cloud VM. That moves coding agents out of the editor and into scripts, pipelines and scheduled jobs. For AI workflow automation, it’s a meaningful change, and it raises a good question for small teams: which jobs should an agent run on its own?
This is the April TypeScript SDK for running Cursor’s coding agent from your own scripts. It is not the later Agent SDK for defining agents as code, which I covered in AI agent evals.
What changed this week
Until now, most people used coding agents interactively. You typed a request, watched the agent work, and accepted or rejected the result. With an SDK, the same agent can be started by a script: on a schedule, when a build fails, or when a ticket arrives. Cursor also reworked its Cloud Agents API around runs you can stream, follow up on and cancel.
In plain terms, a coding agent can now be one step in a workflow, not just a helper in a chat window. Cancelable runs matter. If a job goes sideways, you need a way to stop it without shutting down the whole pipeline.
Good first jobs for AI workflow automation
The best candidates are tasks that are frequent, well defined and easy to check. A few examples for a small software team:
- Summarizing what changed in a repository each week for a non-technical owner.
- Updating dependencies on a branch and running the tests, then opening a pull request for review.
- Reading a failed build log and proposing a likely cause and fix.
- Drafting release notes from merged pull requests.
Notice that each one ends with a person reading something or approving something. That’s deliberate.
Where I’d draw the line
When you wire an agent into a workflow, decide up front:
- What can it change without asking? For example, a branch it created, never the main branch.
- What does it need approval for? Anything touching production, customer data or money.
- What can it never do? Delete data, change permissions, or push directly to a live system.
- How will you know what it did? Every run should leave a log a person can read.
The design of those checkpoints is the same work I described for longer-running agents in human in the loop AI workflows.
Practical setup tips
- Give the agent its own credentials. Don’t run it with your personal admin keys. Create a limited account with only the access the job needs.
- Start in a sandbox. Running on a dedicated VM keeps experiments away from your laptop and your secrets.
- Never let it push to main. Open a pull request. A person merges.
- Make runs cancelable. Use the run-scoped cancel path Cursor shipped with the Cloud Agents API, and test that it actually stops work.
- Keep the task small. One clear job per workflow is easier to test and easier to trust than a general “fix things” agent.
- Measure before and after. Track how long the task took by hand and how often the agent’s output needed changes. That tells you whether to expand it.
The real work is the workflow, not the model
Teams often spend weeks comparing models and minutes deciding permissions. I’d flip that. The model will change several times this year. A well designed workflow, with clear boundaries and a review step, will keep working as you swap models underneath it.
If you’re thinking about where agents could save your team time, and how to set them up so you stay in control, here’s how I approach AI workflows and automation. I’m glad to help you pick a first job and build it safely.