Action Event • AI Agent SDK

ActionEvent: Lightweight action trace event.

ActionEvent

Defined in the protocol module.

AI Agent

Lightweight action trace event.

Represents a single action in the agent execution trace. Designed for minimal memory footprint and fast serialization.

Properties

ResponseField str

No description available.

ResponseField float

No description available.

ResponseField str

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[float]

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

ResponseField Dict[str, Any]

No description available.

Internal & Generic Methods
  • to_dict: Convert to dictionary, excluding None values.
  • to_json: Convert to JSON string.

Source

View on GitHub

praisonaiagents/trace/protocol.py at line 33