Memory & Tracing
Persist conversation context and trace token usage across your LLM pipelines.
📄️ Conversation Memory
ConversationMemory maintains a sliding window of recent messages for multi-turn conversations.
📄️ Living Memory
File-routed agent memory that proposes signed, reviewable diffs instead of silently overwriting.
📄️ Universal Memory Protocol (UMP)
A provider-agnostic document standard for agent memory and project rules. UMP files are plain Markdown with a YAML frontmatter header (ump_version, name, type, scope, visibility, provenance, links) and a free-form body. [[wikilink]]s written in the body are automatically discovered and merged into the document's links, so memory becomes a linkable graph rather than isolated files. The reference implementation ships an async reader/writer, a spec validator, and adapters that lift existing tool-specific memory files — CLAUDE.md, Cursor rules, Aider config, Continue config — into the shared format.
📄️ Token Tracer
TokenTracer tracks token usage, latency, and estimated cost per LLM call.