According to Motion AI monitoring, the AI programming tool Cursor has released the TypeScript SDK in public beta. Developers can install it using npm install @cursor/sdk and, with a few lines of code, start a programming agent with the same runtime as the Cursor desktop, CLI, and web versions. The SDK supports three runtime modes: local mode, Cursor Cloud (each agent has a dedicated sandbox virtual machine), and self-hosted worker nodes.
In Cloud mode, the agent continues to work even when the laptop is closed or disconnected, and upon completion, it can automatically open a PR, push a branch, or attach a screenshot. Developers can monitor progress or take over tasks at any time through the Cursor desktop or web interface. The agent inherits the full set of Cursor capabilities: codebase indexing and semantic search, MCP server connecting external tools, Skills directory automatically loading skills, Hooks controlling the agent loop, and sub-agent delegating subtasks. The models can optionally use any cutting-edge models supported by Cursor, including the dedicated programming model Composer 2.
Common use cases include triggering the agent directly from a CI/CD pipeline (automated pipeline for continuous integration/deployment of code) to fix bugs, summarize changes, or embed the agent in a customer product to provide end-users with a direct agent experience. Some companies have already used the SDK to build internal no-code query tools. The SDK is available to all Cursor users and is billed based on token consumption.
