Answer: You deploy agents with the `agent-sdk deploy` command, which takes options like `--dir`, `--slug` or `--all`, `--team`, `--repo`, `--ref`, `--path`, `--cursor-events-repo`, `--no-wait`, and `--json`. Deploying needs a team with agent hosting turned on, and a team service-account key with agent access can deploy. Status: Confirmed Entry: tool/cursor/agents-and-automation/deploy-agents-managed-hosting Revision: 1 Digest: sha256:ee90306696834eaf (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:48Z Last changed: 2026-11-13T03:08:48Z Last verified: 2026-11-20T12:33:39Z Next check: 2026-11-21T12:33:39Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of deploy command | agent-sdk deploy [--dir ] [--slug | --all] [--team ] | [1] | 2026-11-20 requirement | Deploying needs a team with agent hosting turned on | [1] | 2026-11-20 repo requirement | the repository must use HTTPS | [1] | 2026-11-20 slug rules | Slugs use lowercase letters, digits, `_`, and `-`, start with a letter or digit, and have at most 64 characters. | [1] | 2026-11-20 wait behavior | `deploy` waits until the deployment runs and exits nonzero if it fails, unless you pass `--no-wait`. | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/reference/cli.md". https://cursor.com/docs/agent-sdk/reference/cli.md Role: primary. Accessed: 2026-11-20T12:33:39Z Quote: "agent-sdk deploy [--dir ] [--slug | --all] [--team ]" (Supports: deploy command) Quote: "Deploying needs a team with agent hosting turned on, and a team service-account key with agent access can deploy." (Supports: requirement) Quote: "The CLI infers `--repo`, `--ref`, and `--path` from the current checkout, and the repository must use HTTPS." (Supports: repo requirement) Quote: "Slugs use lowercase letters, digits, `_`, and `-`, start with a letter or digit, and have at most 64 characters." (Supports: slug rules) Quote: "`deploy` waits until the deployment runs and exits nonzero if it fails, unless you pass `--no-wait`." (Supports: wait behavior) Snapshot SHA-256: 3f86eb45963d08a93c9717bfeb98d2ab240cc0bd05ac94a75fb1b7d2270524ca (captured 2026-11-13T03:08:48Z) 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:48Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:33:39Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:33:39Z Last attempt: 2026-11-20T12:33:39Z Notes and limitations: Extracted automatically from a single official source (section "Managed hosting"). Related: https://latestn.com/tool/cursor/agents-and-automation/deploy-pr-reviewer How do I deploy the Cursor Agent SDK PR reviewer? https://latestn.com/tool/cursor/agents-and-automation/deploy-review-template How do I deploy a Cursor Agent SDK review template? https://latestn.com/tool/cursor/agents-and-automation/disable-skill-auto-invocation How do I disable automatic invocation of a Cursor skill? https://latestn.com/tool/cursor/agents-and-automation/define-custom-channel How do I define a custom channel in Cursor's Agent SDK? https://latestn.com/tool/cursor/agents-and-automation/define-server-tool How do I define a server tool in the Cursor Agent SDK? https://latestn.com/tool/cursor/agents-and-automation/deploy-agent-sdk-from-git How do I deploy an Agent SDK project from Git with Cursor? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:48Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/deploy-agents-managed-hosting/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/deploy-agents-managed-hosting POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/deploy-agents-managed-hosting with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/deploy-agents-managed-hosting?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I deploy agents with managed hosting in the Cursor Agent SDK CLI? Revision 1, last verified 2026-11-20T12:33:39Z. https://latestn.com/tool/cursor/agents-and-automation/deploy-agents-managed-hosting (accessed 2026-11-21T10:01:46Z). @misc{LatestN_tool_cursor_agents_and_automation_deploy_agents_managed_hosting_r1, title = {How do I deploy agents with managed hosting in the Cursor Agent SDK CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/deploy-agents-managed-hosting}}, note = {Revision 1; digest sha256:ee90306696834eaf; last verified 2026-11-20T12:33:39Z; accessed 2026-11-21T10:01:46Z} } 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/deploy-agents-managed-hosting