Skip to main content

Module threads

Module threads 

Source
Available on crate feature managed-agents-preview only.
Expand description

Multi-agent session threads.

When an agent has callable_agents configured, the coordinator can delegate work to those sub-agents at runtime. Each delegation runs in its own thread: a context-isolated event stream with its own conversation history. The session-level event stream is the “primary thread” and shows aggregated activity; per-thread streams drill into one sub-agent’s reasoning and tool calls.

Threads are a Research Preview feature; the full multi-agent workflow is gated on the same managed-agents-2026-04-01 beta header as the rest of Managed Agents.

Structs§

Thread
One thread inside a multi-agent session.
ThreadEvents
Namespace handle for events on a specific thread.
Threads
Namespace handle for thread operations on a single session.