Cursor Cookbook is a collection of example projects for building with Cursor's agent APIs and infrastructure.
The cookbook addresses the need for practical, working examples of how to integrate Cursor's coding agent into custom applications and workflows. It demonstrates three main approaches: Cursor Hooks for intercepting and auditing agent events like prompt submission and file edits; Cloud Agents for running Cursor workers on self-hosted AWS infrastructure; and the Cursor SDK, a TypeScript API that lets developers invoke the coding agent from their own code, scripts, and web applications while managing prompts, models, and conversation state programmatically.
Developers should choose this cookbook if they want to embed Cursor's agent capabilities into custom tools rather than use Cursor as a standalone editor. The examples span multiple use cases: a web app for scaffolding projects in a cloud sandbox, a kanban board for managing cloud agents, a CLI for spawning agents from the terminal, and a DAG task runner that decomposes work across subagents and streams progress to a Cursor Canvas. The project also includes a Perl bridge adapter showing how to use the SDK without a first-party library, and examples using xAI's Grok model for coding and voice-based workflows. Someone evaluating adoption should note that the SDK supports both local and cloud runtimes, streams agent events as runs progress, and ships with copyable Cursor skills ready to integrate into projects.
Almost all open issues are raised by outside users rather than the core team, indicating a substantial base of adopters reporting real-world use.