Blog · Comparison · 16 November 2026

Cloud Agents vs Local Agents: How to Choose

Cloud agents vs local agents is a decision about where a coding agent's process runs: on a vendor's machines or yours in the cloud, or on the laptop in front of you. Vendors with cloud products argue for the cloud. Tools that run in your terminal assume local. Both have real advantages, and most teams end up with a mix. This article compares the two using what Cursor, Warp, GitHub, Cognition and E2B have published, and then covers what stays the same wherever the agent runs.

What each term means

Local agents run on your machine with your checkout, your tools and your credentials. Claude Code and Codex in a terminal are the common examples. You see every step, and the agent stops when you close the lid.

Cloud agents run on someone else's computer, each with its own environment. Cursor's announcement says cloud agents make it easy to run many agents at once without your laptop staying connected. GitHub's Copilot coding agent works in the background from an issue and opens a pull request. Cognition describes Devin's cloud agents as each having their own computer. These are also called background agents or asynchronous agents: you hand off a task and come back to a result.

A third arrangement sits between them: your own cloud. Agents run in CI jobs or sandboxes you provision. Cursor offers self-hosted cloud agents that keep code and tool execution in your network. Warp's Oz and sandbox vendors such as E2B provide the machines.

The case for cloud coding agents

Published arguments, with their sources:

  • Parallelism. Warp's Oz post says running many agents locally hits limits on git checkouts, CPU and memory.
  • Persistence. Work continues with the laptop closed (Cursor).
  • Isolation. E2B's article on the limits of running agents locally lists security and isolation first, and says isolation is hard to guarantee with containers.
  • Session length. The same E2B article lists session length; Cursor's lessons from a year of cloud agents put durable execution and environment quality at the top.
  • Governance. Warp argues that moving agents to the cloud improves return on investment and governance, because everything is centralized.

The case for local agents

  • Immediacy. You watch, interrupt and redirect. GitHub's comparison of agent mode and coding agent describes the local one as a real-time collaborator and the cloud one as asynchronous.
  • Your real environment. Local agents use the toolchain, services and data you already have. Cursor's posts on cloud environments show how much work it takes to reproduce that elsewhere; one says the development environment is a product in its own right.
  • No new trust boundary. Your code stays where it is.
  • Cost and setup. Nothing to provision.

Cloud agents vs local agents compared

Local agents Cloud agents
Runs when your laptop is closed No Yes
How many at once Limited by your machine Limited by budget
Environment Yours, already working Must be built and maintained
Access to your credentials Whatever your shell has Only what you inject
Feedback loop Seconds Minutes to an hour, asynchronous
Supervision You are watching Somebody has to check in
Isolation between agents Worktrees or separate directories A machine each
Typical unit of output Changes in your working tree A branch or pull request

When local is the better choice

  • Exploratory work where you steer every few minutes.
  • Tasks that depend on local services, hardware or data that are hard to reproduce.
  • One to four agents at a time.
  • Anything where the feedback loop matters more than throughput.

When cloud is the better choice

  • Well-specified tasks you can hand off: bug fixes, small todos, migrations with a clear pattern. Cursor describes exactly these uses.
  • Work that should continue overnight or while you do something else.
  • Dozens or hundreds of agents.
  • Environments where agents must not touch developer credentials.

Cognition's Devin CLI shows the two blending: start a session in your terminal and hand the same session off to the cloud when it outgrows your laptop.

What does not change with location

Moving an agent to the cloud solves compute and isolation. It does not solve these:

Someone still has to answer it. A cloud agent that needs to install a package or run a migration either has blanket permission, or it stops. If it stops, the question has to reach a person. With a local agent the question at least appears on your screen. With a headless agent there is no screen.

Someone still has to review the result. Cognition and Warp both describe code review as the bottleneck once generation is cheap. More background agents means more pull requests, not fewer.

Agents still collide. Separate machines prevent overwriting each other's files on disk. They do not prevent two agents from changing the same function on two branches.

Someone needs to be able to stop them. One runaway local agent is a Ctrl+C. Two hundred in sandboxes need one action that reaches all of them.

These are supervision problems, and they are the same in both places. That is the gap a coordination system fills, whichever side of the cloud question you land on.

How Forkit works in both places

Forkit hosts no agents. It attaches to them where they run.

Local. npx forkit-cli init adds hooks to Claude Code and connects Codex. Permission requests go to shared rules, then to a person, in the web inbox or forkit watch. If nobody answers in time, the terminal prompt appears as before.

Your sandboxes and CI. forkit init --sandbox installs Claude Code's hooks with no sign-in and no question, and sets the hook to deny on timeout. The API key arrives at run time in an environment variable. A fan-out mints up to 1,000 keys that expire (one hour by default, 24 hours at most). An unanswered permission request from such an agent is recorded as denied, since there is no terminal to fall back to. Identical requests from many agents are grouped into one question. Stopping the fan-out stops every agent on its next step.

What Forkit's documentation says is not covered: Codex in a sandbox, a spending limit in money, and deleting the sandboxes themselves. And Forkit does not attach to vendor-hosted agents such as Cursor's; its site lists Cursor as coming soon.

A mixed setup that works

  1. Keep interactive work local, with a sandbox and allow rules.
  2. Hand off well-specified tasks to cloud or CI agents.
  3. Give every agent, in either place, the same route to a person and the same rules.
  4. Review all output the same way, with approvers chosen by the files changed.

Related: background agents in CI, agent fan-out explained and Forkit vs Cursor cloud agents.

Where Forkit fits

Forkit is the same inbox and the same rules for your local sessions and your headless workers, so the answer to "where should agents run" does not change who supervises them. It is free to try. More at forkit-mcp.com.

Sources

Read on 16 Nov 2026: