// automation

Queues

A queue is a backlog one deployed agent works through. You push items onto it, superagnt hands them to the agent one at a time, and each item gets its own session with its payload as context. Nothing is lost if the agent is busy: the backlog just waits.

one agent per queueconcurrency 1 to 20every plan
01// what a queue is

A backlog with one drain

Each queue is bound to exactly one deployed agent and carries a name, an optional description, a status and a concurrency setting. Items are dispatched in the order they were enqueued: the sweep always promotes the lowest-position pending item, and overlapping sweeps cannot claim the same item twice.

Concurrency is how many items may run side by side. It accepts 1 through 20 and defaults to 1. Each parallel slot is a parallel billed agent session, so raising it multiplies spend as well as throughput.

StatusMeaning
activeThe sweep dispatches pending items.
pausedNo new items dispatch; anything already in flight finishes. Reversible.
archivedA soft, terminal retire that keeps the history. An archived queue cannot be reactivated.
02// creating and filling one

Create once, push often

Create the queue against a deployed agent, then push payloads onto it. A single enqueue returns the item id and its position in line; the batch form takes up to 500 payloads and appends them in order. Both fail if the queue is paused or archived, and the batch fails atomically, so a rejected batch leaves nothing half-enqueued.

agnt_queues_* from an MCP clienttext
// one queue, bound to one deployed agent
agnt_queues_create({
  agent_id: "<deployed agent uuid>",
  name: "Inbound demo requests",
  concurrency: 3
})

// push work onto it, one item at a time…
agnt_queues_enqueue({
  queue_id: "<queue id>",
  payload: { company: "acme.com", source: "webinar" }
})

// …or up to 500 in a single call
agnt_queues_enqueue_batch({
  queue_id: "<queue id>",
  payloads: [{ company: "acme.com" }, { company: "globex.com" }]
})

Agents can fill a queue themselves, which is the usual way one agent hands work to another: a scraper enqueues one item per row it found, and the bound agent works the list down. The platform records which deployed agent enqueued each item, so attribution survives even when several producers share one queue.

03// item lifecycle

Four states, one session each

An item starts pending, flips to processing when the sweep claims it, and lands on completed or failed. A failure does not stop the queue: the item keeps its error string and the drain moves on to the next one.

FieldWhat it carries
payloadArbitrary JSON, handed to the agent session as the context for that item.
agent_session_idThe session that processed it, so you can read the transcript of any single item.
errorSet on a failed item. This is the first thing to read when a queue drains but the results are wrong.
positionOrder in line, unique per queue, and the cursor the item listing pages on.
04// monitoring

Depth, drain and the failing item

The workspace Queues page shows each queue as a row with a completed / processing / pending / failed breakdown, how far it has drained, a pause and resume control, and a link into the queue detail page. It also rolls the workspace up: total in flight across every queue, and total failed items.

From an MCP client, agnt_queues_list returns every queue with its pending and processing counts, which is the cheap check before you push more work. agnt_queues_list_items reads the items themselves, filtered by status and paged with a position cursor. Use agnt_queues_update to rename, re-concurrency or move the status.

delete is not archive

Deleting a queue is a hard delete and cascades to every item on it, pending, processing and completed alike. When you want to stop a queue, pause it (reversible) or archive it (keeps the history).
05// limits and pricing

How many queues a plan runs

Queues are on every plan. The builder plans cap how many queues exist across the organization; an archived queue does not count. The no-card trial runs on Growth limits.

PlanPriceQueues
Starter$49/mo3
Growth$149/mo15
Scale$399/mo50

Creating or reactivating a queue past the cap comes back as an upgrade offer naming the next plan, and nothing is created. If a plan change leaves more queues than the new plan allows, the oldest keep draining and the rest hold their items as pending until you upgrade or archive some. When a trial ends or a plan lapses, every queue holds the same way. No item is dropped, and draining resumes on its own once the plan is active.

credits are a separate line

The running cost of a queue is the sessions it starts: one billed agent session per item, multiplied by however many run in parallel. Those sessions spend AI credits, which the builder plans do not include.
06// related