Skip to main content

Agents and minions

Source review and historical material

This technical reference was reconciled statically with current implementation on 8 November 2026. Explicit historical examples, screenshots and pinned public links remain historical; they are not evidence of current runtime acceptance. Start with the current operator guide for installation and check your installed build before using newer capabilities.

Use a registered agent for a persistent identity and configuration. Use a minion for an explicit child task. Use peer messaging when one registered agent needs another agent's response in that recipient's own context.

Registered agents​

An agent record supplies an ID, display name, enabled state, available capabilities, context configuration, and optional execution-environment assignment. IDs are validated; a display name is not a replacement for durable identity. New agents cannot use the reserved global ID. Historical global agents remain editable/restorable; their private skill root is kept distinct from the shared global skill directory.

Agent workspace/data roots are derived from the runtime workspace root and agent ID. The runtime creates skills, sessions, artifacts, and tools directories below that root. Directory existence does not mean those directories own conversation persistence: current conversation authority is PostgreSQL.

Profile and model context​

Profile documents provide identity, rules, orientation, tool/environment facts, preferences, and configured continuity. They are loaded for the selected agent. A missing profile must not silently substitute another agent's profile. Models are selected from configured connections; a child can request a different enabled model without changing its parent's selection.

The inspected development build 2026.10.21.2 also adds optional global RULES and ORIENTATION content. An agent opts into each global document separately; enabled global text is prepended to that agent's own document. This is not part of public 2026.10.19.

See Initial setup, Models, and Persistence.

Execution environment​

An agent can use local execution or a registered remote provider/target assignment. The assignment chooses where supported process/filesystem operations run. Controller-owned conversation and configuration state remain separate from that execution host.

Legacy provider-less gateway assignments are normalized to unresolved data rather than guessed into a provider. Repair an unresolved assignment through the supported settings flow. This documentation does not cover provider-specific remote mods.

Minions: explicit child work​

The native spawn_subagent tool requires:

  • task: the full instruction
  • target.kind: filesystem
  • target.root: an absolute path to an existing directory

Optional fields include a short label, harness (burrow, codex, claude or explicitly requested gemini), and an exact configured model ID. Normal dispatch uses effective global/agent Minion settings. A configured burrowModel supplies the default connection/model, not a lock. Unless burrowModelLocked is enabled, a per-call model may select another enabled model on that same connection. A lock rejects a differing selection with burrow_model_locked. With no Burrow pair, the actual parent turn model is inherited and an explicit enabled model resolves through the parent resolver. The retained /minion-model-selection compatibility setting is not the normal dispatch default. Native Codex, Claude and Gemini selections are independent, as described below. Tool-schema examples below illustrate agent tool arguments, not shell commands or HTTP request bodies.

{
"task": "Inspect the parser and its tests. Report concrete edge cases with file references; do not modify files.",
"label": "Review parser",
"target": {
"kind": "filesystem",
"root": "/srv/projects/example"
}
}

The target is validated before dispatch. Local wrapper directories may be refined to a nested repo directory when only that directory has repository signals. The receipt records the resolved target; use it when interpreting results.

Minion Depth​

Current development has a Maximum minion depth setting, default 1, inherited from global Minion defaults unless the agent enables its override:

Depth limitWork permitted from the root (depth 0)
0No child spawning
1Direct children only; children are leaves
2Children may spawn grandchildren; grandchildren are leaves

At a leaf, spawn_subagent is absent from the tool surface and the executor independently rejects a manually requested spawn. This is a nesting ceiling, not a fan-out control or a per-spawn argument. Model selection and depth are separate fields in the same Minion settings record. Use the Minion settings API for the request contract.

Child ancestry and its spawn-time budget persist. Reopening a child does not turn it into a root; historical direct children without a marker remain depth 1 with budget 1. The current agent setting can tighten the effective spawning budget, but raising it does not enlarge a child's saved lineage budget.

What a Burrow minion receives​

A child starts with a purpose-built prompt containing its task and working directory. It runs its own model/tool loop and does not receive the full parent conversation as a cloned transcript. Its standard tool surface includes filesystem, shell and Git tools; nested spawning is available only while the depth budget permits it. It excludes the server-owned Forge dispatcher.

Local minions use a separate Node process. A remote-assigned minion uses the child runner in-process so it can preserve the trusted remote execution controller. Both have separate child-session lineage and receipts.

Isolation is about session/process context

A minion target is not a filesystem cage. An instruction such as “do not modify files” communicates task scope, but the target directory does not remove mutation tools. Configured execution boundaries are forwarded into child review and execution; they retain the limited enforcement scope described in Permissions.

Completion and evidence​

These are the contract's allowed statuses; they do not imply that every dispatcher implements a timeout policy. The current local process runner has no overall task-deadline timer; its cancellation grace timer only forces cleanup after an abort.

A Burrow child must call finish_subagent with status and summary. Optional structured verification distinguishes passed, failed, failed_expected, and not_run. Ordinary prose is not a terminal completion signal. finish_subagent must be the sole call in its batch; mixed terminal/action batches are rejected without executing their requested actions. Repeated unchanged tool calls can stop with subagent_repeated_no_progress. If the child stops calling tools without finishing, the runtime asks once for a structured final report; failure to provide it becomes a failed result.

The parent receives bounded evidence, a summary, resolved target, lineage, and receipt references. Changed files, artifacts, memory writes, and all-run consequences are now aggregated even when older tool receipts leave the retained window; omittedToolResults reports omitted receipts. sideEffectsApplied is true for observed mutations, false for known non-mutating outcomes, or null when effects are uncertain. Large raw outputs belong to trace artifacts. Inspect actual receipts when side effects matter.

Identical structural spawn requests within the same parent lineage can reuse an existing record. This is mechanical deduplication, not semantic task matching. The identity includes the requested model, resolved model and connection, and model profile, as well as parent lineage, target and normalized task. A guarded claim resumes an existing queued admission with its original child identity after an interrupted setup. Existing running and terminal records are reused without another dispatch. A running record may represent active or interrupted work; subagent_running_dispatch_state_uncertain requires reconciliation of that exact child receipt, not a blind retry. Cancellation during admission prevents dispatch. Inspect reused and the resolved-model receipt.

Native Codex minions​

Open Settings → Agents → Global → Minions for shared defaults, or an individual agent’s Minions section and enable Override global minion settings. Configure Burrow defaults and independent Codex Enabled, Claude Enabled and Gemini Enabled model pairs, then choose Save minion defaults. Disabling overrides preserves saved agent values; re-enabling restores them. The compatibility API retains defaultHarness (unconfigured default burrow); an explicit spawn_subagent.harness selects an enabled harness for one child without changing defaults. Native enablement is independent of the default harness. Disabled native harnesses reject new dispatch but do not disable existing-session follow-ups. The receipt and child session retain the actual harness.

Codex has its own saved connection/model pair. Select an enabled model on a direct OpenAI OAuth connection or an eligible enabled OpenAI load balancer with enabled OAuth members supporting that model. API-key connections and other providers are not supported. Codex does not inherit the parent/Burrow Minion model; an unlocked explicit spawn model may select another enabled eligible model on the same connection or pool. Enable Lock model to require the saved selection for new dispatch. Catalog eligibility is not proof of available quota or successful authentication.

Provision the Codex CLI on the selected execution host, or use an absolute executable BURROW_CODEX_EXECUTABLE override. Node Goblin's optional --with-codex install/update provisions the CLI on a remote host. Current compatible Node Goblin supports the private interactive app-server transport; unavailable transport fails instead of falling back to Burrow's local host. The target root must exist on that selected host.

A Codex child uses its native app-server workflow, not Burrow's normal tool loop. Text follow-ups in that child retain the saved host and native session routing. Attachments, no-model turns and unsupported native requests fail explicitly. A host change, missing native history or unresolved running/cleanup state requires reconciliation; do not start replacement work blindly.

Native activity and a sanitized final Markdown report are visible in Burrow, but native tool commands/results are not promoted into Burrow's normal evidence receipts. A completed turn is not independent verification; side effects may be unknown. No native grandchildren or Burrow tool bridge are claimed.

Configured execution-boundary hard blocks are unsupported by this adapter and prevent dispatch. Read-only policy uses native read-only mode; mutation-enabled policy uses native full-access mode. The working directory is context, not a filesystem cage, and commit permission is an instruction rather than command-level enforcement. Native configuration, hooks and subprocess behavior remain the execution host's responsibility.

