class LittleGhost::AgentStreamSource
Describes which Agent produced an event during a Run.
A :agent_stream StreamEvent carries this value in data[:source] and the Agent’s event as a separate frozen StreamEvent in data[:event]. assembly_path is empty for a top-level Agent and contains one AgentStreamStep for each enclosing composite assembly participant or assembly-as-tool boundary. When an Agent invokes the Tool, the boundary’s assembly_id identifies that Agent and participant names the Tool. Tool boundaries do not change the delegated Agent’s authorization or managed-subagent path.
Attributes
Stable String identifier declared by the Agent class.
Stable subagent path, beginning at /root.
Frozen Array of AgentStreamStep values from the outermost assembly inward.
Unique String identifier for this Agent invocation.
Parent operation identifier, or nil when the caller did not supply one.