Skip to main content

Module subagent

Module subagent 

Source
Expand description

Subagent module — in-process nested agents and the Fork concurrent-execution engine.

Re-exports§

pub use definition::AgentDefinition;
pub use definition::AgentIsolation;
pub use definition::AgentSource;
pub use fork::ForkExecution;
pub use fork::ForkLens;
pub use fork::ForkResult;
pub use fork::ForkShared;
pub use fork::Synapse;
pub use registry::SubagentRegistry;
pub use worktree::WorktreeInfo;
pub use worktree::create_subagent_worktree;

Modules§

builtins
definition
fork
Fork engine — lightweight concurrent multi-perspective execution.
registry
worktree
Git worktree isolation for subagents — creation, fast-resume, cleanup.

Structs§

SubagentTool
Tool that delegates to a nested agent session or runs fork lenses.

Functions§

register_subagent_tool
Register the in-process subagent tool with built-in and plugin-provided agent definitions.