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§
- Background
Task Info - Metadata tracked for a background task running inside a subagent session.
- SubAgent
- Configurable worker agent that can be registered at runtime.
- SubAgent
Args - Arguments used to run a subagent.
- SubAgent
Manager - Tool and registry for creating, updating, loading, and running subagents.
- SubAgent
Manager Args - Arguments accepted by the subagent manager tool.
- SubAgent
SetManager - Type-indexed collection of subagent registries.
- SubSession
- Long-lived conversation session for a subagent.
- SubSession
Status - Live progress snapshot for a subagent session.
- SubSessions
- Registry of active subagent sessions for one subagent definition.
Traits§
- SubAgent
Set - Object-safe registry interface for groups of subagents.