cursor-cloud
cursor-cloud
The cloud runtime gives each agent its own VM, persists across network drops, and can open PRs directly. Pass cloud (instead of local) on Agent.create.
When to use
- Long-running tasks (CI bots, scheduled refactors, kanban-driven PRs)
- Tasks that mutate a remote repo and produce a PR
- Multi-process orchestration where you reattach to a run from a different worker
Configuration
- [[references/cloud-options]] — full
CloudOptionsshape - [[references/repos]] — repo refs,
startingRef, existing-PR mode - [[references/environments]] —
env.type:"cloud","pool","machine" - [[references/env-vars]] — session
envVars - [[references/auto-pr]] —
autoCreatePR,workOnCurrentBranch,skipReviewerRequest
Outputs
More from hktitan/cursor-sdk
cursor-hooks
File-based agent loop hooks via `.cursor/hooks.json` — pre/post commands, governance gates. Use when enforcing policy without modifying agent prompts.
1cursor-runs
Run lifecycle, streaming, follow-ups, and conversation introspection in the Cursor SDK. Use when consuming agent output, handling progress events, or chaining turns.
1cursor-subagents
Define delegated subagents on a Cursor SDK agent via the `agents` field — `AgentDefinition`, MCP scoping, and model inheritance. Use when decomposing work across specialist personas.
1cursor-sdk
Entry point for the Cursor TypeScript SDK — install, auth, and the Agent.create / Agent.resume / Agent.prompt lifecycle. Use when starting any Cursor SDK integration or wiring durable agent IDs.
1cursor-errors
CursorAgentError class hierarchy, isRetryable, and recovery patterns. Use when classifying SDK failures, building retry logic, or surfacing actionable messages.
1cursor-models
Model discovery and selection on Cursor SDK — Cursor.models.list, ModelSelection, parameters (e.g. thinking levels), per-run sticky overrides.
1