Skip to content

Machines, fleet size, and the queue

Every conversation runs on its own cloud machine. The fleet size is the most conversations that can have a running machine at once. Later ones wait in a queue until a machine frees up.

The default fleet size is 5. Admins change it on Settings → Fleet → Capacity → Running conversations.

Terminal window
nori-sessions fleet status
nori-sessions fleet set-size --size 4

Admins can lower it. Raising it needs an owner, and it cannot go above 10 or above the machines your plan pays for (see billing and plans). When an owner buys more machines, the fleet size goes up with them. If Nori has given your organization free machines, the Billing page says so, and they count on top of the machines you pay for.

Web chat. A dialog says All agents are busy and your message waits in line, with its position. It starts on its own when a machine frees up, so you can close the dialog. Unqueue withdraws the message. The dialog also lists idle sessions; End session then End it ends one to free its machine for the shared queue. Freeing a machine does not move your message ahead of older tasks.

Slack. The bot replies “I’ve queued this task” with its position, an Unqueue button, and up to three idle sessions with End idle session buttons. !free-oldest frees the oldest idle session in the fleet.

Automations. By default an automation that finds the fleet full ends the oldest session that has been idle for at least 10 minutes and takes its machine. A session in the middle of a turn is never ended. To wait in the queue instead, uncheck Reclaim an eligible idle runtime when none are free under Execution policy on the automation (CLI: nori-sessions triggers update --interrupt-to-run false). See automations.

The Queue page (/queue, reached from the Queue · N waiting chip on the welcome screen) lists tasks waiting for a machine: place in the queue (#), task, Requested by, Status, and how long it has waited. Filter with All, Ready, and Held.

Status Meaning
Next up starts when the next machine frees
Waiting in line behind older ready tasks
Retry at time failed to start and retries then
Awaiting review held until someone reviews it

Each row’s ⋯ menu has Open chat (when the task has one) and Cancel task…. How the queue works at the bottom explains the order. You see only tasks you can access; the total counts every task. Admins also get the same table as the Task queue card on Settings → Fleet.

Terminal window
nori-sessions fleet queue list
nori-sessions fleet queue cancel --id <id>

A conversation with no activity for the inactivity timeout goes idle, and its machine can be paused or freed for others. It picks up where it left off on the next message. A running turn never counts as inactive. The default is 60 minutes. Admins change it on Settings → Fleet → Capacity → Session inactivity timeout (minimum 1 minute), or:

Terminal window
nori-sessions fleet set-settings --session-inactivity-ms 3600000

Organizations that saved settings under an older default keep their saved value.

Availability: this feature is being rolled out and may not be enabled for your organization yet.

Size vCPU RAM
Small (default) 1 2 GiB
Medium 2 4 GiB
Large 4 8 GiB
X-Large 8 16 GiB

Pick a size for a new chat with /size in the composer. A size is guaranteed and can burst up to four times it, within the provider’s maximum. Admins choose which sizes are enabled and the default on Settings → Environment → Machine sizes (or nori-sessions fleet sizes). The Auto default follows the sizes people recently started with. Larger sizes draw on a Machine RAM budget of 2 GiB per paid machine. Some sandbox providers ignore sizes; the card says so when that applies.

On providers with a 24-hour machine limit, Nori moves a long conversation to a fresh machine about an hour before the limit. The chat says “I moved this conversation to a fresh machine.” Git repositories in the workspace, including uncommitted changes, carry over. Running processes, the browser, files outside the workspace, and earlier preview links do not.

Availability: this feature is being rolled out and may not be enabled for your organization yet.

Nori can build an image of a machine already set up for your organization and start new machines from it, so they skip setup. Settings → Environment shows the image in use, when it was built, and the median time to ready from the image versus full setup. Admins can choose Rebuild now or View history. CLI: nori-sessions fleet org-image.

The setup script itself is under Settings → Environment → Setup script & tools → Edit Setup Script. Saving a change rebuilds the image.

After 5 recent setup failures, Nori pauses creating new machines so a broken setup script or integration does not fail over and over. Running sessions keep working, but new sessions cannot start. A Fleet scaling paused alert appears at the top of Settings → Fleet and at the top of the notifications list.

Nori then investigates and sends the org owner a short notice by email and Slack DM. It says who has to act:

Notice says What to do
your setup script needs a fix fix the setup script, then Dismiss & Retry
an integration needs attention fix the integration, then Dismiss & Retry
this one’s on us nothing; if sessions have not resumed in a couple of hours, Dismiss & Retry

Dismiss & Retry clears the failures and lets new machines start again. Nori sends a follow-up, “New sessions are working again”, when a machine sets up cleanly.

Releasing ends the session and returns its machine to the pool.

Surface How
Slack or Discord thread !done (or !release)
Web chat Release session in the composer settings, or Release in the sidebar row menu
Inside the session nori-sessions sessions release --self

A released web chat shows Resume session, which restores it on a fresh machine from its checkpoints. See checkpoints and resume.

Why is my message waiting? Every machine in the fleet is busy. It starts on its own; an admin can raise the fleet size or end an idle session.

Does an idle session hold a machine? Until it is paused or freed after the inactivity timeout, or ended to make room.

Will an automation end my session? Only if it has been idle at least 10 minutes and the automation is set to reclaim idle machines. Mid-turn sessions are never ended.

What survives a release or a machine move? Git repositories under the workspace, including uncommitted changes. Processes and files elsewhere do not.

Who can change capacity settings? Admins; raising the fleet size needs an owner.

this page as markdown: /sessions/guides/machines-and-capacity.md· index for agents: /llms.txt