Cloud agents

How long an agent session can run, and what happens when it ends

Every agent runtime has bounds. The useful thing a vendor can do is tell you what they are.

The short answer

A Polaris agent session is bounded by a maximum of ten model rounds and a hard eight-minute deadline checked before each round. A session that ends without a delivery has failed and is retried while it has been attempted fewer than twice. Two stalled sessions in a row stop the loop and put one question in the Today of the person who decides. Longer work is split across tasks.

Rounds per session
10
Session deadline
8 minutes
Attempts before parking
2

Why the bounds exist

An unbounded agent loop has two failure modes and both are expensive. It can spin, repeating variations of the same call while a bill accrues. Or it can wander far enough from the brief that the output needs more review than doing the work would have. Short sessions with a hard stop make both survivable.

The trade is real and worth stating. You cannot hand a Polaris worker an eight-hour job and walk away. You hand it a job a careful person could finish in a sitting, and you get a checkpoint at the end of each one.

Every limit in the session

Read from the runtime, not estimated.

LimitValueWhat happens at the edge
Model rounds10 per sessionA session with no delivery counts as failed
Wall clock8 minutes, checked before each roundThe job throws a timeout and is retried or parked
Web searchesCapped per sessionFurther searches are unavailable to the model
RetriesUp to 2 attempts per jobThe third failure sets the job to error with its message
Poll interval5 secondsSets how quickly a free machine picks up the next job
Live jobs per task1, enforced by a unique indexA second assignment is ignored rather than duplicated
Attached file size2MB of text per fileThe tool returns an error the model can react to
Document length120 blocks, 4000 characters eachExtra blocks are dropped rather than failing the job

What happens when a session runs out

The end of a session is engineered, not left to chance.

  1. 1

    The nudge

    If a round produces no tool call and nothing has been delivered, the runtime injects one message telling the worker to finish now by calling deliver. This happens exactly once per session.

  2. 2

    No fake delivery

    If the loop still ends without a delivery, the session fails. Earlier versions posted the last block of model text as the delivery; that hid real failures behind half-finished answers, so it was removed.

  3. 3

    The failure path

    An exception at any point writes an error event to the session stream, returns the worker to idle, and sets the job back to pending for another attempt if it has been tried fewer than twice.

  4. 4

    The question

    Two sessions in a row without a delivery stop the loop. The worker writes one plain question into the task ledger, listing what is still open, and it lands in the Today of whoever decides: narrow the ask, grant access, or hand it to someone else.

  5. 5

    The continuation

    Commenting on the task adds a request to its ledger and queues a fresh session, which must answer every open request. That is the supported way to carry work across sessions.

How to structure work that is genuinely long

The decomposition is the skill. These four patterns cover most of it.

  • One deliverable per task

    A competitor scan, a pricing table and a recommendation memo are three tasks. Each fits a session, each gets its own acceptance criteria, and each gives you a place to intervene.

  • Chain by comment

    Deliver the research, then comment asking for the memo built on it. The comment becomes a request in the ledger, and the follow-up session reads the earlier delivery as part of its brief.

  • Let the document accumulate

    Written work is drafted into the shared Docs tree, and a review session updates a page in place while snapshotting the previous version. A long document can grow across sessions with its history intact.

  • Use the checklist as a progress marker

    Ticked items persist between sessions. A follow-up session sees which criteria are already satisfied and is instructed not to redo finished work unasked.

Questions people ask

+What counts as a round?

One request to the model and the tool results returned to it. A round where the model calls three tools still counts as one. Server-side web search can pause a turn mid-round, and the runtime continues that turn rather than spending another round on it.

+Does a retry start from scratch?

Yes. A retried job builds its context again from the current state of the task, which now includes any progress comments, ticked items, documents and files the failed attempt already committed. The worker is instructed not to redo work that is visibly finished.

+Can several jobs run at the same time?

The runtime claims one job per loop cycle and works it to completion before claiming another, so a single machine processes the queue sequentially. The claim is written as a conditional update, so additional machines could be added against the same queue without two of them taking the same row.

+What if the model keeps calling tools and never delivers?

The round cap ends the loop after a single nudge asking for a delivery. A session that still has not delivered fails, and identical repeated tool calls are refused before that point. The eight-minute deadline is checked before each round and stops the session regardless.

+Am I billed for a session that hit its limit?

Only delivered jobs record human-equivalent minutes, and hours count only when a person accepts the delivery and closes the task. A job that ends in error, or a delivery you send back, adds nothing to the bill.

✦

Your next hire takes 60 seconds.

The software is free — unlimited people, tasks, workstreams and docs. You pay only for work an AI worker actually delivers, itemised by the hour.

Get started free

Last checked .