Skip to content

Agents and automation

Subagents

Child agent runs, their hierarchy, isolation, recovery, and how results are acknowledged.

  • 24 min read
  • 10 sections

Subagents ​

Subagents are child agent runs that a thread's agent starts to delegate research, implementation, or review. They are one durable AgentRun each and run under the parent thread's authority ceiling. Their provider and model can come from the parent, a configured role slot, or an explicit eligible target.

Only the thread's agent starts a subagent, through one tool, octant_agents, whether the thread runs on Octant's harness or on a supported provider runtime. Its operations are capabilities, delegate, status, wait, cancel, and follow-up, so the agent can read a finished child's reply, stop a child, and continue a completed one. An Octant-harness parent can use a provider-harness child and the reverse, and one thread can run helpers on several providers at once. capabilities lists only the providers and models a helper can actually start on — a model must carry Octant's tools — and names every other enabled provider with the reason it is left out (not ready, cannot carry Octant's tools, or not allowed by the Project). wait can take several helpers at once and return when the first finishes or when all have; a reply that would not fit in that one answer stays owed and reaches the parent later. The agent can give sibling helpers the same compare label so you can read their results side by side. You watch and control subagents from the composer and the Agents dock tool, but you do not start them there; a subagent a person started by hand would have no agent to hand its result back to.

A managed child can also author a Canvas in the workspace the host resolved for that run. The document appears on the parent thread, and the child is recorded as its author. A provider that cannot carry Octant's tools does not start the child.

Subagents a provider starts itself ​

When you let a provider run its own subagents, each one it starts shows as a row under the turn that started it, with its provider and model, and is listed with the thread's other subagents, reads Started by and the provider, and sits under the run or subagent that started it. Its model, a final summary when it finishes, and its token usage show when the provider reports them: Claude, Codex and OpenCode report a model; Codex and OpenCode report input and output tokens and Claude a total; Mistral Vibe reports a summary but no model or tokens. Anything not reported reads as unknown, never as zero, and the summary is shown to you only, never handed to the thread's agent. It cannot be messaged, steered, or resumed. Stop appears on it only while the thread's running turn can stop that one subagent without stopping the parent — today for Claude and OpenCode. After you press it the row keeps its reported state until the provider says the subagent finished.

Each subagent also shows as a row in the conversation, under the turn that started it, with how long it has run; choosing the row opens it.

Open a subagent as a thread ​

A subagent Octant started opens as a thread of its own, in a pane beside the thread that started it; the next one of that thread opens in the same pane. Its header says Subagent of and names the thread that started it; choose the name to go back.

What the transcript shows

  • The brief it was given comes first, then its replies.
  • The tool steps it took (commands, reads, edits, searches) sit between the replies, as they do in any thread.
  • Notes you sent it show as your own messages.
  • All of it updates live while the subagent works.

What you can type

The normal composer sits underneath:

  • While it works: a message steers it where its provider takes notes mid-turn, and Stop stops it.
  • Once it has finished, or is parked waiting (for example on a usage limit): a message continues it, when Octant can resume its saved conversation. If it can't, the composer says why and keeps your text.
  • Before it starts (waiting for another subagent, or for room at its provider): it takes no message until it runs.
  • If it failed or was interrupted: Retry starts it again.

A subagent that runs inside the provider's own runtime opens read-only, because Octant can read it but not steer it. A subagent the provider started that Octant only observes still opens on the Agents page.

Thread info lists the thread's subagents: those running now, then the earlier ones under Previous. Each one opens the same way. When a child finishes and its result is handed to the thread, the conversation shows one quiet line, such as Research subagent finished · worked 48s, with the reply behind Show result. A child that failed or was stopped keeps its full card, so the reason stays in view.

A result belongs to one child, execution generation, provider/model and workspace. Follow-ups preserve earlier generations. The child’s reported summary is separate from recorded lifecycle blockers, provider-reported file changes, and tools the host actually executed. File reports are unverified; a tool return is not proof that tests passed. Missing and truncated evidence is shown explicitly. A completed child does not establish review, merge, deployment, or completion of its parent. A child that fails, is interrupted, or is cancelled tells its parent why, for example that its provider is signed out. The reason is short, and Octant removes private paths and secrets from it before the parent's agent sees it.

A Chat subagent runs read-only. Claude Code subscription accounts sign in with the unmodified claude auth login command for that account. Sign in from Settings → Providers & Models before a confined Plan or Chat-child turn; until you do, the child stops and its parent is told to sign in. See Providers. Claude Code with an Anthropic API key, and the other providers, need no extra step.

For writable Code children, Review changes opens the host's saved comparison for that generation in Review. It includes committed changes and non-ignored new files from the child's own workspace. Later follow-ups keep separate comparisons. Captured file links open this saved diff; they do not open the parent's current files. Review identifies partial or binary content and offers no staging or discard controls for saved child results.

A waiting child can update its comparison when it settles again. If its original baseline is missing after a restart or Git cleanup, review is unavailable rather than showing only the resumed portion. Chat, Work and Plan children have no Git review capture. Failed captures and older sessions without a baseline also show review unavailable. Provider file reports remain separate, unverified claims. Tool records retain bounded output for inspection. Deleting the parent's content removes saved comparisons, tool records and earlier result text.

Availability ​

Subagent infrastructure — contracts, journaling, projection, the orchestration service, process supervision, and packaged child smoke — is on main. Settings → Octant Harness → Helper agents holds one server-authoritative switch, Let the agent start helper agents: on (the default) or off. Settings → Octant Harness → Model roles (slots, in the CLI) configures shared role routing for both Octant and provider harnesses; Projects can override it. See Model roles.

A thread's subagents appear in a compact card above its composer in Chat, Work, and Code, the same width as the message box. It starts collapsed and remembers your choice. Its head names each state the children are in, such as 1 failed · 1 working · 2 done, and puts failed, waiting and unreviewed children first. A result counts as to review only while you could still act on it: once the host has handed a finished result to the thread's agent, the card counts it as done. When a Chat thread cannot reach the host the card dims and Stop is unavailable; the thread's connection notice says why. Expand it to preview up to three active or unresolved children with their task, status, provider, model and last reported activity, and how long each has run (from its start to its last update, counting up while it works). While the card is folded and nothing needs you, its head says what the thread is waiting on, such as Waiting on Fix the login test, Add docs and 1 other; each name opens that child. Helpers with the same compare label show as one line with their counts. View all opens the full Agents list, including finished children, including in Chat. A row opens that child's detail, where its retained final reply stays readable after completion. Stop acts on one managed child; Stop all asks first and cancels only this thread's managed children. Environment → Subagents also lists managed children and marks results you have not reviewed To review.

A finished subagent's result appears in the thread as a card of its own, not as a message from you: it names the subagent's role, its provider and model, the task it was given and its reply. A long reply starts folded. The run ID, generation and provider ID sit behind Details. A subagent that stopped without finishing says so and gives the reason the host recorded. When the thread's agent is still working and its provider can take a note mid-turn (Codex and Octant's harness), a finished result goes straight into that running turn instead, and its card appears after that turn's reply, headed Delivered into the running turn.

