# Coding agents on client projects: a team lead's checklist for one machine per agent

> Services teams run Claude Code, Codex and Cursor across several client codebases at once. When those agents share developer laptops, client code, credentials and history mix. A checklist for team leads: one machine per agent per client, secrets kept per client, who can start and stop what, the audit record a client may ask for, and a clean exit at the end of the engagement.

Services teams run Claude Code, Codex and Cursor across several client codebases at once. When those agents share developer laptops, client code, credentials and history mix. A checklist for team leads: one machine per agent per client, secrets kept per client, who can start and stop what, the audit record a client may ask for, and a clean exit at the end of the engagement.

December 2, 2026 · 5 min read · The Sandscale team

A services team is rarely working on one codebase. The same engineer may touch two or three client repositories in a week, and now each of them has coding agents that clone, install, run tests and open pull requests. On a developer laptop, all of that lands in one place: client A’s repository next to client B’s, both clients’ cloud credentials in the same shell profile, one SSH agent holding keys for every Git host.

Clients have started asking how their code is handled when agents are involved. “The agent runs on the developer’s laptop” is a hard answer to defend. This checklist is for the team lead who wants a better one. It uses Sandscale as the example; most of the principles apply whatever you use.

## 1. One machine per agent, and never two clients on one machine

The rule that makes the rest easy: each agent gets its own machine, and a machine only ever holds one client’s code.

With Sandscale, that machine is a workspace, a persistent cloud computer with its own disk. Name them so the client is obvious:

```sh
sandscale workspace create --name acme-agent-1 --template-id TEMPLATE_ID
sandscale workspace create --name globex-agent-1 --template-id TEMPLATE_ID
sandscale workspace list
```

The engineer connects with `sandscale workspace ssh acme-agent-1`, clones the client’s repository there, and starts the agent there. Their laptop holds no client code at all, and neither agent can see the other client’s files, because they are on different machines.

For the riskiest commands, such as installing dependencies from a branch nobody has read, a sandbox gives a second boundary. Each one is its own Firecracker microVM with networking off unless your organization’s policy allows a mode, and when you upload a project into one with `sandscale sandbox instances-project`, the server leaves out files your `.gitignore` ignores and files on its deny-list, including `.env` files, private keys and cloud credentials.

## 2. Keep each client’s secrets apart

Client credentials are where mixing does the most damage. Put them in Vault, under a path per client, and write them from standard input so they never sit in shell history:

```sh
sandscale vault secret put secret/acme/staging-db --field password
sandscale vault secret put secret/globex/npm --field token
```

No Sandscale command prints a Vault value back. A sandbox gets values at start with `--vault-env`, read as the person starting it, and Your Vault policies decide every read and change. Write them so the engineers on the Acme project can use `secret/acme/...` and nothing under `secret/globex/...`; an agent acting as one of those engineers then cannot reach the other client’s secrets either.

## 3. Decide who can start, see and stop what

On the Team plan, the account becomes an organization with members, roles and groups, and single sign-on with your identity provider. Each member’s role decides what they can start, see and stop. A few rules worth writing down:

- **Agents act as people.** An agent connected through `sandscale mcp` acts with the signed-in person’s own access, never more. There is no separate, all-powerful agent account to protect.
- **Workspaces have owners.** Only a workspace’s owner can run commands in it with `sandscale workspace exec`, with their own sign-in; an API key is refused. A teammate reviews through the branch and the pull request, not by logging into someone else’s agent machine.
- **There is a stop button.** Every organization has a kill switch that stops its agents at once. Agree who may use it.

## 4. Have the record a client may ask for

Sandscale keeps a hash-chained audit log of every action: sign-ins, sandboxes and workspaces started and stopped, commands run, files moved, secrets used, approvals, policy changes and kill switch use, with who did it, when and where. Every plan can read it:

```sh
sandscale audit events-list --from 2026-12-01T00:00:00Z --to 2026-12-02T00:00:00Z --json
```

On Team, the organization can be divided into projects, the log can be filtered by project with `--project-id`, and it can be exported for a period as evidence for your own assessments. Sandscale does not claim a certification on your behalf; that stays with you and your assessor. See [how Sandscale isolates and governs agent work](https://sandscale.dev/security) for the controls in one place.

## 5. Know where the work runs

Clients’ contracts sometimes say where their code may be processed. Sandscale’s workloads, and their data, run in the United States (N. Virginia) and stay in the region they were created in. Check that against each engagement before you move its agents, and keep the answer in the project’s onboarding notes so nobody has to guess later.

## 6. Write the rules where the agent reads them

Each client repository gets its own `AGENTS.md`, so the agent’s instructions do not leak between clients either:

```markdown
## Working on this repository
- This machine is for Acme only. Do not clone other repositories here.
- Secrets come from the environment; never write values into files or commits.
- Work on a branch named agent/<ticket>; open a pull request for review.
- Run the focused tests before saying a change is done.
```

## 7. Plan the exit on day one

At the end of an engagement, the client’s code and access should leave with it. Because everything for that client lives on its own machines and under its own Vault path, the exit is a short list:

1. Make sure every branch the agents worked on is pushed or deliberately dropped.
2. Delete the client’s workspaces. `sandscale workspace delete --ws-id WORKSPACE_ID` removes the workspace and its disk for good, and asks before it runs.
3. Destroy the client’s secrets: `sandscale vault secret destroy secret/acme/staging-db` removes the secret and all its versions.
4. Remove client-specific members or group access.
5. Keep the audit log for as long as your agreement says, and export it if the client asks.

Compare that with the laptop version of the same exit: asking every engineer to find and delete every copy of the client’s repository and every credential, and hoping they did.

## The short version

One machine per agent, one client per machine, secrets per client in Vault, people (not agents) holding the access, and a record you can show. The agents get more done because they are not sharing anything, and the team lead gets an answer to the client’s question that holds up.

For how a team divides work between agents, see [a team workflow for coding agents](https://sandscale.dev/blog/team-workflow-for-coding-agents). For what a good agent audit log records, see [audit logs for AI coding agents](https://sandscale.dev/blog/audit-log-for-ai-coding-agents).

**On this page**

1. 1. One machine per agent, and never two clients on one machine
2. 2. Keep each client’s secrets apart
3. 3. Decide who can start, see and stop what
4. 4. Have the record a client may ask for
5. 5. Know where the work runs
6. 6. Write the rules where the agent reads them
7. 7. Plan the exit on day one
8. The short version

**Run your agents in a box of their own**

Each sandbox is a Firecracker microVM. Free includes 100 awake vCPU-hours a month.

[Start free](https://cloud.sandscale.dev/auth/signup)

## Keep reading

- [December 2, 2026 · **Auditing the MCP tool calls your team's coding agents make** · When Claude Code, Codex, Cursor or Gemini CLI call MCP tools, the record of what happened can live in three places: the client, the MCP server, and the system behind it. What each layer can see, which one to trust as the record, whether to keep arguments, and how to read Sandscale's audit log for agent calls from the CLI.](https://sandscale.dev/blog/auditing-mcp-tool-calls)
- [December 2, 2026 · **Device flow login on headless machines: signing a coding agent's machine in as a person** · An agent's cloud machine has no browser, so a CLI there cannot open a sign-in page. The OAuth device authorization grant (RFC 8628) solves that: a short code you approve on your phone or laptop. How it works, the one phishing risk to teach your team, and how to use sandscale login --device on each agent's machine.](https://sandscale.dev/blog/device-flow-login-on-headless-machines)

---
Source: https://sandscale.dev/blog/client-projects-one-machine-per-agent-checklist
