Persistent memory for AI agents. Semantic search, knowledge graph, automatic consolidation — now accessible from Claude.ai via Streamable HTTP.
Mistake Notes — structured error replay: agents record mistake patterns and retrieve them before similar tasks. Backend-agnostic, auto-deduplicating. ~1,737 tests.
Two new MCP tools — mistake_note_add and mistake_note_search — let agents record error patterns and retrieve them before similar tasks. Implements the structured error replay pattern from Mistake Notebook Learning. (PR #786, @filhocf)
When a similar mistake pattern already exists (similarity ≥ MCP_MISTAKE_NOTE_DEDUP_THRESHOLD, default 0.85), mistake_note_add increments failure_count in metadata instead of creating a duplicate. Clean, append-free history.
Reuses the existing memory store with memory_type='mistake'. No new tables, no schema migrations — works on all backends: SQLite-vec, Cloudflare, Hybrid, and Milvus. Ontology updated: mistake registered as subtype of error.
Claude.ai connects to your memory server through Streamable HTTP with OAuth 2.1 authentication.
Battle-tested with comprehensive testing and optimized for performance.
Install from PyPI and connect your AI agents to persistent memory.