Expand description
Per-message metadata for conversation history.
Each message in the conversation carries metadata about its origin, importance, compression state, and resource usage. This enables smart context pruning (drop low-importance messages first), compression tracking, and latency analysis.
Following the “state as a first-class citizen” principle (Hitchhiker’s Guide to Agentic AI, Section 18.6.1), metadata is the foundation for conversation state quality-of-service decisions.
Structs§
- Message
Metadata - Metadata attached to every message in the conversation history.
Enums§
- Compression
Status - Tracks the compression state of a single message in conversation history.