Skip to main content

Module subagent

Module subagent 

Source
Expand description

Dynamic subagent definitions, sessions, and management tools.

Subagents let an engine delegate focused work to named worker agents with their own instructions, allowed tools, resource tags, optional output schemas, and optional long-lived session state. This module also owns session compaction and background progress forwarding for those workers.

Structs§

BackgroundTaskInfo
Metadata tracked for a background task running inside a subagent session.
SubAgent
Configurable worker agent that can be registered at runtime.
SubAgentArgs
Arguments used to run a subagent.
SubAgentManager
Tool and registry for creating, updating, loading, and running subagents.
SubAgentManagerArgs
Arguments accepted by the subagent manager tool.
SubAgentSetManager
Type-indexed collection of subagent registries.
SubSession
Long-lived conversation session for a subagent.
SubSessionStatus
Live progress snapshot for a subagent session.
SubSessions
Registry of active subagent sessions for one subagent definition.

Traits§

SubAgentSet
Object-safe registry interface for groups of subagents.