Cloud Agents
Cursor Cloud Agent Settings: Environments, Secrets, Models
Workspace admins configure Cloud Agents from the Cloud Agents dashboard. The settings cover environment management, default model and repository, network access modes, security toggles for agent summaries, and team features such as long-running agents and follow-ups. Changes to team feature settings save instantly and affect new agents immediately.
On this page
How do I manage Cloud Agent environments?
The Environments view lists the saved environments available to your team, and each one can be scoped to a single repo or to a group of repos. Opening an environment shows everything that defines how an agent starts. The list below covers what you can review inside one.
- The repositories it applies to
- Whether it uses a snapshot or
.cursor/environment.json - The update script that runs before an agent starts
- Runtime secrets and build secrets
- Network access settings
- Version history and setup runs
Three actions drive changes to an environment. Use Update with Agent to have Cursor inspect the current environment and propose a new setup, New Setup Run to have Cursor start setting up the environment fresh, and Restore from version history to make a prior environment version active again.
An environment keeps running on the machine it was built with, so a secret you add today never reaches a VM that predates it. That makes Update with Agent and New Setup Run a repair path rather than a cosmetic re-save, and it is the first cause to rule out when a run fails on a credential that plainly exists. The secrets fix path covers the other four.
Restore is what I would reach for when a setup run leaves a working environment broken. Put the last good version back first, then work out what the new one did.
This is covered hands-on in Agent Mode Foundations — 6 short modules, free to read.
Which Cloud Agent settings should I configure first?
Environment first, then network access, then the rest in whatever order suits you. Cursor puts environment setup ahead of every other recommendation in its cloud agent best practices, and most of what follows on this page assumes an environment that already runs.
Keeping those two apart matters because a blocked domain and a half-built environment fail the same way, somewhere in the middle of a setup run. Which is how an afternoon goes into a Dockerfile that was fine all along. Change both in one sitting and you have two suspects and nothing to tell them apart.
Prove one clean run before you tighten anything.
Agents reach the internet by default, so that first pass costs nothing on the network side. What you want out of it is the update script finishing and the repo behaving the way it would on a developer's machine.
What do the default settings control?
Default settings decide what a run uses when it does not specify the choice itself, so they smooth out the most repetitive prompts. Each default does the following.
- Default model: the model used when a run does not specify one. Pick any model that supports Max Mode.
- Default repository: when empty, agents ask the user to choose a repo. Supplying a repo here lets users skip that step.
- Base branch: the branch agents fork from when creating pull requests. Leave blank to use the repository's default branch.
The Max Mode requirement reads like an arbitrary restriction until you know where it comes from. Cloud agents run in Max Mode. Cursor documents this on the automations side, where automations always run in Max Mode because they run as cloud agents, with no toggle to turn it off. The model you set here is therefore a spend decision as much as a quality one, since Max Mode bills at standard token rates and reads many more tokens per turn than an ordinary request.
Default repository cuts a step for a team that lives in one repo and quietly picks the wrong one for a team that does not, since a pre-filled field is, I suspect, the kind of default people accept without reading. Base branch can stay blank unless your team merges somewhere other than the repository default, in which case every agent PR forks from the wrong point until you set it.
How do I control network access for Cloud Agents?
Network access settings control which network resources Cloud AgentsAgents that run in a Cursor-managed virtual machine, check out the repo, do the work and open a pull request, then shut down, with no load on your laptop. Press Enter for the full definition. can reach, and user and team settings support three modes. The table below maps each mode to what it permits.
- Mode
- Allow all network access
- What it permits
- No domain restrictions.
- Mode
- Default + allowlist
- What it permits
- The default domains plus any domains you add.
- Mode
- Allowlist only
- What it permits
- Only domains you explicitly add.
| Mode | What it permits |
|---|---|
| Allow all network access | No domain restrictions. |
| Default + allowlist | The default domains plus any domains you add. |
| Allowlist only | Only domains you explicitly add. |
Users, team admins, and environment owners can all configure network access. Environment-level settings can inherit user or team policy, add an environment allowlist, or define their own access mode.
Allowlist only is the tightest of the three and also the one that turns up your missing domains one failed run at a time, since nothing tells you a host was needed until something reaches for it. My instinct was to set it at team level and let people ask for exceptions. I would do it the other way round now. Put Allowlist only on one saved environment, run a week of real work through it, and move the policy up once the allowlist stops growing.
If a run that used to work starts failing after a tightening, check which hosts your install command reaches before anything else. Precedence between the user, environment and team scopes is its own puzzle, and the security and network page works through it.
What do the security settings do?
All security options require admin privileges, and they govern how much of an agent's work is exposed and who can steer it. Here is what each toggle controls.
- Display agent summary: controls whether Cursor shows the agent's file-diff images and code snippets. Disable this if you prefer not to expose file paths or code in the sidebar.
- Display agent summary in external channels: extends the previous toggle to Slack or any external channel you've connected.
- Team follow-ups: controls whether team members can send follow-up messages to cloud agents created by other users on the team.
Switching Display agent summary off costs you the cheapest look at a run. Those file-diff images and code snippets are the fastest read on whether a run went anywhere useful, and once they stop appearing in the sidebar you have to open something to find out. I would make that trade on a repo where the file paths themselves are sensitive, and not across everything a team owns.
The external-channel toggle sits on top of the first one, so switching the summary off leaves it nothing to extend. Both are admin-gated, which means a developer who would rather not publish their diffs cannot make that call for themselves.
What team feature and follow-up settings can admins set?
Team admins can enable or disable team-wide capabilities, and these changes save instantly and affect new agents immediately. Two features sit here: Long running agents, which controls whether team members can run agents for extended durations, and Computer use, which controls whether agents can use computer interaction capabilities and is available to enterprise teams only.
Set the boundary for long-running Cloud Agents
0:30 · narratedRead this demo as text
- The real control is called Long-Running Agents. It is team-scoped, and the product warns these runs can last many hours and cost hundreds of dollars.
- Then launch from cursor dot com slash agents with a repository, measurable done criteria, and a review owner. There is no user-facing Grind button in this build — long-running is a governed Cloud Agent workflow.
Practice next: Practice this yourself in the hands-on module.
Simulated Cursor 3.12 (macOS, light) — beta educational reconstruction, not the real product.
Team follow-ups let team members send follow-up messages to cloud agents created by other users on the same team, which helps when a teammate starts an agent and you need to course-correct or continue the work while they're unavailable. Team admins control this from the Cloud AgentsAgents that run in a Cursor-managed virtual machine, check out the repo, do the work and open a pull request, then shut down, with no load on your laptop. Press Enter for the full definition. security settings with three options, mapped in the table below.
- Setting
- Disabled
- Behavior
- Only the original creator can send follow-ups to their agent. No team follow-ups are allowed.
- Setting
- Service accounts only
- Behavior
- Team members can send follow-ups to agents created by a service account, but not to agents created by other human users.
- Setting
- All
- Behavior
- Any team member can send follow-ups to any agent on the team, regardless of who created it.
| Setting | Behavior |
|---|---|
| Disabled | Only the original creator can send follow-ups to their agent. No team follow-ups are allowed. |
| Service accounts only | Team members can send follow-ups to agents created by a service account, but not to agents created by other human users. |
| All | Any team member can send follow-ups to any agent on the team, regardless of who created it. |
Enabling team follow-ups means a user can influence the execution of a cloud agent that runs with another user's secrets and credentials. A follow-up message can instruct the agent to read environment variables, print secrets to logs, push credentials to an external endpoint, or perform actions using the original creator's access tokens.
A team member with limited permissions could escalate their access by directing an agent that holds a more privileged user's secrets. Cursor recommends treating this setting with the same care you would give shared SSH keys or service credentials.
The middle setting is the one I had to think about longest. The risk in that callout is specific to a run carrying a person's credentials, and a service account is a non-human Enterprise account that starts runs programmatically, off a Linear ticket or a Sentry error, with every team admin able to see the runs it creates. Confining follow-ups to those runs covers the case people actually want, because nobody is sitting in front of a job a ticket started, and it leaves a colleague's agent alone.
Team size decides the rest. On a team of five with the same repo access across the board, All costs you very little. At a few hundred people it reaches across access levels that the setting itself does not distinguish, which is reason enough to leave it on Disabled or service accounts.
Frequently asked questions
Who can configure Cloud Agents settings?
Workspace admins configure Cloud Agents from the Cloud Agents dashboard. Network access can be configured by users, team admins, and environment owners, while all security options require admin privileges. Team feature settings are controlled by team admins.
How do I roll back an environment to a previous version?
Open the environment in the Environments view and use Restore from version history to make a prior environment version active again. Each environment also exposes its version history and setup runs for review.
When do team feature changes take effect?
Changes to team feature settings save instantly and affect new agents immediately.
Why does the default model have to support Max Mode?
Because cloud agents run in Max Mode. Cursor's automations documentation states that automations always run in Max Mode because they run as cloud agents, with no toggle to turn it off, so a model without Max Mode support is not a candidate for the default. Max Mode bills at standard token rates and reads many more tokens per turn, which makes the default model a cost choice as well as a quality one.
What order should I configure Cloud Agent settings in?
Environment first, since Cursor's cloud agent best practices put environment setup ahead of every other recommendation. Tighten network access second, on its own, because a blocked domain and a half-built environment both fail partway through a setup run and changing both at once leaves you unable to tell them apart. Default model, default repository, base branch and the admin toggles can follow in any order.
Sources & last verified
Cursor ships frequently. Last updated July 28, 2026.
Keep reading
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.