Skip to main content

Module delegate

Module delegate 

Source
Expand description

Agent delegation primitives.

A delegate is another agent-shaped capability exposed as a normal Tool. The model still decides when to call it; the runtime merely provides an implementation. This keeps delegation agentic while allowing hosts to run child agents in the same process when that is cheaper than MCP or another remote transport.

Structs§

DelegateRegistry
Registry of in-process delegate executors provided by the host.
DelegateTool
Tool wrapper around a delegate executor.
InProcessAgentDelegate
Delegate executor that drives another Agent in the same process.

Traits§

DelegateExecutor
Async implementation behind a delegate tool.

Type Aliases§

DelegateName
Stable key for a delegate executor. Manifests usually reference this through delegates[].agent; when omitted, delegates[].name is used.