Run a task as several attempts
A task that changes code can run as 1 to 8 attempts at once. Each attempt gets a coding computer of its own, a throwaway box with one seat, and works on its own branch named task/<slug>-<n>. You compare what each attempt changed and pick one. Picking pushes that attempt’s branch for the pull request and discards the others.
Ask for attempts
Section titled “Ask for attempts”- Start a new task and choose a repo in the chip that reads No repo. The attempts chip stays disabled until the task has a repo, since each attempt works on a branch.
- Open the attempts chip, which reads One attempt, and choose a number up to 8 attempts. One attempt runs on the agent’s own computer. More than one runs each on a coding computer of its own.
- Choose Start 3 attempts, with your number in place of 3.
Save as draft is disabled while the task has more than one attempt.
The server refuses the request, and makes no task, in these cases.
- Coding computers are off on this server. The answer starts “Coding computers are off on this server.”
- The repo has a policy. The policy runs every change through the coding framework, which takes no attempts, so the answer says to start an app-change run on it instead.
- No Claude account is available to run the attempts. The answer starts “Boxes have no Claude login yet.” Sign in to Claude, or ask an admin to set the team’s token.
An attempt runs on your Claude sign-in when you have signed in, and on the team’s token when you have not.
Follow the attempts
Section titled “Follow the attempts”The task shows an Attempts list under its facts. The heading counts the team’s coding computers, such as “3 of 8 coding computers running”, and adds “, 2 waiting” when attempts wait. Each row has these parts.
- The attempt’s number and a line that says where it is.
- How many files it changed with the lines added and removed, or “No changes yet”.
- Whose Claude account it runs on, one of “On your Claude account”, “On the team’s Claude account”, or a teammate’s name.
- A Screen button once its computer is ready, which opens the seat’s screen. Watch and take over an agent’s screen covers it.
Choose a row to read that attempt’s conversation below the list. An attempt with no session yet reads “Attempt 2 starts once it has a coding computer.”
The line reads one of these.
- Waiting for a coding computer. The team is at its limit, and the line adds “The team has 8 of 8 running.”
- Waiting for room on the server for a coding computer. The server has no free CPU or memory for another one.
- Starting its coding computer. If it fails, the line reads “Its coding computer could not start yet” with the reason.
- Working. The agent’s turn is running.
- Its turn ended. Pick it to open its pull request from its branch.
- Picked. Its pull request opens from the branch name.
- Discarded.
Only the person who asked for the attempts and team admins can message an attempt, interrupt it or answer what it asks. Everyone else can watch. Their view says “Only the person who asked for this attempt and team admins can message it, since its computer holds the Claude sign-in it runs on. You can watch it.”
Pick an attempt
Section titled “Pick an attempt”- Wait until the attempt’s turn ends. Pick is disabled while the agent works.
- Choose Pick on the attempt’s row.
- Answer “What should the pull request be called?” and “What should it say?” The task’s words fill the answers to start.
- Choose Open pull request.
When the attempt’s agent wrote the pull request’s title and text with open_pull_request, Pick skips the questions and shows them with Open pull request, so one press opens it. Choose Title or Says to change the words, or Not now to close it. The agent’s text follows the pull request rules, a type(scope): subject title and the sections ## Why, ## Scope, ## Blast Radius and ## Verification, and the tool refuses text that breaks them.
The server pushes the attempt’s branch, and the pull request opens from it. Every attempt still open is discarded. Only one attempt of a task is picked.
If the push or the pull request fails, the row’s line says why and the button reads Pick again. If a picked attempt does more work afterward, choose Push new work to push its branch to the pull request again.
Discard an attempt
Section titled “Discard an attempt”- Choose Discard on an open attempt’s row.
- Choose Discard attempt 2, with the attempt’s number. The prompt says “Its coding computer is thrown away, with any work it has not pushed.”
A discarded attempt takes no more messages. Its computer and its home volume are removed. A picked attempt stays, and its pull request stays with it.
Restart an attempt
Section titled “Restart an attempt”Choose Restart on a discarded attempt’s row, or on one that could not start. Agents adds a new attempt to the task, numbered next, and it waits for a coding computer like any other. It starts again from the repo’s default branch, with the task’s agent and instructions, so it does not carry on the old attempt’s work. Its row says which attempt it restarted, and the old one keeps its own row as it ended.
Each attempt restarts once, and a task still has at most 8. A picked attempt can’t restart, since its branch is the pull request, and an open one can’t until you discard it.
Have an agent run the attempts
Section titled “Have an agent run the attempts”An agent in a chat or a task has four tools for attempts. Each runs for the person its turn is for, with that person’s permissions.
start_attemptsstarts a task with 1 to 8 attempts on repos named as owner/name, by itself or by a teammate agent it names. The task joins the chat when that person is in it.list_attemptsreads each attempt’s status, branch, changes and line, with the team’s coding computers.pick_attemptpicks one with a pull request title and body, anddiscard_attemptdiscards one.
You are asked before the agent starts, picks or discards, since those spend computers, open a pull request in your name or throw away unpushed work. Only you can answer, and a yes covers one call with the arguments you saw. You are asked before each call. The card offers Allow once and Deny, with no Always allow or Never, and the act-without-asking switch does not answer for you. Listing asks nothing. In a turn nobody asked for, such as a pipeline stage’s, the agent is told no at once and nobody is asked. An attempt that tries to start attempts of its own is refused.
See the pool
Section titled “See the pool”The Machines overview shows the team’s coding computers. It reads like this, with your server’s numbers.
- “The team runs up to 8 at once, each with 2 CPUs and 4 GiB. Now 3 run, 1 warm for the next attempt, and 2 attempts wait for one.”
- “The server has room for 6 more CPUs and 12 GiB more, once every person’s computer has its room.”
It reads “Coding computers are off on this server.” when the limit is 0. Eight computers and the sizes above are the defaults, and an admin can change them.
When a coding computer goes away
Section titled “When a coding computer goes away”The pool throws a coding computer away after its attempt is discarded or fails. It also throws one away after its work is pushed and the attempt has been quiet for two hours by default, with its turn over and no one holding its screen. An attempt nobody touches for a day has its branch pushed and its computer thrown away. If the push fails, the computer stays, and its row says why.
The pool keeps one warm computer ready for a team that asked for an attempt in the last day.