Guide
Cursor Local Agent vs Cloud Agent: Which to Use (2026)
Use a local agent when you need tight review, local context or quick iteration. Use a cloud agent when the task can run independently and has a clear handoff. The safe default is local for ambiguous work and cloud for bounded jobs with strong checks.
On this page
- What is the working pattern for local vs cloud agent choice?
- How should a team run local vs cloud agent choice?
- What should you keep after the run?
- What is a cloud agent, in plain terms?
- When does cloud win over local?
- What do I have to set up before a cloud agent is worth starting?
- Why send work to the cloud when I could watch it run locally?
- Does the answer change on a small team versus a large one?
What is the working pattern for local vs cloud agent choice?
The working pattern for local vs cloud agent choice is small enough to review and specific enough to repeat. Give the agent a named task and only the context it needs, then tie the result to a check you can rerun. The table below breaks that into moves.
- Move
- Start with a bounded task
- Use this when
- You have a named owner, target files and a clear done state
- Proof to save
- Issue, files, checks and owner are named
- Move
- Give the agent context
- Use this when
- The repo has patterns the agent must follow
- Proof to save
- Prompt cites files, errors and constraints
- Move
- Review the diff
- Use this when
- The task changes production code
- Proof to save
- Changed files, test output and risks are visible
| Move | Use this when | Proof to save |
|---|---|---|
| Start with a bounded task | You have a named owner, target files and a clear done state | Issue, files, checks and owner are named |
| Give the agent context | The repo has patterns the agent must follow | Prompt cites files, errors and constraints |
| Review the diff | The task changes production code | Changed files, test output and risks are visible |
A good AI coding workflow is specific enough to review and small enough to recover.
Each of those moves fails in its own particular way, and the order they come in is doing more work than it looks like it is. Skip the boundary and you get a diff nobody wants to read, because the agent has quietly rewritten files you never meant to open. Thin context fails more quietly: the code compiles, the tests pass, and it ignores every pattern the rest of the repo follows. Then there's the check, which to me is the real one, because it's the whole difference between a result you verified and a result you're taking someone's word for.
The step people skip is the plan. I think it's because it feels like overhead, thirty seconds of nothing visibly happening while you're trying to get work done. Actually, that's not quite the reason. It's that the cost of skipping it lands much later, so it never registers as the mistake it was. If the plan names files you didn't expect, you've learned something for free. If it names the right ones, you've got a reference to check the diff against when it arrives. And once there are four hundred lines on the screen, changing the approach means throwing that work away, which nobody is good at.
This exact topic is a hands-on lesson: Local and Cloud Handoff — about 5 minutes, free to read.
How should a team run local vs cloud agent choice?
Running local vs cloud agent choice as a team comes down to one habit: leave a trail the next reviewer can follow. The steps below keep the prompt and its proof attached to the change, so nobody has to reverse-engineer what the agent did.
- 1Pick one real backlog item with a clear owner and expected result.
- 2Add only the context the agent needs: files, failing output, constraints and done state.
- 3Ask for a plan before code when the task touches more than one file.
- 4Run checks that match the risk: unit test, typecheck, visual pass or review checklist.
- 5Capture the prompt, diff, result and reviewer note so the workflow can be repeated.
Task, context, constraints, done state and checks.
Open the diff, read changed files and rerun the check yourself.
Prompt, diff, test output and the review note that proved the result.
What should you keep after the run?
Keep whatever lets you rerun the work or hand it to someone else. A finished task is the merged code plus the short trail that explains how it got there.
- The prompt or plan that shaped the work.
- The files changed and the reason each file changed.
- The command, screenshot or review note that proved the result.
- The rule, checklist or template you would reuse next time.
What is a cloud agent, in plain terms?
Think of it as an engineer with a laptop in the cloud. Cursor's products are just ways to orchestrate that cloud developer: through Slack, through Linear, or through the IDE. You hand off tasks into the background and let them run while you do other work. For non-engineers especially, getting cloud agents set up is a high-value early investment.
Once you picture a teammate in the cloud, the choice is obvious: hand off bounded jobs, keep the ambiguous ones local where you can steer.
think about it like as an engineer with a laptop in the cloud is like what a cloud agent is.
When does cloud win over local?
When you don't want to be chained to a long-running local task, or you aren't at your desk. From cursor.com/agents on any device (one presenter kicked off a run from a phone on the Bay Bridge) you pick a repository and branch, give a command, choose a model, optionally link MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. servers like Slack, and start it.
It spins up a brand-new VM that mirrors your GitHub repo, your in-repo rules and system prompts, your MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. servers, and your skills - so repo-specific slash commandsSaved multi-step prompts you trigger from the / menu, such as run tests, fix CI or open a pull request. Press Enter for the full definition. (e.g. /git-commit, /git-push) work inside the cloud run.
Run three to five concurrently, each on its own branch. Plan for a minimum runtime of roughly 10-15 minutes.
If you'd otherwise sit watching a progress bar, that's the signal to push it to the cloud and walk away.
This spins up a brand new VM that has all your information of what your GitHub repository looks like... and it has skill integrated as well. You can actually do slash commandsSaved multi-step prompts you trigger from the / menu, such as run tests, fix CI or open a pull request. Press Enter for the full definition. with that skill.
What do I have to set up before a cloud agent is worth starting?
An environment, and it is the cost that keeps getting left out of the comparison. A local agent inherits your machine for nothing, because your dependencies and your credentials are already sitting there. Cloud agents run on isolated Ubuntu machines, so anything the code needs in order to install and run has to be configured before the first useful run.
Nobody counts that setup when they weigh the two.
Two paths to that. Let Cursor's agent set the machine up, which it can do in under 10 minutes while you watch in a shared terminal, then save a snapshot so later agents start from it. Or write a Dockerfile for system-level dependencies and reference it from .cursor/environment.json. Cursor recommends the first for most repos and treats the second as the advanced case.
The mistake worth naming up front is secrets. They live in the Secrets tab of 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. dashboard, where the agent reads them as environment variables. Cursor's published schema for .cursor/environment.json has no secrets field at all, so a key pasted into that file isn't configuration, it's a plaintext leak committed to your repo.
Config resolution takes the first match: .cursor/environment.json in the repo, then a personal saved environment, then a team one. That ordering is what lets one person test a new config before it becomes everybody's default.
Why send work to the cloud when I could watch it run locally?
Because of what comes back with it. Each cloud agent runs in its own isolated VM with a full desktop environment, so it can start a dev server, drive a browser with mouse and keyboard, click through a UI flow and check the change before it opens a pull request. The screenshots, videos and log references it produces attach to that PR.
So the reason to reach for cloud isn't only the parallelism everyone leads with. It's that verification arrives as an artifact instead of as a claim, and you can validate the change from the PR without checking the branch out at all.
The clip below runs one handoff end to end.
Hand the rest of the run to a cloud sibling
0:52 · narratedRead this demo as text
- The local session already finished the refactor — typecheck green. What's left is the 40-minute integration suite, and that shouldn't tie up this machine.
- Switch to the cloud sibling in the sidebar — queued on the same branch, ready for the part that needs a machine, not a person watching it.
- Send it. The cloud sibling picks up the branch in its own isolated VM — local and cloud stay on the same history instead of drifting apart.
- Suite green in the cloud VM. Changes panel opens on the same branch you refactored locally — nothing diverged.
- Checks are green on the PR. Pull the branch back locally and run what the suite can't see — a type check, a read through the diff — before you merge.
Practice next: Practice this yourself in the hands-on module.
Simulated Cursor 3.12 (macOS, light) — beta educational reconstruction, not the real product.
There's an opt-in setting, Allow posting artifacts to GitHub, if you want them embedded in the PR description itself.
You can also take control of the agent's remote desktop, interact with the software it is building, and hand control back whenever you like. I suspect that's the part that settles it for people who don't trust a screenshot, though that's a guess about taste rather than anything measured.
Does the answer change on a small team versus a large one?
Yes, though on the runtime rather than on the local-or-cloud question. In all three of Cursor's Cloud Agent runtimes the agent loop still runs in Cursor's cloud; what changes is where tool calls execute and who operates that execution environment.
Managed is the default, and Cursor calls it usually the lowest-operations way to give agents secure access to code and internal systems. My Machines is framed for personal or small-scale workflows on one user's machine. Self-Hosted Pool is for Enterprise teams that want centralized ownership of the worker hardware. All three support Privacy ModeCursor's setting that guarantees code data is not used for training by Cursor or its model providers, and that an admin can enforce org-wide; data-retention terms are a separate, contractual layer. Press Enter for the full definition. and controlled secrets.
Frequently asked questions
Who is this guide for?
Developers choosing where agent work should run.
What should I do next?
Start with one real repo task, capture the prompt and review the result before scaling the workflow.
Sources & last verified
Cursor ships frequently. Facts verified against primary sources on July 9, 2026.
Keep reading
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.