Why shouldn't an agent run directly on an employee's laptop?

Why shouldn’t an agent run directly on an employee’s laptop?

Why not just let a developer run an agent on their laptop and get on with the task? The repository is already there. The compiler, tests and editor are installed. The developer can run a shell command themselves, so giving the agent the same shell may appear to be a minor convenience. But an agent can select its next command after reading a repository file, a web page or an error message. Those inputs do not have the same authority as the person at the keyboard. Where the commands execute, and what that environment can reach, become organisational decisions rather than preferences about a development tool.

Consider a developer fixing a small problem in software used by a production team. The agent needs to inspect the project, edit a few files and run tests. The laptop also contains unrelated repositories, personal files and perhaps credentials used for other work. If the agent inherits the whole machine as its workspace, an accidental destructive command can touch more than the project under review. A malicious instruction planted in material the agent reads could attempt the same thing. This is not a claim that such an incident happened to a particular customer. It is a practical test of the proposed execution boundary: what would the agent still be able to do after making the wrong choice?

Local does not have to mean unrestricted

Accepted ADR-0002 in agentic-organization compares three approaches. Running directly on the laptop keeps setup simple but gives the agent a broad blast radius. Running every developer’s agent in a server container provides central isolation, yet introduces file synchronisation, latency and infrastructure work for someone who wants to use a local repository. The chosen developer path keeps execution near the repository while placing the agent in a managed local container. It is an attempt to preserve the useful part of local development without treating the entire laptop as a project directory.

The design says the project worktree is mounted, but the host home directory and credential files should not be exposed as ordinary workspace contents. It also describes a restricted path for network access. The implementation has a tangible shape in sandbox/compose.yaml: the sandbox service joins an internal network while a separate egress service provides filtered outbound access. The sandbox service drops Linux capabilities, prevents privilege escalation and sets process, memory and CPU limits. These settings define a narrower operating area. They do not prove that every possible escape or misconfiguration has been eliminated.

The 3pa run command is the entry point intended to make that boundary usable. In the repository it checks whether the gateway and persona token are usable, then, on the normal verified path, checks the signature of the organisation configuration before launching the container. If that signature fails, this path does not start the session. There are also explicit options to skip verification or switch off the egress proxy. Anyone assessing the safety of a deployment has to account for those paths rather than describing the normal path as a universal property. The design only makes sense when the actual way people start the agent is included in the review.

Why not move everything to the server instead? A developer’s inner loop depends on a local tree and tooling. Remote execution adds synchronisation work. The local sandbox has costs too: a container runtime, more resource use and friction with host services or hardware. If a team disables the boundary whenever a test needs a special connection, the design no longer describes its real workflow.

Different jobs need different execution paths

The same compromise makes less sense for someone in procurement reviewing proposals or an HR colleague handling employee documents. They should not need a developer toolchain and a container runtime on every laptop simply to work with their agent. ADR-0014 keeps the laptop sandbox for developers while choosing a server-side workspace direction for other departments. Its client decisions were partly superseded by ADR-0022; the earlier idea that everyone must use a terminal should not be presented as current. The execution choice survives, but implementation status matters: the workspace guide says the real controller is not built and the available runtime is a test FakeRuntime. The proposed workspace image has not been run in Docker. A design for a central workspace is not evidence that one is operating in production today.

For production staff, the relevant question may be which shift documents an agent can read. For procurement, it may be whether offer files need to leave a local folder. Finance will care about the handling of spreadsheets and payment information. HR has a different reason to limit access to personnel records. IT has to maintain the developer sandbox while separately planning the capacity and permissions of any future central workspaces. None of these examples assumes a finished department deployment. They show why choosing one runtime for everyone would hide substantial differences in tools, data and support needs.

There is a further reason not to market the laptop container as a complete solution. ADR-0002 explicitly accepts possible container escapes and mistakes in mounted paths. Read-only root filesystems, a macOS VM path and a check that prevents launch outside the sandbox remain unfinished. ADR-0003 describes local plugin policy as a soft control against someone with a shell on their own machine: a determined employee could bypass the managed launcher and run another tool. The audit path also should not be described as guaranteeing that every session stops whenever collection fails. The honest claim is narrower. A configured sandbox can limit the effects of ordinary errors and some hostile inputs within that path; it does not remove every way to bypass local controls.

That leads to a practical starting point. List the files, tools and destinations a task genuinely requires before choosing where the agent runs. For developer work, check the mounted paths and network routes in the actual launch configuration, not only in a policy document. Exercise a failed signature and any deliberately unverified mode separately. When considering server workspaces for finance or HR, verify the real runtime and its access checks before asking staff to rely on it. A useful boundary is one that can be inspected during ordinary work, including the awkward tasks that tempt people to turn it off.

The location of an agent is therefore not a minor infrastructure detail. It shapes who installs tools, which data can be reached and who owns the remaining risk. ADR-0002 and the surviving execution decision in ADR-0014 of agentic-organization offer two different answers for different work, while leaving their limits visible. The question worth carrying back to your own team is simple: which files and network destinations does this particular agent actually need to reach?

Verification note: The design and current limitations were checked against agentic-organization ADR-0002, ADR-0003, ADR-0014, packages/cli/src/commands/run.ts, sandbox/compose.yaml, sandbox/entrypoint.sh, and the docs-site guides to workspaces, sandboxing and known limits. The planned server workspace runtime is not described as already operational.