• Tech Dev NotesTech Dev Notes
Apps
  • App lookup
  • App compare
Market movement
  • App charts
  • App rankings
Visual proof
  • App screens
  • App listing screenshots
  • App icons
Build intelligence
  • App tech stacks
  • Tool releases
  • Developers
More
  • X feature flags
  • Grokipedia
  • Blog
  • Follow on X
Skip to content
All content/ filesChangelog

cursor-docs/latest/content · Jun 26, 20:20 UTC

pages/cloud-agent.txt

TXT·7.4 KB·85 lines

content/

  • pages

    • api.txt
    • approval-agents.txt
    • bugbot.txt
    • cloud-agent.txt
    • customize-cursor.txt
    • enterprise.txt
    • evals.txt
    • extension-api.txt
    • hooks.txt
    • mcp.txt
    • models-and-pricing.txt
    • plugins.txt
    • rules.txt
  • pages/account

    • regions.txt
    • update-access.txt
  • pages/account/enterprise

    • billing-groups.txt
    • cyber-safeguards.txt
    • service-accounts.txt
  • pages/account/organizations

    • organization-admin-api.txt
  • pages/account/pricing

    • request-based-legacy.txt
  • pages/account/teams

    • admin-api.txt
    • ai-code-tracking-api.txt
    • analytics-api.txt
    • analytics.txt
    • dashboard.txt
    • members.txt
    • pricing.txt
    • scim.txt
    • setup.txt
    • sso.txt
  • pages/agent

    • agent-review.txt
    • agents-window.txt
    • debug-mode.txt
    • design-mode.txt
    • overview.txt
    • plan-mode.txt
    • prompting.txt
    • security.txt
  • pages/agent/security

    • run-modes.txt
  • pages/agent/tools

    • browser.txt
    • canvas.txt
    • search.txt
    • terminal.txt
  • pages/cli

    • acp.txt
    • changelog.txt
    • github-actions.txt
    • headless.txt
    • installation.txt
    • mcp.txt
    • overview.txt
    • shell-mode.txt
    • using.txt
  • pages/cli/reference

    • authentication.txt
    • configuration.txt
    • output-format.txt
    • parameters.txt
    • permissions.txt
    • slash-commands.txt
    • terminal-setup.txt
  • pages/cloud-agent

    • automations.txt
    • best-practices.txt
    • capabilities.txt
    • choose-runtime.txt
    • my-machines.txt
    • private-workers.txt
    • security-network.txt
    • self-hosted-cloud-run.txt
    • self-hosted-k8s.txt
    • self-hosted-pool.txt
    • settings.txt
    • setup.txt
  • pages/cloud-agent/api

    • endpoints.txt
    • webhooks.txt
  • pages/configuration

    • worktrees.txt
  • pages/configuration/migrations

    • vscode.txt
  • pages/cursor-review

    • merge-queue.txt
    • overview.txt
    • pr-inbox.txt
    • pr-page.txt
  • pages/cursor-review/cli

    • authentication.txt
    • parameters.txt
    • stacking.txt
  • pages/customizing

    • aws-bedrock.txt
  • pages/enterprise

    • baa.txt
    • compliance-and-monitoring.txt
    • deployment-patterns.txt
    • endpoint-security.txt
    • identity-and-access-management.txt
    • llm-safety-and-controls.txt
    • model-and-integration-management.txt
    • network-configuration.txt
    • organization-groups.txt
    • organizations.txt
    • pooled-usage.txt
    • privacy-and-data-governance.txt
    • private-connectivity.txt
    • security-hardening.txt
  • pages/get-started

    • quickstart.txt
  • pages/integrations

    • azure-devops.txt
    • bitbucket.txt
    • cursor-blame.txt
    • github.txt
    • gitlab.txt
    • jetbrains.txt
    • jira.txt
    • linear.txt
    • microsoft-teams.txt
    • notion.txt
    • slack.txt
    • xcode.txt
  • pages/mcp

    • install-links.txt
  • pages/models

    • claude-4-5-haiku.txt
    • claude-4-5-sonnet.txt
    • claude-4-6-sonnet.txt
    • claude-4-sonnet-1m.txt
    • claude-4-sonnet.txt
    • claude-fable-5.txt
    • claude-opus-4-5.txt
    • claude-opus-4-6-fast.txt
    • claude-opus-4-6.txt
    • claude-opus-4-7-fast.txt
    • claude-opus-4-7.txt
    • claude-opus-4-8.txt
    • cursor-composer-1-5.txt
    • cursor-composer-1.txt
    • cursor-composer-2-5.txt
    • cursor-composer-2.txt
    • gemini-2-5-flash.txt
    • gemini-3-1-pro.txt
    • gemini-3-5-flash.txt
    • gemini-3-flash.txt
    • gemini-3-pro-image-preview.txt
    • gemini-3-pro.txt
    • glm-5-2.txt
    • gpt-5-1-codex-max.txt
    • gpt-5-1-codex-mini.txt
    • gpt-5-1-codex.txt
    • gpt-5-2-codex.txt
    • gpt-5-2.txt
    • gpt-5-3-codex.txt
    • gpt-5-4-mini.txt
    • gpt-5-4-nano.txt
    • gpt-5-4.txt
    • gpt-5-5.txt
    • gpt-5-codex.txt
    • gpt-5-fast.txt
    • gpt-5-mini.txt
    • gpt-5.txt
    • grok-4-20.txt
    • grok-4-3.txt
    • grok-build-0-1.txt
    • kimi-k2-5.txt
  • pages/reference

    • deeplinks.txt
    • ignore-file.txt
    • keyboard-shortcuts.txt
    • permissions.txt
    • plugins.txt
    • sandbox.txt
    • third-party-hooks.txt
  • pages/sdk

    • python.txt