Codex pool continuation​

Pools retain their logical connection separately from the actual serving account/model. Same-account continuation resumes the native thread. A different account/member starts a fresh thread on the same host only with a complete portable native checkpoint. Current checkpoints can include terminal command results and file-change diffs, including failed attempts with possible effects; historical actions are context, not calls to execute again. Unknown items, unresolved effects, incomplete or oversized history remain account-bound. Missing required owners fail with codex_pool_replay_unavailable, not blind replay. At most one eligible alternate attempt is allowed after cleanup and authoritative effect reconciliation. Transport loss, cancellation, unresolved effects and partial assistant output alone do not authorize retry. A failed completed-turn history export retains a pending checkpoint; same-owner continuation must repair that export before new work or report codex_checkpoint_repair_required. These native checkpoints are not independently verified Burrow tool receipts.

Native Gemini minions​

Checked 17 November 2026: enable Gemini and save its own connection/model pair in the existing Minion settings. Gemini is explicitly selected with harness: "gemini"; it is not an allowed defaultHarness. Only enabled direct Google Generative Language API-key connections qualify. OAuth, Vertex and load-balancer pools do not. The exact enabled catalog model is required; only the CLI argument strips a leading models/. An unlocked per-call model may choose another enabled model on the same connection; a configured Gemini lock rejects a different model. No parent-model or local-host fallback is used.

The selected host needs Gemini CLI; BURROW_GEMINI_EXECUTABLE may specify an absolute executable. Managed Core integrations provision the CLI, but a remote Node Goblin gateway requires its own compatible installation. Credentials are loaded server-side for the selected connection and supplied only to the child, not stored in Minion settings or command arguments.

Gemini uses native stream-JSON execution and unattended tool approval after Burrow admission. This is not an OS sandbox: inspect-only policies and unsupported hard execution boundaries fail closed. A successful terminal result and zero process exit are both required. Native model text is not independently verified Burrow evidence.

Follow-ups retain the saved native session, host, target, connection and exact model. Missing identity, running/unreconciled cleanup state, attachments and no-model turns block before dispatch. Cancellation terminates the process group and retains interrupted native identity; uncertain cleanup must be reconciled before resuming.

Native Claude minions​

Enable Claude and select its independent connection/model pair in the same Minion defaults. Eligible direct Anthropic OAuth connections and enabled Anthropic pools are supported; API keys and parent-model inheritance are not. claudeEligible is structural catalog eligibility, not available quota or successful authentication. An unlocked per-call model may select another enabled eligible model on the same connection or pool; Lock model requires the saved selection. Existing sessions retain their original selection.

The current Claude CLI must exist on the selected host; BURROW_CLAUDE_EXECUTABLE can select an absolute executable. Node Goblin’s --with-claude option can provision the remote CLI. Core uses a private remote process transport, never a public shell credential command or a fallback to the controller host.

Claude runs its own native tools and stream-JSON workflow. It requires inspection and mutation authorization; read-only policy fails with claude_execution_policy_unsupported. Unsupported hard execution boundaries block dispatch. Native tool permission admission does not make the target a filesystem cage; no-commit remains an instruction, not OS enforcement. Remaining native permission requests are denied rather than waiting for an absent prompt handler. An incompatible CLI fails explicitly.

Text follow-ups resume the saved native session on the original host/model binding. A result is provisional until process close with exit code zero. Cancellation attempts process-tree cleanup; unconfirmed cleanup blocks reuse. Sanitized native text and activity remain model provenance: verification is not_run, not a Burrow tool-evidence pass.

Same-account continuation resumes normally. A different pool member requires a complete, bounded successful-turn checkpoint and starts a fresh native session with that history as inert context. Unknown/unmatched tools, compaction, oversized history, failed or cancelled turns and uncertain persistence keep continuation account-bound. There is no automatic failed-turn retry and no claim of lossless native session import or model-level exactly-once behavior.

Peer agent messages​

agent_send_message addresses another registered agent by canonical ID (preferred) or unique full display name, optionally choosing its recipient session. Exact IDs take precedence; otherwise existing ASCII case-insensitive ID/name matching applies. There is no fuzzy recipient selection, and unknown or ambiguous names fail without sending. Messages are stored as attributed agent turns in both conversations; they are not impersonated operator messages.

