Cloud vs local coding agents: choose where the work should run
Compare execution location, environment setup, data access, continuity and cost without confusing tool execution with model hosting.
· CodePress
Choose the execution environment that can run the task’s required tools, reach approved dependencies and produce reviewable evidence. Local execution often fits machine-specific dependencies; cloud execution can fit work that needs a reproducible shared environment and continuity beyond a laptop session. Local tools can still call a hosted model, and a cloud agent can have restricted network access. Neither location guarantees security or correctness.
Separate four choices before comparing products
“Local agent” can describe several different arrangements. Write down these four layers so that a discussion about code execution does not accidentally become a claim about data handling:
- Model: the service or process generating responses. Identify where requests go and whose account and terms apply.
- Harness: the software coordinating context, model calls, tools and permissions.
- Execution host: the machine or environment where commands, edits and browser tools run.
- Application environment: the runtime, database, services and fixtures needed to exercise the change.
VS Code’s harness guide makes model selection distinct from the harness and describes cloud as an execution target. Its options and compatibility rules are specific to VS Code. The useful evaluation question is broader: which layer changes when you move this task, and which capabilities must you recheck?
What is a coding agent harness?
A coding agent harness is the software around the model that lets it act as an agent. In the sense this post uses the word, it manages the context the model sees, calls the model, runs the tools the model asks for and applies permissions. VS Code’s documentation puts it this way: “An agent harness coordinates the language model, context, and tools that an agent uses to complete your task.” The model produces responses; the harness turns them into edits, commands and test runs.
The same documentation lists Copilot, Claude and Codex as harnesses you can choose in VS Code, and says that choosing a different model does not change the harness: a Claude model selected in a Copilot harness session still uses the Copilot harness. Anthropic’s engineering team calls its Claude Agent SDK “a powerful, general-purpose agent harness”. Both are vendor descriptions read on November 13, 2026; there is no single standard definition, so check which parts a product means when it uses the word.
| Layer | Question it answers | Changes when you move local to cloud? |
|---|---|---|
| Model | Which service generates the responses? | Not necessarily. Local tools can call a hosted model. |
| Harness | What manages context, tools and permissions? | Sometimes. VS Code, for example, treats Cloud as an execution target of the Copilot harness rather than a separate harness. |
| Execution host | Where do commands, edits and browsers run? | Yes. This is the choice this post is about. |
The practical consequence: when you compare a local setup with a cloud one, ask separately whether the harness, its tools and its customizations are the same, because a different harness can behave differently on the same model and the same task. For the broader category these agents belong to, see background coding agents.
Example: compare two environments for one repository
This hypothetical repository, example-co/dispatch-console,
contains a web dashboard and a USB label-printer integration. Consider two
candidate environments for it: a managed developer workstation and a cloud
development workspace. These are proposed requirements, not measured product
results or a benchmark.
| Requirement | Local workstation | Cloud workspace |
|---|---|---|
| USB printer and driver | Device available; verify driver version and access. | Device unavailable in this scenario. Use a simulator for partial checks; hardware signoff remains local. |
| Web runtime and test database | Install pinned runtime and seed synthetic fixtures. | Build the same pinned runtime and synthetic fixtures from repository instructions. |
| Private package registry | Approved registry connection required. | Approved registry connection and permitted route required; do not copy a developer’s home directory. |
| Credential names, never values | Package-read credential and test-service credential only. | Equivalent narrow credentials, independently provisioned and revocable. |
| Browser review by a teammate | Provide an approved preview route or reproducible checkout. | Verify preview authentication, access and lifetime. |
| Work after the engineer leaves | Confirm host power, connectivity and process lifecycle. | Confirm session lifecycle, capacity and recovery behavior. |
For a printer-driver bug, choose the workstation for the decisive hardware test. A simulator may help development, but label its limits. For a dashboard validation error, the cloud candidate is worth testing if it can reproduce the application and provide the reviewer access. Both tasks still need an identified model route and the same standard of PR review.
Compare dependencies and permissions before convenience
List each required dependency with its owner: package registry, internal API, test database, hardware, browser identity and build artifact store. For each, ask whether the candidate environment can reach it through an approved route. An unavailable private API may call for an approved fixture or a staging environment, rather than broadening network access.
Then inventory the permissions the agent would receive. Local tools may encounter files or credentials outside the repository if their permissions allow it. Cloud tools require deliberate repository, integration and environment access. Use the security assessment worksheet to examine those boundaries; CodePress’s own stated controls are in its security brief.
Check provider support separately from execution location. The CodePress Software Factory page states that supported API keys and model subscriptions can be used alongside managed models. Confirm the specific provider, account type and requested role before planning around an existing subscription. “Bring your account” does not establish that every account or tool is supported.
Make the application portable enough to evaluate
A useful portability record lets another environment start from a known commit without depending on an engineer’s remembered setup. Capture:
- Pinned runtime and dependency versions, installation steps and supported operating systems.
- Synthetic seed data, service startup order, health checks and reset instructions.
- Credential names, scopes, connection owners and provisioning paths, with values stored through approved mechanisms.
- Commands and browser scenarios that prove the acceptance criteria, including checks that require hardware or external infrastructure.
- How to resume work, preserve a diff and shut down previews, processes and temporary resources.
The Software Factory CLI page presents a local delivery workflow that connects to an engineer’s existing coding agent and records QA evidence at the tested commit. A local CLI is a contextual alternative for teams keeping execution on their machines; it does not imply a local model, offline operation or automatic compatibility with every dependency.
Run a bounded pilot and compare the whole handoff
Pick one representative change with a written acceptance contract. Record the base commit, dependency setup, model and harness, execution host, granted permissions and checks performed. If you try both environments, use separate branches and equivalent fixtures so one run does not silently inherit another run’s repair. Record blocked checks alongside completed ones.
Measure setup effort, interruptions, successful checks and the reviewer’s ability to reproduce the result. For cost, separate model usage, agent or compute time, storage, external services and human setup or review. A subscription does not erase infrastructure costs; existing hardware does not erase maintenance time. Without measured inputs for your task, there is no defensible universal cost or latency winner.
Write a decision with an exception: “Use the cloud candidate for dashboard work that passes the documented environment checks; keep printer integration testing on the device-equipped workstation.” Revisit it when a dependency, permission boundary or review need changes. That gives the team a usable operating rule instead of a permanent preference for a location.
FAQ
What is a coding agent harness?
The software that coordinates the model, its context and its tools so that the model can complete a coding task: it runs the tools the model requests and applies the permissions you set. It is separate from the model itself and from the machine the commands run on.
Is the harness the same as the model?
No. In VS Code’s documentation, changing the model does not change the harness. Two products can use the same model and behave differently because their harnesses give it different tools, context and permissions.
Does the harness change when I move a task to the cloud?
It depends on the product. The execution host always changes. Whether the harness changes depends on how the vendor builds it: VS Code says its Cloud target runs the Copilot harness in a managed cloud environment. Record the harness and the host separately in your pilot, as described above.
Evaluate the CodePress cloud workflow with one repository and one meaningful, bounded task. Keep the local CLI in the comparison when your task depends on your existing workstation environment.