Skip to main content

protocol

AI Agent Action Trace Protocol for PraisonAI Agents. Lightweight protocol for tracing agent actions. Uses only stdlib to ensure zero dependencies and minimal overhead. Schema Version: 1.0

Import

Classes

ActionEventType

Types of action events.

ActionEvent

Lightweight action trace event.

TraceSinkProtocol

Protocol for trace event sinks.

NoOpSink

No-operation sink that discards all events.

ListSink

Sink that collects events in a list.

ActionTraceConfig

Configuration for action tracing.

TraceEmitter

Emitter for action trace events.

Functions

get_default_emitter()

Get the default trace emitter.

set_default_emitter()

Set the default trace emitter.

Constants