To follow up on one finding, open Show result and select the passage you want. Use Show full result if the passage is farther down. Choose Add to chat to append the passage to the parent thread's existing draft. The quote identifies the subagent's role and generation when available. If you only need the text, copy the passage and paste it into the draft.

In that parent thread, open the quote and choose Show source to return to the original delivery, even if the subagent has run again. The link works in the window where you added the quote. Type your instruction and send when you're ready. After a reload, the draft can retain the quoted text without the link. After a queued Code turn starts, press ↑ in the empty composer to recall the prompt. The recalled quote keeps its attribution and excerpt. Open the result in the parent thread to revisit the source.

When the agent reports a task list, it appears inside the reply that wrote it, with a header that counts completed steps and failed or waiting ones, and More tools › Tasks keeps it in view beside the thread (Read a reply). Task progress does not indicate that subagents or the parent delivery are complete.

The Agents dock tool lists the thread's subagents under Working and Finished — subagents a provider started itself included, nested under their parent — and marks results you have not reviewed, and that the thread's agent has not already received, with Needs review. Helpers with the same compare label show as one group of side-by-side cards with provider, model, state, how long each ran and its latest result; Octant groups them and ranks nothing. On a thread with none it says they appear when the agent hands off part of its work, or that subagents are turned off in Settings. Choosing a row opens its page: the task as the brief, then its replies, live while it runs, with a bounded saved conversation after restart. Older entries may be omitted; the view identifies truncation or stale history. Mark reviewed, Steer, Retry, Resume, and Cancel sit under the conversation when they apply. A subagent that runs inside the provider's own runtime says so on its page.

