A common way coding agents arrive in a team is one enthusiastic engineer. A few weeks later three people use them in three different ways, nobody knows which laptop an agent has been running on, and the reviewer of the pull requests has no idea what was asked of the agent.
This post is a four-week plan for a team of about ten that wants to avoid that. It assumes the team uses Claude Code, Codex, Cursor or a mix, and that each agent gets its own cloud machine rather than running on a laptop. The commands are from the Sandscale CLI (1.4.1). The plan is a suggestion, not a standard: change the order to fit your team, but keep the habit of finishing each week's check before starting the next.
Week 1: two people, one repository, one template
Start with a pilot of two engineers and one repository. Resist pilots of ten.
Day 1: agree what an agent machine is. Ask your administrator to set up a workspace template with the language runtime and tools your repository needs, so a new machine is ready to work and nobody installs the toolchain by hand. Each pilot engineer then creates one workspace:
sandscale workspace create --name pay-1423-refund --template-id TEMPLATE_ID --ttl-seconds 28800
sandscale workspace ssh pay-1423-refund
Name machines after the task, not the person. A name like pay-1423-refund can be matched to a ticket; ravi-agent cannot once Ravi has three.
Day 2: write the first AGENTS.md. Claude Code, Codex and Cursor read AGENTS.md (Claude Code also reads CLAUDE.md, which can import it). Keep the first version to what an agent cannot guess: how to run one test, how to run the full suite, what never to touch, and when to stop and ask. Our post on AGENTS.md across Claude Code, Codex and Cursor has a starting point.
By Friday, check: can each pilot engineer hand the agent a small ticket and get a branch back? Write down what the agent got wrong. Those notes are the second version of AGENTS.md.
Week 2: reviewing like a colleague's work
The risk in week two is review, not code. An agent's pull request can be large, confident and wrong in a way that is easy to skim past.
- Agree a checklist for the reviewer. Our post on reviewing an agent's diff lists what to look for: changes to CI configuration, new dependencies, network calls and secrets.
- Add a pull request template that asks the agent to say what it ran and what it did not. Reviewers should not have to dig that out of the diff.
- Agree that the agent opens draft pull requests. A person marks it ready.
- Keep tests honest: tell the agent to run the changed-file tests on its own machine and the full suite once before the pull request, and not to use CI as its test runner. See why the edit-test loop should not wait on CI.
By Friday, check: did any reviewer approve something they later wished they had read more closely? If so, tighten the checklist before adding people.
Week 3: five more people, and the controls
Now add the next five or six engineers. The new thing at this size is that somebody has to answer "who can do what".
- Roles and groups. Sandscale's Team plan includes organizations, invitations, roles and groups. Put the pilot engineers in a group that can create workspaces; give reviewers a role that can see but not start machines.
- Approvals. Decide which actions wait for a person who is not the one asking: a production credential, a large machine, a new kind of agent. Approvals come with every plan, and nobody approves their own request. Start with two or three rules, not twenty. Our post on human approvals for agent tool calls covers how to avoid approval fatigue.
- Secrets. Keep secrets in the vault and out of prompts and repositories. Give each agent only what its task needs. See secrets out of agent prompts.
- Stopping. Agree who can use the kill switch, and rehearse it once. Kill switch for AI agents explains what an organization-wide stop should halt.
By Friday, check: ask someone who has not been involved to find out which agent changed a particular file last Tuesday, using the audit log. If they cannot, find out what is missing.
Week 4: the whole team, and the numbers
Open it to everyone, with the habits from the first three weeks written down on one page.
-
Machine hygiene. A running machine counts toward the plan's hours whether the agent is busy or waiting, so stopping machines when the task is done matters. Set an idle timeout and a time to live, and look at
sandscale workspace listonce a week. Our planning worksheet turns machine counts into a monthly figure. -
Handing work between people. The handoff is a branch and a note, not a machine. Only a workspace's owner can run commands in it with
workspace exec, which is the right default. - Heavy test suites. If the full suite is too big for an agent's machine, lease a build host for that one step instead of enlarging every machine; see leasing a build host for a full suite.
- A retro. Ask the pilot engineers what they would tell a new joiner on day one. That list is your onboarding document.
What to leave out
Three things a ten-person team does not need in the first month: a custom agent framework, a separate orchestration layer, and a measurement dashboard of lines of code written by agents. Counting pull requests merged and time to review gives you more than counting lines.
The plan on one card
| Week | Who | The new thing | Check on Friday |
|---|---|---|---|
| 1 | 2 pilots | One template, one machine per task, first AGENTS.md | Small ticket becomes a branch |
| 2 | 2 pilots | Reviewer checklist, PR template, draft PRs | No regretted approvals |
| 3 | about 7 | Roles, approvals, vault, kill switch rehearsal | Someone can trace a change in the audit log |
| 4 | all 10 | Machine hygiene, handoffs, build host leases | Retro and onboarding page |
Sandscale is built for teams using coding agents where each agent gets its own machine. If that matches your team, start with workspaces.
Originally published on the Sandscale blog.
Top comments (0)