Display and formatting utilities for agent interactions
sender
(str): Name of the senderreceiver
(str): Name of the receivermessage
(str): The message contentsender_type
(str, optional): Type of sender (“agent” or “user”). Defaults to “agent”receiver_type
(str, optional): Type of receiver (“agent” or “user”). Defaults to “agent”agent_name
(str): Name of the agent performing self-reflectionreflection
(str): The reflection contentagent_name
(str): Name of the agent receiving the instructioninstruction
(str): The instruction contentagent_name
(str): Name of the agent calling the tooltool_name
(str): Name of the tool being calledparameters
(Dict[str, Any], optional): Parameters passed to the toolresult
(Any, optional): Result returned by the toolerror_type
(str): Type of error (e.g., “ValidationError”, “ConnectionError”)error_message
(str): The error messageagent_name
(str, optional): Name of the agent that encountered the erroragent_name
(str): Name of the agent that is processingaction
(str, optional): Description of what the agent is doing. Defaults to “Thinking”text
(str): Text containing triple backticksstr
: Text with triple backticks removedcallback
(Callable): The callback function to registerevent_types
(List[str], optional): List of event types to register for. If None, registers for all events"interaction"
: Agent-to-agent or agent-to-user interactions"reflection"
: Self-reflection events"instruction"
: Instruction events"tool_call"
: Tool calling events"error"
: Error events"generating"
: Processing/generating eventsagent_name
(str, optional): Filter logs by agent namelimit
(int, optional): Maximum number of logs to returnerror_type
(str, optional): Filter logs by error typeList[Dict[str, Any]]
: List of error log entries