Agents on the workspace rail opens on Active work: everything not yet done on this computer and on each computer you are connected to, with what waits on you first, then what is in progress and what is ready. Each row names the thread, coordinator, subagent or routine run, its computer, Project, repository, branch, linked issue or pull request, and its state. A computer that does not answer is named, with when it last did, and shows no rows. Select a row to open it. A paired browser has the same list under Active work in its header.

Its other views, Runs and Graph, are the same hierarchy across Chat, Work, and Code, for the threads open in this window: the thread in each mode's panes, including pinned ones. A window reads only the threads in its own workspace, so the children of a thread you have not opened here are not listed; open the thread and its Agents tool shows them. On a wide window it can switch between List and Graph. List is a table with Agent, Status, Started, Run time (live runs only), and Usage. Graph places each parent thread above the child runs it launched, and a child under the run named by parentRunId when that parent is on the same page. It is a layout of the current query, not a swarm board and not a live Canvas. Cards show role, model, recency, and IN/OUT only when the provider reported token usage; estimated or missing usage is never shown as zero. Graph can Save as Canvas, which writes a versioned diagram document of that parent thread's forest — not a live board. Narrow layouts stay on List.

This page documents the designed behavior so you know where the product is going. Where a control is not yet available, the page says so explicitly.

The composer tray and the Agents dock tool are current. Agents is a right-dock tool, not a generic Thread-tab accordion.

Roles and execution kinds ​

Every child is one AgentRun with an execution kind of provider-native or octant-managed, and a role of Research, Implementation, Review, or Custom. Research uses Scout, implementation and custom work use Builder, and review uses Reviewer in Model roles. An unconfigured route can use the parent's eligible model. A configured route that is unavailable reports that problem rather than silently choosing a different provider. The lead can also name an eligible provider, model, and supported reasoning setting for a specific child. All choices retain the same authority and budget checks.

Claude Code, Codex, OpenCode, and Mistral Vibe run their own subagents by default, because they run as themselves unless you turn that off. Octant shows each one in the thread as a subagent run, and its approvals reach you the same way as the main session's. Turn Run … as itself off for an account, and Claude Code, Codex, and Mistral Vibe start without them below Full access, unless the Project trusts that provider or the thread chose On. Choose Off for a thread, and they stay off in that thread at every level, Full access included, whatever the Project's trust says. OpenCode's subagents start either way, at every level outside Plan. The other agents on the ACP bridge run their own subagents in Work and Code outside Plan too; see ACP agents run as themselves for what Octant can show of them.

Google Antigravity on its personal Google sign-in is the exception for Octant's helpers: it cannot be a helper, and a thread on it starts no helpers on any provider, because Google does not support that on a personal sign-in. Its own built-in subagents still run. A provider signed in with a Gemini API key has no such limit. On Agent Platform, an Antigravity thread can still start helpers on other accounts that run them, but Antigravity itself cannot be a helper, because a helper can't read the computer's Application Default Credentials; use a Gemini API key account for helper work. See Google Antigravity.

Posture and clamps ​

Let the agent start helper agents is on by default: the agent's delegate calls start subagents within the thread's access and the clamps below. Turned off, every delegate call is refused and the agent does its work itself; subagents it already started stay readable and controllable. A host that had chosen the retired Only when I start them reads as off, because nothing else could start a subagent under it. Provider-native subagents are not governed by this posture: they follow whether the provider runs as itself. The server enforces hard clamps:

  • How many children run at once is yours to set in Settings → Octant Harness → Helper agents: At once in one thread (default 4) and At once across Octant (default 8), each up to 16. A child that is only waiting — for the children it depends on, or for a free slot — does not take a slot.
  • At most 16 unfinished children per parent and 32 across the app, waiting ones included, so a runaway agent cannot pile up work.
  • At most 2 levels of hierarchy depth.

A child with no free slot waits visibly and starts when one frees up. A Chat helper whose model provider is busy with other requests shows Waiting for a free request slot in Agents and starts by itself when the provider has room; you can cancel it while it waits. After 30 minutes it stops waiting and shows as Interrupted with the reason, and Retry starts it again. Minutes to wait for a full provider in Settings → Octant Harness → Helper agents changes that wait, from 1 to 240 minutes, and a change applies to helpers already waiting. Past the unfinished cap, the start is refused with a structured limit result. Authority is an immutable ceiling set at start — a child can narrow it, never widen it.

What a helper may do ​