For an unknown or ambiguous peer, use Core-native agents_list. No Backdoor skill, MCP catalog lookup, health probe or peer-session inspection is needed for ordinary A2A. A known unambiguous peer can be messaged directly.

The directory returns only exact {id, name, enabled} cards, with enabled agents by default. Optional query matches case-insensitive ID/name substrings; includeDisabled: true includes disabled identities. limit is 1–20 (default 20); omit cursor, use null or use an empty string for the first page. For subsequent pages follow nextCursor with unchanged filters until null. totalCount describes the filtered directory. If the registry changes, restart the listing. If provider-context projection reports omitted cards, narrow the query or page before advancing. Directory membership is not a health check or permission to inspect peer data.

ModeBehavior
deliverPersist an attributed FYI without executing a recipient reply
request_replyExecute one recipient response and mirror the response back; the sender may deliberately message again
request_reply_completeExecute one recipient response, mirror it back, and remove peer messaging from the sender's continuation tool surface

The default mode is request_reply. Current Core routes incoming default-session deliveries to default when the recipient's A2A in default preference is on (the default), or to the recipient's reusable a2a-<canonical-sender-id> inbox when off. With the preference off, this includes an explicit targetSessionId: "default", trusted default return routes and mirrored final answers. Explicit nondefault targets and trusted nondefault return routes remain intact. Final answers consult the receiving agent's current preference, including a change made during the exchange; existing messages are not moved. Self-send is rejected. Concurrent reply requests to the same recipient session are serialized, and wait-graph cycles are rejected before new transcript ingress. Reply-mode deliveries use durable claims to reuse terminal results on exact retries rather than wake the recipient twice; cancellation is checked before queued ingress and execution.

{
"recipientAgentId": "reviewer",
"targetSessionId": "design-review",
"messageMode": "request_reply_complete",
"content": "Review the proposed interface and return your conclusion with any blockers."
}

Reply delivery and attribution​

For an active request_reply or request_reply_complete exchange, the recipient's final response is automatically returned to the sender. Do not separately send that same answer with agent_send_message. Distinct progress, deliberate follow-up questions and other-peer messages can still use the messaging tool when it is available. This request-local guidance does not activate for ordinary operator turns or merely reading historical peer messages, and it is not mechanical text deduplication.

Incoming peer speech stays attributed to the sending agent. Outbound speech replays as the sender's own assistant-role history, including after compaction-tail rotation. A shared A2A source run ID alone does not make an outbound message the owner of a provider-input snapshot. Compact transcript results retain the real recipient ID for display labels.

Dedicated inbox history​

When A2A in default is off, current Core can rotate a named inbox's visible history before a new safely admitted reply exchange. It waits when another exchange or family recovery is open; followups and retries do not rotate again. Originals remain archived. Default history, runtime-attested returns and FYI-only deliveries are not rotated. This is lazy exchange lifecycle, not a TTL; unresolved exchanges can retain visible history indefinitely. See operator guidance.

Group conversations​

A group room is a shared operator transcript over separate registered-agent runs. Each selected participant executes in its own agent-scoped group-<channelId> session, retaining that agent's identity, tools, memory scope, and continuity owner. A room does not combine participant grants or replace their individual contexts.

Explicit request recipients take precedence over recognized participant @ mentions. With neither, the server broadcasts to every room participant. Unknown mentions reject the message; addressing uses participant IDs or names, with case-insensitive matching. The server launches selected participants asynchronously from the same captured room history, then appends attributed replies. Acceptance lists the launched runs; inspect each participant's outcome rather than treating it as a collective success. Each active participant run can be cancelled separately.

Use Interface groups for room controls and the API reference for request and cancellation endpoints.

Watching and stopping work​

