# Maximum working agents on a computer

> A limit of the budget of this computer that counts only the agents running a task right now.

- Area: Desktop app
- Plans: All plans
- Last checked against the product: 2026-11-27
- Web page: https://agentsroom.dev/docs/machine-working-agents

## What it does

A limit of the budget of this computer that counts only the agents running a
task right now. Agents that are idle, that finished their turn or that wait for
your answer do not count. You can keep many consoles open and still bound the
work in flight, which is what eats memory and CPU. A start past the limit waits
and goes by itself as soon as a working agent finishes its turn or starts
waiting for an answer (reported by Alex, 2026-11-26).

**Video (1 min 12 s):** [Maximum working agents, shown in the real app](https://youtu.be/8Dytbx1PED0). The limit is set to 2, one agent starts four helper agents, two work while the others wait with no console, and each waiting helper starts by itself when a turn ends.

## Where to find it

Settings > Agent behavior > Budget of this computer > "Maximum working agents".
The quickest way in: footer "Settings" > "All settings..." > type "budget" in
"Search all settings" > click "Budget of this computer". The row has a switch
on the right; once on, a number field appears under it (3 by default).
The same row is in the budget dialog of the Machines chip in the status bar
(gauge button at the end of a computer's row), and on the phone in the
Machines list (tap a computer's gauge).

## How to use it

1. Open Settings > Agent behavior > Budget of this computer.
2. Turn on "Maximum working agents" (switch on the right of the row) and type
   the number of agents that may work at the same time in the field below it.
3. Work as usual. A trigger, `agents_spawn`, a ticket or a team step started
   past the limit shows "Waiting for room" in its tab, with **Start now**, and
   starts by itself once a place frees (one place, one waiting agent: since
   2026-11-27 a freed place no longer starts every waiting agent at once). In the
   agent list its row says "Waiting for room" too, and it is not counted among
   the agents at work (until 2026-11-27 such a row read "Ready"). A start you click yourself asks, like
   the other limits of the budget: start on another computer with room, start
   here anyway, or cancel.

It can be combined with "Maximum live agents": the live limit caps the open
consoles, the working limit caps the ones running a task among them.

## Settings

- `machineBudget.maxActiveAgents` (global, this computer, Settings > Agent
  behavior > Budget of this computer > "Maximum working agents"): 1 to 64,
  absent = no limit (default). Stored on the account with the rest of the
  budget (see [Machine pool and machine budget](https://agentsroom.dev/docs/machine-pool.md)).

## Agent tools (MCP)

- `settings_set` with key `machineBudget` (scope global): pass the whole
  object, for example `{ "maxAgents": 12, "maxActiveAgents": 3 }`.
- `agents_spawned_get` / `agents_spawned_wait`: a run held by this limit is
  `held` with `heldReason: "budget_active"` and `startsByItself: true`.
- `agents_resume`: answers `held` with the same reason.

## Providers

All providers, no difference: an agent counts as working while its console
shows it working on a turn, whatever the CLI.

## Mobile

The phone's budget editor has the same "Maximum working agents" row. A
computer at this limit shows "Full: working agent budget reached" in the
phone's Machines list, and a start asked from the phone is refused with the
same sentence as on the desktop.

## Limits

- It never pauses or stops an agent that already runs: an idle agent you write
  to works again even when the limit is reached. It only holds new starts.
- A console that just started counts as working for its first minute (or until
  its first turn ends), so one freed place starts one held agent, not all of
  them at once.
- Every window of the app counts: a project window detached on its own and
  the main window add up their working agents.
- A start asked by another computer or by the phone is refused past the limit
  (it does not wait): start it on another computer, or wait for a turn to end.
  A project machine pool sends the work to the next computer with room.
- Two starts asked from another computer within the same second can both go
  through, before the first console is counted.
- The agent that starts helpers counts as working itself while its turn runs:
  with a limit of 2, an agent that starts four helpers first has one helper
  working and the others waiting, then two helpers once its own turn ends.
- In the sidebar, a waiting helper shows its name only, with no status line,
  until it starts.

## Common questions

- **Can I cap only the agents that are working, not the idle ones?** Yes:
  turn on "Maximum working agents" in Settings > Agent behavior > Budget of
  this computer.
- **My agent says "Waiting for room" while most of my agents are idle. Why?**
  Either "Maximum live agents" is reached (it counts every open console), or
  enough agents are working to reach "Maximum working agents". The tab says
  which one; raise or turn off the limit if the hold is not what you want.
- **Is this the plan's limit of agents?** No. The plan's limit is set by your
  subscription; this one is yours, per computer, and off by default.

- **How do I limit how many agents work at the same time?** Open the
  settings, search "budget", open "Budget of this computer", turn on "Maximum
  working agents" and type a number. Agents started by the app past that
  number wait, then start by themselves. Video: https://youtu.be/8Dytbx1PED0
- **Is there a video that shows it?** Yes, one minute in the real app:
  https://youtu.be/8Dytbx1PED0

## Related

- [Machine pool and machine budget](https://agentsroom.dev/docs/machine-pool.md): the budget of a computer and where work goes when it is full.
- [Remote Fleet](https://agentsroom.dev/docs/remote-fleet.md): the account's computers that share the budget settings.
