Cursor Cloud Agents let you hand a coding task to an AI agent that runs on Cursor’s servers instead of your laptop. Each agent gets its own virtual machine with your repo, dependencies and secrets, works on a separate branch, and opens a pull request when it is done.
You can start them from the Cursor editor, the web, your phone, Slack, GitHub, Bitbucket or Linear, run several in parallel, and close your laptop while they work.
This guide explains what Cloud Agents (formerly Background Agents) are, which plans include them, how to connect your repo, set up the environment and secrets, start an agent from each place, control cost, and fix common problems.
It follows Cursor’s Cloud Agent documentation and help articles as read in late November 2026.
- What: AI coding agents in isolated cloud VMs that push to a branch and open a PR.
- Plans: Premium and higher, Teams, Enterprise, or a legacy paid plan. Not Free or Plus.
- Start: pick Cloud in the agent dropdown in Cursor, use cursor.com/agents, or mention
@cursorin GitHub, Slack or Linear. - Setup: an admin connects source control with read-write access; the environment comes from agent-led setup, a snapshot or a Dockerfile.
- Secrets: add them in the Secrets tab (Cursor Settings or cursor.com/dashboard/cloud-agents), not in committed files.
- Cost: billed at the chosen model’s rate, like the editor agent. You set a spend limit on first use.
What Are Cursor Cloud Agents?
A Cloud Agent is the same kind of agent you use in the Cursor editor, but it runs in a remote, isolated virtual machine managed by Cursor.
- Full dev environment: cloned repos, installed dependencies, secrets, start-up commands and network access.
- Parallel work: run several agents at once on different tasks.
- No laptop needed: agents keep working when your computer is off.
- Safe hand-off: every agent works on its own branch and opens a pull request.
- Proof of work: agents can use a desktop and browser and attach screenshots, videos and logs as artifacts.
- Extras: MCP tools, repo hooks and multi-repo environments.
Cursor launched the current Cloud Agents in October 2025 as the successor to Background Agents. If you are new to Cursor, read our how to use Cursor AI guide first.
Plans and Requirements
| Requirement | Details |
|---|---|
| Plan | Premium and above, Teams, Enterprise, or legacy paid plans (Pro, Pro+, Ultra and similar). Free and Plus are excluded. |
| Source control | GitHub (Cloud or Enterprise Server), GitLab, Bitbucket Cloud or Azure DevOps, connected by an admin |
| Permissions | Read-write access to the repo and any dependent repos or submodules |
| Spend limit | You are asked to set one the first time |
| Privacy Mode | Cloud Agents work with Privacy Mode on |
Cursor’s plan names changed in October 2026; our Cursor pricing guide explains what each tier includes.
You can also start an agent “from scratch” without a repository for prototypes.
Connect Your Repository
- Sign in at cursor.com and open the dashboard.
- Have a Cursor account admin connect your source control provider (GitHub, GitLab, Bitbucket or Azure DevOps).
- Grant read-write access to the repositories the agents should work on, including submodules.
- On GitHub, install the Cursor app on those repos so
@cursorcomments work. - Confirm the repo shows up when you start a Cloud Agent.
Set Up the Environment
The agent needs to install dependencies and run your project. Cursor gives three ways to prepare that environment:
| Method | Best for |
|---|---|
| Agent-led setup | Most projects: the agent works out how to install and run things and saves the result |
| Saved snapshot | Reusing a working machine state so new agents start fast |
Dockerfile in .cursor/environment.json |
Teams that want a reproducible, version-controlled image |
- Environments are built in the background so agents start quickly later.
- Docker inside the agent: a build keeps
/var/lib/docker, but the Docker daemon does not stay running. Start it in the environment’s start command. - Snapshots can include
.env.local, but Cursor recommends using the Secrets tab instead.
Add Secrets and Network Rules
- Open Cursor Settings > Secrets or cursor.com/dashboard/cloud-agents.
- Add API keys and tokens your tests or build need. They can be scoped to you or the team.
- Start a new agent after adding secrets; running agents do not pick up new ones.
- If needed, restrict outbound network access to an allowlist of domains, or connect private networks with Tailscale or a similar tool.
Never commit secrets to the repo for the agent to find. The agent’s commits and PRs are visible to everyone with repo access.
Start a Cloud Agent From Anywhere
| Where | How |
|---|---|
| Cursor desktop | Choose Cloud in the dropdown under the agent input, then send your task |
| Web | Go to cursor.com/agents |
| iPhone | Cursor for iOS app |
| Android | Open cursor.com/agents in Chrome and use Install App |
| Slack | Mention @Cursor (a workspace admin must install the Cursor Slack app) |
| GitHub | Comment @cursor on a pull request or issue |
| Bitbucket | Comment @cursor on a pull request |
| Linear | Mention @Cursor on an issue |
| API | Cloud Agent API for your own tools and automations |
You can attach files from the web: documents and images up to 4 MB each, videos up to 15 MB. ZIP files are not supported as attachments.
Review the Results
- Watch progress in the Agents window or cursor.com/agents. You can send follow-up messages while it works.
- When finished, the agent pushes to its own branch and opens a pull request.
- Open the attached artifacts (screenshots, videos, logs) to check the change actually works.
- Review the diff like any teammate’s PR, request changes with a follow-up, or check it out locally.
- Optionally enable Allow posting artifacts to GitHub in the dashboard. Artifact links are public but unguessable.
On supported team plans, agents can also follow up on CI failures automatically; they stop after 10 CI-failure follow-ups per PR. For automatic PR reviews, pair Cloud Agents with Cursor Bugbot.
Pricing and Cost Control
- Cloud Agents use your plan’s usage at the selected model’s rate, the same as the editor Agent and the CLI.
- On legacy request-based plans they always run in Max Mode, priced at API rates plus the Max Mode upcharge.
- Once included usage runs out, on-demand billing applies if you allow it.
- Choosing a larger context window uses more tokens and costs more.
Keep costs down
- Set a sensible spend limit when asked, and review it monthly.
- Write clear, scoped tasks so agents do not wander.
- Use a cheaper model for simple chores, and a stronger one for complex refactors.
- Prepare a good environment once (snapshot or Dockerfile) so agents do not spend tokens figuring out setup each time.
MCP, Hooks and Teams
- MCP: HTTP MCP servers are recommended because configs and credentials stay out of the VM. stdio servers run inside the VM. SSE and
mcp-remoteare not supported. - Hooks: the repo’s
.cursor/hooks.jsonruns in Cloud Agents. Your personal~/.cursor/hooks.jsonand plugin hooks do not. - Team agents: agents started from Slack, GitHub or Linear run under a team service account by default. Each follow-up uses the sender’s MCP connections, approvals and billing.
- Authorship: agent commits are authored as the agent, not the person who started it.
- Sharing: to view a teammate’s agent you need the same team, your own source control connection and repo access.
Cloud Agents vs Local Agents
| Point | Local agent (editor) | Cloud Agent |
|---|---|---|
| Runs on | Your computer | Cursor’s isolated VM |
| Laptop must stay on | Yes | No |
| Parallel tasks | Limited by your machine | Several at once |
| Output | Edits in your working copy | Branch and pull request |
| Start from phone or Slack | No | Yes |
| Plans | All plans | Premium+, Teams, Enterprise, legacy paid |
Prefer an open-source cloud-style agent you host yourself? Look at OpenHands.
Tips for Better Results
- Describe the goal, the files involved and how to test it (“run
npm testand make sure the checkout tests pass”). - Keep project rules up to date so agents follow your conventions; see our Cursor rules guide.
- Split big features into several agents with small, reviewable PRs.
- Ask for screenshots or a short video of UI changes as artifacts.
- Use GitHub issue comments (
@cursor fix this) for quick bug fixes from the issue itself.
Troubleshooting
| Problem | Fix |
|---|---|
| No Cloud option | Your plan does not include Cloud Agents (Free and Plus do not); upgrade or switch account |
| Agent will not start | Log in again, check source control is connected, confirm repo permissions and plan |
| Secrets missing in the agent | Add them in the dashboard under the right account, then start a new agent |
| Cannot find the Secrets tab | You may lack permission; ask a team admin |
| Teammate cannot open your agent | They need the same team, their own source control connection and repo access |
@Cursor in Slack does nothing |
A workspace admin must install the Cursor Slack app with the right permissions |
| Docker commands fail | Start the Docker daemon in the environment’s start command |
| MCP server not working | Use HTTP or stdio; SSE and mcp-remote are unsupported |
FAQ
Are Cursor Cloud Agents the same as Background Agents?
Yes. Background Agents were renamed Cloud Agents and expanded with more places to start them, artifacts and better environments.
Can I use Cloud Agents on the free plan?
No. Free and Plus plans are excluded. You need Premium or higher, Teams, Enterprise or a legacy paid plan.
How much do Cloud Agents cost?
They use your plan’s usage at the chosen model’s rate, then on-demand billing. Legacy request plans run them in Max Mode.
Can a Cloud Agent run my tests?
Yes. It has a full environment with your dependencies and secrets, so it can install, build and run tests before opening a PR.
Can I start an agent from my phone?
Yes, with the Cursor iOS app or the cursor.com/agents web app installed on Android.
Do Cloud Agents push directly to main?
No. They work on a separate branch and open a pull request for you to review.
Can I use my own MCP servers?
Yes. HTTP MCP servers are recommended; stdio servers run inside the VM; SSE is not supported.