A helper takes its parent thread's Strict setting, when it starts and when it resumes.

  • Outside Strict, a helper runs as the parent thread's own provider does. A Work thread's helper follows the Work thread's access mode, as a Code thread's does: it has a shell, Git and network outside Plan, and it is read-only under a thread in Plan. Under a Full access thread that keeps its sandbox, a helper runs at Accept edits. If you lowered the thread's mode while a turn was running, the helper gets the lower of the two.
  • Under Strict, a helper keeps every Strict protection. A Work thread's helpers ask for everything and have no shell, Git or network.

A helper's turn is not cut off after a fixed number of runtime events. Its working time is limited as described under What subagents do not do, and the helpers of a Full access thread have no time limit by default. Under Strict they keep the limit unless you lift it yourself.

A finished child's reply is outside content for its parent, and so is anything else the thread read from outside. What happens to the next helper then depends on the thread's access mode:

  • Full access: the agent keeps starting helpers, and the mark carries into each one.
  • Below Full access: the thread asks you once, in its approval card. If you allow it, later helpers in that thread start without asking, also after a restart. A routine run has nobody to ask, so its delegate is refused.
  • Plan: refused.

A person can review what the thread read and clear that from the notice above the composer, or the work can continue in a new thread. See Privacy and security.

Tools a subagent uses ​

A subagent the thread's agent starts through octant_agents can use its thread's Octant tools as itself: looking at and making images, Project memory, GitHub and language reads, the terminal, the debugger, the iOS Simulator and Android emulator, Computer use, and one-off credential requests. It never gets more than its thread. Each call is checked again against the thread's access level, tools and Project at that moment, and asks for the same approvals the thread would. Its questions and approval requests appear on the parent thread. A terminal, debug session or simulator a subagent starts stops when the subagent finishes. A Chat subagent gets only the read tools. Tools that act for the thread itself, such as starting threads, routines, side tasks and pull requests, are never a subagent's. A subagent a provider starts itself runs inside the provider's own turn and uses what the provider gives it, not these tools.

Isolation by mode ​

  • Chat children are research-only: no implicit filesystem or shell access.
  • Work children work in the Project root, at the Work thread's access mode (What a helper may do).
  • Code children get isolated worktrees by default; the worktree must be verified before the child starts, and failure prevents running in the parent checkout. Concurrent children use separate worktrees, starting from the parent's committed revision by default. To include unfinished edits, the person reviews and selects a stable snapshot in the parent task's Worktrees → Child source. Each child records that source and receives an independent copy with staging preserved; stale or incomplete copies refuse before admission.

Lifecycle, cancellation, and recovery ​

Lifecycle statuses are Queued, Starting, Running, Waiting, Completed, Failed, Cancelled, and Interrupted. Ambiguous cancellation or restart resolves to Waiting or Interrupted, never Completed.

Cancellation is leaf-first; a run is Cancelled only after its stop is confirmed. After a restart, Octant rebuilds the hierarchy and identifies interrupted work. Resume reconnects to the saved provider session, keeping its conversation and verified workspace. If the provider cannot resume it, the saved session is missing, or its authority no longer matches, Octant refuses Resume and asks you to use Retry, which starts a new execution.

When a child needs an approval or an answer, the composer shows A subagent needs your input. Answer beside the composer, switch between pending requests, or choose Open child for the full detail. The request names the child, provider/account, model and recorded target folder. A disconnected view must reconnect before answering. Outside Strict, a helper keeps your answer the way its parent thread's approval setting says, so a thread that keeps approvals for the session lets its helper do the same. Under Strict, and for a reviewer's answer, allowing a child action covers that request only. An unanswered request does not expire: it waits until you answer it, the child stops, the thread is archived, or Octant quits.

A Work or Code subagent that is waiting also appears in Needs you on the start screen, in the Inbox, in the command palette, and in the menu bar. The row names the parent thread and the child (for example "Research subagent needs your approval") and has one action, Review request, which opens the parent thread on its Agents tab with that child selected. Answer there; the row has no Approve or Deny of its own. This card lists Work and Code subagents only; Chat's Agents dock does not add Chat subagents to the card.

Steer sends a note to a running child when its provider supports it. Octant's harness applies the note at the next complete response or tool-results boundary; Codex delivers it to the active turn, and Google Antigravity takes it as another prompt on its running turn. An unsupported provider reports that the note was not delivered. The host answers only once the child has taken the note, which can be most of a long response away, so the subagent's page says Sending the steering note while it waits, then Steering note delivered, and gives the reason when the host refuses one. A message you type into the parent thread itself while its turn runs follows the thread's own rules; see Send while a reply is running.

