Module subagent
Expand description
Runtime-spawned ephemeral sub-agents that inherit their parent
agent’s identity by default: same UUID, same SecurityPolicy, same
memory allowlist. A SubAgent run is auditable as a child of the
parent and stays inside the parent’s permissions envelope.
Structs§
- SubAgent
Context - Constructed SubAgent context: bound parent identity, validated child policy, and the resolved memory allowlist.
- SubAgent
Overrides - SubAgent
Spawn - Builder for a SubAgent spawn. The caller resolves a parent agent
from the loaded config;
Self::buildapplies any narrowing overrides and validates the result.