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.