A run waiting for other runs to finish never starts on its own after a restart, even once they finish: Resume on the run, or resuming the parent thread, lets it go. While the parent thread is paused, or needs a check after a restart, a waiting run stays waiting too, and its own Resume asks you to resume the parent thread first.

Following up on results ​

Finished siblings can return together in one parent turn. Octant does not wait for the entire group: independent results can reach the parent while other children are still working. Saved delivery records prevent a restart from delivering the same result twice.

Open a completed managed child and choose Follow up to send another instruction in its existing conversation. The parent agent can do the same through octant_agents follow-up. The provider must support genuine resume; if it cannot, start a new delegation from the parent. Cancelled children cannot continue. The earlier conversation stays available, and the new reply needs its own acknowledgement. The previous reply must reach the parent or be read with wait before a follow-up starts. Checking status does not read it; an oversized reply remains available when a tool cannot return it completely. A follow-up also requires the child's provider, model, and reasoning choice to remain available under the parent's current Project policy. If capacity or the spend ceiling refuses a follow-up, the completed reply and your draft stay available so you can retry. Once accepted, the follow-up is saved with the child. If its connection fails before sending, the child becomes interrupted; choose Resume to send the saved follow-up in its existing conversation. Recovery sends an unsent follow-up as written; if delivery is uncertain, Octant says so and preserves it for inspection rather than silently sending it again.

When the lead includes parent context, the child receives a bounded, attributed selection of accepted prompts and completed replies. Missing or omitted text is identified; private reasoning and tool bodies are excluded. Original images and documents are included when the selected model supports them, up to eight inputs and 32 MiB. Their names, types and inclusion or omission appear under Original inputs in the child's conversation. An unavailable or unsupported input stops the handoff; choose a capable model or explicitly ask for text-only parent context. The text-only receipt records what was omitted. Original inputs remain separate from the lead's brief and the child's report, and deleting the source thread revokes them.

Child results must be acknowledged by the parent. On a terminal parent turn, unacknowledged, failed, interrupted, waiting, or unfinished descendants raise one concrete persistent follow-up reason, which also appears on the runtime-derived Code Thread Board.

What subagents do not do ​

Octant does not implement Swarm, a general task Kanban, or peer-to-peer agent messaging. A Code thread's agent can leave a short message for another thread of the same Project: Octant delivers it as untrusted data at the start of that thread's next turn, starts nothing there, and returns no reply. When Octant refuses such a message, whether the thread is in another Project, the sender is in Plan, or the recipient closed, the Agents Center lists it with the two threads and the reason, so a refusal is not seen by the sending agent alone. Child runs are not part of that. Active children cannot be detached, and there are no hidden per-thread routing rules. A child's turns count toward its parent thread's and Project's spend ceilings like the parent's own. A child on a provider that never reports usage, such as Oh My Pi or a Mistral Vibe release older than 3.0.3, is not measured against the token or money budget, and the ceiling says so; a child on a provider that can report usage but did not is never counted as free. See Spend ceilings.

In Settings → Octant Harness → Helper agents, Working minutes per attempt chooses the next attempt's active-work window (120 minutes by default, between 1 and 240). Approval and answer waits do not count. The helpers of a thread at Full access have no time limit by default: No time limit at Full access is on, so they work until they finish or you cancel them, and a helper whose provider stops responding keeps its place until you cancel it. Turn the switch off to give those helpers the minute limit too. Helpers of every other thread always keep the limit. Retry and Resume start a fresh window at the current setting; they do not extend the running attempt or remove Project/thread ceilings. Provider acquisition and startup keep their separate two-minute readiness bounds. The child detail shows recorded active time and partial totals where older, cancelled or interrupted attempts have no measurement.

On a paired phone, you can answer requests raised by children of your own turn, once or deny. You cannot answer a request raised by another phone, a local window or a host-owned execution. Reconnecting and reading a thread do not transfer ownership.

A queued sibling message waits until a turn carries it, it is refused, or its thread is purged, so a message to a thread you come back to next week is still there. A message queued by an earlier version with a 24-hour deadline keeps it, and Agents lists one that ran out as Expired after 24 hours, separately from delivery or acknowledgement.

Next steps ​

Agents Center and the thread hierarchy offer steering only for running or waiting runs. Waiting runs and recoverable interrupted runs offer Resume. If a restart left no resumable execution, use Retry instead; the host still validates every control request against the current run state.

Octant documentation · local-first by design