AI Cognitive Memory
A cognitive memory core, not an embedding cache.
Every memory is a typed, versioned node in a provenance graph. Recall survives context resets and model swaps — and every answer can show where it came from.
- Belief revision, proven
- AGM-compliant revise/contract/expand — 49/49 compliance scenarios pass against the shipped engine.
- Typed provenance edges
- DERIVED_FROM, DEPENDS_ON, REFERENCED — every memory knows its sources and its dependents.
- Dream State
- Async consolidation reviews, links, and prunes memory in the background, with safety guards.
- Any agent, one MCP server
- engage before responding, reflect after — plugs into Claude Code, Codex, or your own stack.
from kumiho import memory_store, memory_recall
# Store a decision with provenance
memory_store(
summary="Approved hero layout",
edges=[{"type": "DERIVED_FROM",
"target": "kref://project/brief/rev/2"}]
)
# Recall by meaning — with sources attached
results = memory_recall("hero layout decision")
print(results[0].summary, results[0].edges)Explore AI Cognitive Memory