Skip to lesson
Exit
Cursor Developer-Surface Mastery1 / 4

2 min lesson

The Agent SDK and CLI in anger

Look at both sides of "The Agent SDK and CLI in anger" and name the signal that decides which one fits.

Step 1 of 4

Reading about the SDK is worth nothing in a work-trial. You need one small automation you actually shipped, so you can speak from the friction of having built it.

The Agent SDKA programmatic interface for running Cursor agents from your own scripts, services or CI, locally or in the cloud. Press Enter for the full definition., announced in April 2026, exposes the same runtime, harness and models that power Cursor, callable from TypeScript. You write code that drives an agent instead of clicking around an editor. Agents created this way get the full harness: codebase indexing, MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. servers, skills, hooks and subagents.