Skip to content
Cursor background agents in 2026: Cloud Agents vs Claude Code in your own sandbox

Cursor background agents in 2026: Cloud Agents vs Claude Code in your own sandbox

Cursor background agents, now called Cloud Agents, run each coding task on a dedicated cloud VM and open a pull request, and Cursor's Free and Plus plans leave them out.

Aaron Delasy
Aaron DelasyFounder

Background agents got a new name and kept the VM

Cursor background agents are now called Cloud Agents, and each one runs a coding task on its own cloud VM until it opens a pull request.

Cursor's help page on background agents gives the new name. The VM holds your repository, its dependencies, secrets and network access, and a Cloud Agent plans, edits code, runs commands and runs tests there for minutes or hours. Closing your laptop doesn't stop it, and when the work is done the Cloud Agent opens the pull request itself. Cursor wraps the VM in secret redaction, network policies and credential management.

Where a Cloud Agent starts and what it needs first

A Cursor Cloud Agent starts from the desktop app, cursor.com/agents, the iOS app, the API or an @cursor mention in Slack, GitHub, Bitbucket or Linear.

First, a Cursor admin connects the team's GitHub, GitLab, Bitbucket Cloud or Azure DevOps account, per Cursor's Cloud Agents docs. The Cloud Agent then clones the repository, works on a separate branch and pushes to it, inside an environment Cursor builds in the background from an agent-led setup, a saved snapshot or a Dockerfile configured in .cursor/environment.json.

One task can touch several repositories, and Cursor opens a pull request in each repository the agent changed. Cursor's docs promise unlimited parallel runs, none of which need a local machine.

Not needing my machine is the part I care about most. A Claude Code or Codex session on my laptop stops when the laptop sleeps, and I keep parallel ones in separate worktrees that I clean up by hand. A Cloud Agent gets its own VM and branch, so two runs never share a checkout.

Cursor Cloud Agents start from the desktop app, cursor.com/agents, the iOS app, Slack, GitHub or Bitbucket, Linear or the API, run on a dedicated cloud VM with the repository, dependencies, secrets and network access, and hand back a pull request in each repo they changed, once an admin has connected GitHub, GitLab, Bitbucket Cloud or Azure DevOps

What Cloud Agents cost and which plans include them

Cursor Cloud Agents draw on plan usage at the selected model's rate, and only Premium and higher, Teams, Enterprise and legacy paid plans include them.

On a legacy request-based plan, Cursor charges API rates plus the Max Mode upcharge instead, as Cursor's Cloud Agents docs put it. A larger context window raises the cost of a run, and Cursor asks for a spend limit the first time you use Cloud Agents.

Cursor's bill for a run depends on the model, the context size and how long the agent works, so I can't price a task before it runs. I'd set the spend limit low for the first week and read what a typical task cost before raising it.

On a team, the bill follows the sender. Cloud Agents started from a shared surface such as Slack run under a team-owned service account, yet each message still uses the sender's own MCP connections, approvals, pull request and commit credit, and billing.

Where Cloud Agents fit, and where they stop

Cursor Cloud Agents bill every run against a Cursor plan, so they suit a team that already works in the Cursor editor better than one standardized on Claude Code or Codex.

OptionPriceLimitsBest use
Cursor Cloud Agentsthe sender's Cursor plan usage at the selected model's rate, under a spend limitnot on Free or Plus; a larger context window raises the cost; an admin connects the git host firsta team already in the Cursor editor that wants runs started from Slack, Linear or GitHub
Claude Code or Codex on a laptopthe developer's own plan or API keystops when the laptop sleeps; its questions wait in one terminalone developer watching one task
Claude Code or Codex in an Aldena projectthe Aldena team plan, plus members' Claude or ChatGPT plans or the team's Anthropic or OpenAI key, plus Boat machine timeGitHub or Bitbucket through a connector; Codex runs on a member's own ChatGPT plan, or else on the team's OpenAI keya team on Claude Code or Codex that wants every question and approval in one Inbox
Three columns: Claude Code or Codex on a laptop puts its question in the starter's terminal, bills that developer and stops when the laptop sleeps; a Cursor Cloud Agent puts it in the thread, bills the sender's Cursor plan under a spend limit and takes steering from Slack, Microsoft Teams, Jira, Linear and GitHub; an Aldena project puts it in one team Inbox for seven days, bills team keys or members' Claude plans plus Boat machine time, with allow, ask or deny per tool

Cursor's multiplayer steering is the strongest part of Cloud Agents for a team. Teammates steer a running Cloud Agent from Slack, Microsoft Teams, Jira, Linear and GitHub, as Cursor's docs describe, so its question doesn't wait for the one person who started it.

A team that runs Claude Code or Codex has a different choice to make, between the laptop and a host that runs those agents for everyone. I compared the hosted routes in Claude Code in the cloud, and the isolation behind them in how to sandbox coding agents.

How background agents work in Aldena

Aldena runs Claude Code or Codex as background agents inside each conversation's own sandbox, on a sandbox provider such as Boat that the team connects once.

I built it for a team that has already picked its agent, so the agents run on accounts the team already holds. Claude Code runs on each member's own Claude plan, or on the team's Anthropic key when the project's shared runtime is on, and Codex works the same way, on each member's own ChatGPT plan or the team's OpenAI key. An owner or admin connects Boat by signing in to the team's Boat account, and Boat bills machine time per second to that account while the sandbox runs. The team plan is the only thing Aldena bills, and Aldena adds nothing on top of the model or machine bills.

The Sandbox providers section of the team Providers page, with Boat not connected and a Connect with Boat button that opens boat.dev to sign in

Each conversation's sandbox starts with its first turn, sleeps 30 minutes after its last command and wakes with the next turn, so a run keeps going after I close the laptop. Two isolated projects never share a filesystem, and when both connect the same repository, each conversation clones it into its own sandbox.

A run also starts from an event. A connector routine starts one on a GitHub or Bitbucket event, such as a pull request, a pipeline or an issue, either in the same conversation or in a new conversation per event with its own sandbox. The connector clones the repository into the sandbox and pushes the branches the agents build there, and the Git credential never enters the agent's shell. Through the GitHub connector, agents open pull requests, review them and rerun CI as the Aldena GitHub app, and every write asks first by default.

A stuck agent waits for the whole team. Every tool an agent can call carries an allow, ask or deny policy per project, and a call under ask waits in one team Inbox, where any member can answer it for seven days. Merging is a write tool under the same policy, so it stops for a person unless the project sets it to allow.

An Inbox card where Project Setup waits on three add_project_memory approvals with allow once, always allow and deny buttons

Ready when you are

Spin up your first project.

One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.