Build programmatic agents with the Cursor SDK

Eliminate complexity by using the same runtime, harness, and models that power Cursor.

Trusted by engineering teams at

Deploy agents to production quickly

Build agents without the overhead of building and maintaining the entire agent stack.

Use production-ready cloud infrastructure

Cloud agents from the SDK use the same runtime as Cursor's Cloud Agents. If you need a different runtime, the same SDK runs on local or self-hosted.

Use the full Cursor harness

Agents get the same harness that powers Cursor across desktop, CLI, and web. Use intelligent context management, MCPs, skills, hooks, and subagents.

Build on any model

Route agents to any model supported in Cursor. Switch models with a single field change and balance cost and capability for each workflow.
Cursor SDK architecture diagram

Start from a sample project

Fork starter projects from the Cursor cookbook and extend them for your use cases.

Prototyping tool

A web app for spinning up agents to scaffold new projects and iterate on ideas in a sandboxed cloud environment.

Kanban board

Drag a card and have agents pick up the work, open a PR, and post the result back as an attachment.

Coding agent CLI

A lightweight command-line interface that lets you spawn Cursor agents from your terminal.

Modern engineering teams are building agents on top of the Cursor SDK

Start building with the Cursor SDK.