route: /docs/cloud-agent
title: Cloud Agents
description: Run Agent in the cloud for continuous coding assistance.

Cloud Agents
Cloud agents use the same agent fundamentals but run in isolated VMs in the cloud with full development environments instead of on your local machine. The development environment is similar to the setup on your laptop: cloned repos, installed dependencies, secrets, startup commands, and network access.
Effective development environments give agents full context on your codebase and organization, so they can test and verify their work.
Why use Cloud Agents?
You can run as many agents as you want in parallel, and they do not require your local machine to be connected to the internet.
Because they have access to their own virtual machine, cloud agents can build, test, and interact with the changed software. They can also use computers to control the desktop and browser. Cloud agents support MCP servers, giving them access to external tools and data sources like databases, APIs, and third-party services.
Cloud agents can also run in multi-repo environments. Use one when a task spans separate frontend, backend, infrastructure, or shared-library repositories. The agent can inspect the full workspace, make coordinated changes, and open pull requests in the repos it changes.
How to access
Before anyone can start a cloud agent from a repository, a Cursor account admin needs to connect source control for the account. Set up GitHub (Cloud and Enterprise Server), GitLab (Cloud and Self-Hosted), Bitbucket Cloud, or Azure DevOps.
You can kick off cloud agents from wherever you work:
Cursor Web: Start and manage agents from cursor.com/agents on any device
Cursor Desktop: Select Cloud in the dropdown under the agent input
Slack: Use the @cursor command to kick off an agent
GitHub or Bitbucket: Comment @cursor on a GitHub PR or issue, or on a Bitbucket PR, to kick off an agent
Linear: Use the @cursor command to kick off an agent
API: Use the API to kick off an agent
For a native-feeling mobile experience, install Cursor as a Progressive Web
App (PWA). On iOS, open cursor.com/agents in
Safari, tap the share button, then "Add to Home Screen". On Android, open
the URL in Chrome, tap the menu, then "Install App".
Use Cursor in Slack
Learn more about setting up and using the Slack integration, including
triggering agents and receiving notifications.
How it works
Repository provider connection
Cloud agents clone your repo from GitHub, GitLab, Azure DevOps Services, or Bitbucket Cloud and work on a separate branch, then push changes to your repo for handoff.
You need read-write privileges to your repo and any dependent repos or submodules.
Environments
Agents are only as capable as the environments they run in. An agent that can write code but can't run tests, query services, or reach APIs cannot close the loop on its work.
Not setting up a development environment for your cloud agents is like not giving your engineers a computer. This is why environment setup is the most important step to improve the effectiveness of cloud agents. It lets cloud agents work like engineers do: write code, test and verify work, and ship software.
You can configure environments with agent-led setup, a saved snapshot, or a Dockerfile in .cursor/environment.json. See Cloud agent setup to get started. Each cloud agent then starts from an environment selected for the repo or multi-repo group.
The Cloud Agents dashboard shows which environment an agent used, along with environment details and version history. On the agent page, hover over the repository name at the top of the page to inspect the environment used for that run. See Cloud agent setup for configuration details.
Managed and self-hosted runtimes
Cursor-managed Cloud Agents are the default path for most teams. You can add secrets, restrict outbound domains, connect to private networks with Tailscale or a similar client, and use private connectivity for supported source control paths.
Use My Machines or Self-Hosted Pool when you want to own the machine that executes terminal commands, file edits, browser actions, and other tool calls. In both modes, the agent loop still runs in Cursor's cloud.
See Choose where Cloud Agents run for the decision guide and full comparison.
Models
Cloud Agents use a curated selection of models that always run in Max Mode.
There is no toggle to turn Max Mode off for Cloud Agents.
MCP support
Cloud agents can use MCP (Model Context Protocol) servers configured for your team. Add and manage MCP servers through the MCP dropdown in cursor.com/agents.
Both HTTP and stdio transports are supported. OAuth is supported for MCP servers that need it. See Cloud Agent capabilities for setup details.
Hooks support
Cloud agents run command-based hooks from .cursor/hooks.json in your repository. On Enterprise plans, they also run team hooks and enterprise-managed hooks.
This keeps formatters, audit scripts, and policy checks active when work runs in the cloud. Hooks like beforeShellExecution, afterFileEdit, preToolUse, and subagentStart all work in cloud agents.
Some hooks are IDE-specific (Tab hooks, workspaceOpen) or depend on client-side wiring (sessionStart, beforeSubmitPrompt, prompt-based hooks) and don't run in cloud agents. User-level hooks from ~/.cursor/hooks.json are also not available since cloud VMs don't have access to your local home directory.
See Hooks: Cloud agent support for the full support matrix and details.
Artifacts and remote desktop control
Cloud agents produce merge-ready PRs with artifacts to demo their changes. You can also control the agent's remote desktop to use the modified software.
Artifacts: Agents produce screenshots, videos, and logs so you can see exactly what changed and how the agent verified its work.
Remote desktop control: Take control of the agent's desktop to test the software yourself in a full development environment without checking out the branch locally. Release control back to the agent for it to keep working.
See Cloud agent capabilities for details on artifacts, computer use, and remote desktop control.
Related pages
Learn more about Cloud agent capabilities.
Learn more about Cloud agent setup.
Learn how to choose where Cloud Agents run.
Learn more about Cloud agent security.
Learn more about Cloud agent settings.
Billing
Cloud Agents are charged at API pricing for the selected model. You'll be asked to set a spend limit when you first start using them.
Troubleshooting
Agent runs are not starting
Ensure you're logged in and have connected your GitHub, GitLab, Azure DevOps, or Bitbucket account.
Check that you have the necessary repository permissions.
You need to be on a paid Cursor plan.
My secrets aren't available to the cloud agent
Ensure you've added secrets in cursor.com/dashboard/cloud-agents
Secrets are workspace/team-scoped; make sure you're using the correct account
Try restarting the cloud agent after adding new secrets
Can't find the Secrets tab
If you don't see it, ensure you have the necessary permissions
Do snapshots copy .env.local files?
Snapshots save your base environment configuration (installed packages, system dependencies, etc.).
If you include .env.local files during snapshot creation, they will be saved. However, using the Secrets tab
in Cursor Settings is the recommended approach for managing environment variables.
Slack integration not working
Verify that your workspace admin has installed the Cursor Slack app and that
you have the proper permissions.
Naming History
Cloud Agents were formerly called Background Agents.
Previouspages/cli/using.txtNextpages/cloud-agent/api/endpoints.txt

© 2026 Tech Dev Notes

RSSAboutAPIPrivacyTermsSitemap@techdevnotes