Learning resourcesReviewed · Anysphere

Cursor Agent SDK: Cloud agents

Cloud agents is a guide for developers adding Cursor’s remote coding agents to an Agent SDK assistant, but launches consume an account’s cloud-agent budget and some require manual result checks. It explains mounting the extension, delegating repository work, retrieving results, separating callers and retrying launches without starting duplicate agents.

Researched 23 Nov 2026

In short.

Cloud agents is a guide for developers connecting an Agent SDK assistant to Cursor’s remote coding agents, with account-budget costs and conditional completion notifications as its main catches. The extension lets an assistant delegate repository work while continuing its conversation, then inspect changes, retrieve results or steer the remote agent. The guide also documents caller isolation, safe handling of agent identifiers and launch retries. Prices, package versions, licensing and operational reliability are not established, and the integration was not run or tested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the complete documentation page at [https://cursor.com/docs/agent-sdk/guides/cloud-agents.md], captured on 23 November 2026. Its setup examples, configuration table and authentication, notification, result and retry notices are included. Linked authentication documentation, extension-adjustment instructions and the sitemap are excluded. Package contents, service terms, prices and live service behavior are not established. Nothing was executed, and coding quality, integration reliability and end-to-end behavior remain untested.

The overview

Identity

This Cursor documentation guide explains the cursor-cloud-agents extension for Agent SDK agents. The extension hands coding work to Cursor cloud agents, which work in repository checkouts and push branches and pull requests while the original assistant continues talking to the user.

The source is [https://cursor.com/docs/agent-sdk/guides/cloud-agents.md]. Its TypeScript examples import from @grok/agent-sdk/extensions/cursor-cloud-agents; no package version is specified.

Assessment

The guide is useful for deciding how to add delegated coding work to a conversational assistant. It provides a mount example and explains operational details that affect application design: which account pays, which caller can control an agent, when completion notifications arrive and how results become available.

It provides integration guidance rather than evidence of coding quality or service reliability. Installation details, measured performance and an end-to-end working deployment are not established.

Users

The intended readers are developers building Agent SDK assistants that need to delegate repository work. Developers building tools or reminders can also use the documented code helpers to launch agents and retrieve their final answers.

Teams serving several people through one assistant need particular attention to caller identity. The extension treats callers sharing one bearer token as one person; the guide points to authored authentication for keeping callers separate, without explaining that setup on this page.

Capabilities

A mounted assistant can launch a cloud agent on a repository or pull request, check its status, read its conversation and edits, send further direction, stop it and list agents it launched. A bundled skill teaches the model when to delegate and how to write a brief the remote agent can act on independently.

Configuration covers repository defaults, pull request behavior, environment settings, model choice and account credentials. The guide also documents a filter for team MCP servers, which supply additional tools or integrations to launched agents.

Using it

Requirements

The integration requires an Agent SDK application and Cursor account credentials. By default, launches use the host’s signed-in account through agent-sdk login, CURSOR_API_KEY or CURSOR_SERVICE_ACCOUNT_KEY. A mount-level apiKey can select a different launch account.

Repository work requires configuring the repositories available for delegation. Without cloud.repos, launches run without a repository. The page gives no installation command, supported runtime versions or SDK compatibility range. Automatic completion notifications also depend on hosting and launch configuration.

Mechanism

On eligible Cursor-hosted launches, a stopped cloud-agent run triggers a wake message to the conversation that launched it, including when someone else cancels the run. That message gives the agent identifier and status and directs the assistant to call cloud__get, which returns the latest run’s final answer in result.

This is notification-based; the extension does not poll the cloud agent. If a wake fails to reach the conversation, delivery is retried every minute up to ten times. A stop during a turn does not wake the conversation immediately, and the extension stops waiting after 24 hours.

Application code can instead call launchCloudAgent and getCloudAgent. The guide says getCloudAgent does not check who launched the agent, so application code must supply only identifiers it launched, never identifiers chosen by a model.

Setup

The mount example creates bot/extensions/cloud.ts, imports cursorCloudAgents and exports its configuration. It sets cloud.repos to the example repository [https://github.com/acme/api] with startingRef set to main, and enables autoCreatePR. That repository address is an illustration, not an established prerequisite.

Omitting model uses the account’s default model. cloud.teamMcpServers accepts up to 50 team-server names matched without regard to case; omitting it permits every team server the account can use. This filter does not cover personal servers or cloud.mcpServers.

To remove a capability such as sending follow-ups, the guide directs developers to mount the extension as a directory and disable the relevant tool. The detailed adjustment procedure is on a linked page and is not established here.

Example

The result-reading example calls getCloudAgent(agentId), checks that status is finished and result is defined, then parses result with JSON.parse. It depends on asking the cloud agent to finish with JSON. Errored or expired runs have no result.

For an application expecting structured output, this suggests checking completion and result availability before parsing, then validating the returned data. The example does not demonstrate schema validation or handling malformed JSON. No example was executed.

Assessment & evidence

Limitations

Automatic wakes are unavailable for launches off Cursor hosting, mounts with their own apiKey, launches with envVars and launches that Cursor hosting cannot watch. Such launches return watching: false, and the guide directs users to ask the assistant to check the agent when its result is needed.

Each caller can see and steer only the agents they launched through the extension, but a shared bearer token collapses that distinction between people. The separate getCloudAgent helper does not enforce launch ownership.

Launch retries can reuse an optional agentId in bc-<uuid> format. If the first attempt created an agent, retrying with the same identifier returns it without starting another, provided the same principal launched it through the extension. Launches with cloud.envVars cannot take an agentId.

Reasoning

The documented design appears suitable when an assistant should continue its conversation while a separate agent performs repository work. This fit follows from the delegation and result-return mechanism; the page supplies no measured improvement in speed, productivity or code quality.

A shared application needs deliberate identity and result handling. The documented shared-token behavior and unchecked getCloudAgent helper support keeping a record of application-launched identifiers and separating callers. Workflows that depend on automatic completion updates must also account for watching: false.

Alternatives

The guide documents two integration approaches: mounted tools that let the assistant manage cloud agents, and launchCloudAgent/getCloudAgent helpers that let application code launch work and consume results. The code-driven approach may suit applications that need explicit control over result processing; both approaches use Cursor cloud agents.

The page does not compare other providers, local coding agents or orchestration libraries. Relative cost, quality and portability are not assessed.

Evidence

The evidence is the complete Cloud agents documentation page at [https://cursor.com/docs/agent-sdk/guides/cloud-agents.md]. It contains TypeScript examples, configuration definitions, authentication cautions and descriptions of notification, result and retry behavior.

These are documented capabilities, not observed execution results. The page provides no benchmarks, reliability measurements, independent evaluations or demonstrated coding outcomes.

Access & freshness

Costs

Launches normally spend the host account’s cloud-agent budget. The mount can instead specify a Cursor API key for another launch account.

The page provides no prices, included allowances, billing units or estimate per task. Actual cost, budget sufficiency and the financial effect of a particular model or workload are unknown.

Rights

The page supplies no license or redistribution terms for the guide or extension, and no ownership terms for generated code. Those rights are unknown from this source.

Account-based access and the ability to configure repositories do not establish legal permission to process or redistribute a repository’s contents. Applicable repository permissions and service terms require separate confirmation.

Freshness

The supplied page snapshot was captured on 23 November 2026. It does not state a publication date, last-update date, SDK version or extension version.

The capture date establishes when this text was obtained, not when the behavior was introduced. Compatibility with a particular installed package and changes after that capture are unknown.

Actions

Before adoption, confirm the package installation procedure, compatible versions, repository access, applicable terms and launch-account pricing. Configure the intended repositories, caller separation and MCP access before handing over coding work.

For implementation validation, check an eligible completion wake and a watching: false launch, retain application-owned agent identifiers, and handle missing results and invalid JSON. Where agentId is supported, reuse it after an uncertain launch outcome. These are recommended checks; their outcomes are not established.

Evidence for this report

selected-page.txtselected · checked 2026-11-23