Skip to main content
Back

Agent statuses

What each agent status means, how to stop a turn, and why a turn stops on its own.

What do the statuses mean?

In the sidebar and at the top of an agent's page:

  • Working: the agent is on a turn.
  • Needs you: the agent finished a turn you have not opened yet. It clears when you open the agent.
  • Failed: the last turn ended with an error.
  • Idle: nothing is waiting on you.

On the Agents page, a card that is not working or waiting shows In review while a pull request it opened is still open. Otherwise it shows its computer: Ready when it is awake and Asleep when it is not.

When does a computer go to sleep?

After 10 minutes with no turn running, no typing in a terminal, and no visits to an app it serves. A sleeping computer uses no credits. Send a message to wake it, and it picks up where it left off.

How do I stop a turn?

On the agent's page, select the stop button in the message box (it replaces the send button while the agent works and the box is empty), or press Escape. On the Agents page, select Stop on the agent's card. The turn then shows Stopped.

Why did a turn stop on its own?

A turn has no time limit. It stops on its own for one of these reasons, and the turn says which:

  • Stopped at its credit limit: the turn used the credits set aside for it.
  • Stopped when credits ran out: your organization has no credits left.
  • Lost track of the agent: the computer stopped reporting.
  • Could not clone the repositories or Setup failed: the computer could not get ready.

Send another message to continue. When a turn fails, its card on the Agents page also offers Retry. An agent stopped lists every message and what to do about it.