cookbook

Project Url: cursor/cookbook
More: Author   ReportBugs   
Tags:

This repo contains small examples for building with Cursor.

Cursor SDK

The Cursor SDK is the TypeScript API for running Cursor's coding agent from your own apps, scripts, and workflows. It supports the same agent across local workspaces and cloud runtimes, streams agent events as runs progress, and lets you manage prompts, models, cancellation, artifacts, and conversation state from code.

To run the SDK examples, create a Cursor API key from the Cursor integrations dashboard, then set it as CURSOR_API_KEY.

Quickstart

A minimal Node.js example that creates a local agent, sends one prompt, and streams the response.

Prototyping tool

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

Kanban board

A kanban board for viewing Cursor Cloud Agents, grouping them by status or repository, previewing artifacts, and creating new cloud agents from a repository and prompt.

Coding agent CLI

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

Learn more in the Cursor SDK TypeScript docs.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools