Cursor SDK: coding agents leave the IDE for CI pipelines
AnalysisCursor (the AI-first code editor built by Anysphere) opened public beta on April 29 for an npm package, @cursor/sdk, that exposes the same agent runtime, codebase indexing, MCP servers, hooks, and subagents that power its desktop app. With about 15 lines of TypeScript, an engineer can spin up the same Composer 2 agent inside a CI job, a backend service, or another product, choosing local execution, a Cursor-hosted sandbox VM, or self-hosted workers. Composer 2 is priced at $0.50 per million input tokens and $2.50 per million output, roughly an order of magnitude under Claude Opus 4.7 per input token. Rippling, Notion, Faire, and C3 AI are running it in production. The shift here is concrete: a coding agent is no longer something a developer talks to, it is a callable function in a deploy pipeline that opens its own pull requests.