Answer: Use the Cursor Agent SDK when you want code around model judgment that your team can version control, review, test and hillclimb. Status: Confirmed Entry: tool/cursor/agents-and-automation/when-to-use-agent-sdk Revision: 1 Digest: sha256:2e2f892577da83af (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:24Z Last changed: 2026-11-13T03:08:24Z Last verified: 2026-11-20T12:32:32Z Next check: 2026-11-21T12:32:32Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of When to use Agent SDK | You want code around model judgment that your team can version control, review, test and hillclimb | [1] | 2026-11-20 What you define | A versioned Markdown and TypeScript project | [1] | 2026-11-20 Where it runs | Cursor-managed hosting or your infrastructure | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk.md". https://cursor.com/docs/agent-sdk.md Role: primary. Accessed: 2026-11-20T12:32:32Z Quote: "You want code around model judgment that your team can version control, review, test and hillclimb" (Supports: When to use Agent SDK) Quote: "A versioned Markdown and TypeScript project" (Supports: What you define) Quote: "Cursor-managed hosting or your infrastructure" (Supports: Where it runs) Snapshot SHA-256: bc24bf618ce5b97e0b66d20c498d22be49da49e5aba12bcc957fa8952ce32c59 (captured 2026-11-13T03:08:23Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:24Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:32Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:32Z Last attempt: 2026-11-20T12:32:32Z Notes and limitations: Extracted automatically from a single official source (section "When to use Agent SDK"). Related: https://latestn.com/tool/cursor/commands-and-shortcuts/change-pr-parent-stack How do I change or remove a pull request's parent stack in Cursor Origin? https://latestn.com/tool/cursor/commands-and-shortcuts/cli-ask-mode How do I use Ask mode in Cursor CLI to explore code without edits? https://latestn.com/tool/cursor/commands-and-shortcuts/cli-json-output-format How do I get JSON output from the Cursor CLI for scripting? https://latestn.com/tool/cursor/agents-and-automation/webhook-events What events does Cursor send to a cloud agent webhook URL? https://latestn.com/tool/cursor/agents-and-automation/what-one-review-does What does the Cursor owners agent do for each pull request review? https://latestn.com/tool/cursor/agents-and-automation/when-builds-occur When do Cloud Agent Builds occur in Cursor, including recurring and skipped builds? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:24Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/when-to-use-agent-sdk/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/when-to-use-agent-sdk POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/when-to-use-agent-sdk with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/when-to-use-agent-sdk?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). When should I use Cursor Agent SDK instead of other approaches? Revision 1, last verified 2026-11-20T12:32:32Z. https://latestn.com/tool/cursor/agents-and-automation/when-to-use-agent-sdk (accessed 2026-11-21T10:06:35Z). @misc{LatestN_tool_cursor_agents_and_automation_when_to_use_agent_sdk_r1, title = {When should I use Cursor Agent SDK instead of other approaches?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/when-to-use-agent-sdk}}, note = {Revision 1; digest sha256:2e2f892577da83af; last verified 2026-11-20T12:32:32Z; accessed 2026-11-21T10:06:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/when-to-use-agent-sdk