Expand description
Agent — a composed value, not a record.
An Agent is name + system prompt + model + capabilities, built with
AgentBuilder entirely from values. There is no id to mint, nothing to
register, and no store to create it in. Sessions are spawned from the
agent; ids exist only inside them as correlation handles.
Composition lives in one place: the builder produces a valid
AgentDefinition and AgentEnvironment, which every
TurnHost consumes directly.
Structs§
- Agent
- A runnable agent, composed by value. Cheap to clone (shared internals).
- Agent
Builder - Fluent, by-value agent composition.
- Agent
Definition - Agent behavior, separate from the resources that run it.
- Agent
Environment - Host resources used to execute an
AgentDefinition.