Active peer runs expose bounded progress. Stopping an A2A parent cancels its active nested reply tree. Local minion process cancellation sends SIGTERM to the process group, then forces SIGKILL after a configurable, depth-aware cleanup grace (six seconds for a depth-1 worker, four seconds for depth 2, and a one-second fallback when no positive depth is recorded). This gives nested workers time to drain descendants and remove their temporary payloads; cleanup also handles remaining process-group descendants. This cancellation grace is not a wall-clock task timeout. Session-scoped status projects the requested session and its descendants, not an arbitrary capped child list. The agent rail additionally requests agent-wide Minion discovery through overview, covering visible children from all originating sessions for the selected agent without adding unrelated normal conversations. Recent completed children normally remain visible for one hour; an ended ancestor can remain to connect a visible descendant. Immediate parent, root and depth are separate fields. A child-scoped query excludes siblings; overview context hydration is separately bounded to the requested session plus 12 descendants. Durable receipts remain separate from visibility.

See Interface, Observability, and Execution flow.

Targeted source review​

The immutable links below record earlier public evidence. Current contracts were reconciled against the 8 November implementation baseline; static inspection is not a live deployment test.

29 October development delta​

Changed contracts above were checked statically against Backend 4057b50a5d5a9b14d36bb3b70f35781c4b29a9b9 on 2026-10-29. This is not a runtime, provider or collector test, nor a revalidation of unchanged historical sections. See source coverage.

Cross-session discovery and delegated authorship​

POST /api/agents/overview accepts minionScope: "agent" to return the requested anchor and visible Minions across that agent's sessions; omitted scope remains session. A successful status.minionScope: "agent" confirms that broader coverage. An older response without that marker proves only session-scoped coverage. Context hydration is separately bounded to the anchor plus 12 distinct child sessions; omitted contexts do not hide status rows. This does not broaden cancellation, recovery, or /api/agent-status.

Live and Archive child turns retain compact source-authored delegation metadata. A role: user child task with kind: subagent-delegated-task is delegated work, not a fresh operator instruction. Missing legacy markers do not prove operator authorship; arbitrary raw metadata is not passed through. The UI uses retained source information for truthful sender labels.

Reusable peer inboxes​

Dedicated peer inboxes are created on first implicit contact, not when toggling the preference. Each peer has its own reply lane, continuity family and rotation lifecycle; requests from that same peer stay ordered across source sessions. Labels refresh on later contact after a rename, but the canonical session ID does not change. Existing shared a2a history is retained and remains explicitly addressable; new implicit traffic does not migrate, rename or rotate it. /api/sessions exposes label and a2aPeerAgentId; session detail retains them in metadata.

Mod-owned native peers​

Current Core can expose a mod-owned agent through native A2A only when its a2a capability is enabled and its owning context provider is live. agents_list filters these peers accordingly; agent_send_message rechecks both participants before dispatch. A display name or retained directory result is not proof that a provider is still available. This remains native same-Core routing, independent of Backdoor discovery. See the host contract. Statically reviewed against Core 32dde3266a231777ddfec6dba141d6b9972a21fd on 3 November 2026.

7 November peer-result safety​

Failed, cancelled and incomplete peer partials remain visible and attributed but do not enter the sender's later model prompt. A deliberate blocked response remains an eligible attributed answer. Cancellation is checked before queued transcript ingress and again after participant checks. These contracts and disabled-default routing were checked statically against the current Core; no live peer turn was run.

Group recipient parsing​

Checked 12 November 2026: An @ mention begins at the start of text or after whitespace. Escapes and inline/fenced Markdown code are literal. Matching is case-insensitive and prefers the longest registered name or ID, including supported Unicode name characters. A nonempty explicit agentIds list is authoritative; prose mentions do not silently replace it. Without explicit recipients, an unknown mention is rejected; no explicit recipients and no recognized mentions broadcasts to the existing participants.

Sunday source checkpoint: 15 November 2026​

This page was fully reconciled statically against the current implementation baseline. Earlier dated sections and public-source links retain their historical scope. No application/provider execution or installed-instance verification is implied.

In-room peer exchange​

When both peers are members of the current group, native A2A places the targeted request and attributed reply in the shared room, not the recipient’s ordinary peer inbox. The reply runs in an isolated room-specific lane; Core rechecks membership and detects waits that would return to a held lane. A failed partial reply can remain visible as failure evidence without becoming prompt history. Calls to nonmembers still use normal private A2A routing, subject to its checks.

When a successful published peer reply answers the operator’s request, the initiating room turn can finish without a duplicate message if Core offers finish_group_reply. This control is not available for private exchanges or nested recipient replies; a pending operator steer or failed tool also prevents it.