Skip to main content

ContextTraceSinkProtocol

Defined in the Context Events module.
AI Agent Protocol for context trace event sinks. Implementations receive context events and handle them (e.g., write to file, collect in memory, send to server). Naming follows AGENTS.md convention: XProtocol for interfaces.

Methods

emit()

Emit a context event.

flush()

Flush any buffered events.

close()

Close the sink and release resources.

Source

View on GitHub

praisonaiagents/trace/context_events.py at line 261

Context Concept

Context Management

Context Strategies