Skip to main content

Module subagent

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§

SubAgentContext
Constructed SubAgent context: bound parent identity, validated child policy, and the resolved memory allowlist.
SubAgentOverrides
SubAgentSpawn
Builder for a SubAgent spawn. The caller resolves a parent agent from the loaded config; Self::build applies any narrowing overrides and validates the result.