protocol • AI Agent SDK
Action Trace Protocol for PraisonAI Agents.
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
from praisonaiagents.trace import protocolClasses
ActionEventType
Types of action events.
ActionEventLightweight action trace event.
TraceSinkProtocolProtocol for trace event sinks.
NoOpSinkNo-operation sink that discards all events.
ListSinkSink that collects events in a list.
ActionTraceConfigConfiguration for action tracing.
TraceEmitterEmitter for action trace events.
Functions
get_default_emitter()
Get the default trace emitter.
set_default_emitter()Set the default trace emitter.
Constants
| Name | Value |
|---|---|
SCHEMA_VERSION | '1.0' |