Skip to main content

Module multiagent

Module multiagent 

Source
Expand description

Multi-agent building blocks. For now the authority-mode policies of the agent spec that the subagent tool uses; Graph and Swarm come in a later release.

Structs§

AgentSpec
The resolved configuration of one child agent, handed to the ChildAgentBuilder (AgentSpec). None fields inherit from the parent.
ChildAgentBuilder
Turns a resolved spec into a child agent, built the way the parent was (AgentBuilder). The builder may be async: the child is awaited before it runs.
Choice
The model picks from a developer-supplied set (Choice); with multiple, more than one.
ChoiceOption
A selectable entry of a Choice (named to stay clear of the prelude’s Option).
Fixed
The developer pins the value; the axis adds no model-facing parameter (Fixed).
Inherit
The child takes the parent’s value; the axis adds no model-facing parameter (Inherit).
Open
The model writes the value freely; the axis adds a string parameter (Open).
Preset
A named role, selected with agent_type: a partial child configuration (Preset).

Enums§

Axis
Any authority mode an axis can take (Axis).
SpecValue
A value an axis pins or a choice stands for.