Shodh Memory

Documentation

Everything you need to get started with Shodh Memory - the open-source cognitive memory system for AI agents

Looking for Shodh RAG docs? RAG documentation is provided during enterprise pilots.Contact us to get started →

Quick Install

Python SDK

PyPI
pip install shodh-memory

Full-featured Python library for memory operations

MCP Server (npm)

npm
npx @shodh/memory-mcp

Model Context Protocol server for Claude Code/Desktop

Quick Example

Python
from shodh_memory import Memory

# Initialize
m = Memory()

# Store a memory
m.remember("User prefers dark mode", memory_type="Decision", tags=["preferences"])

# Recall memories
results = m.recall("What are the user preferences?")
for r in results:
    print(f"[{r['experience_type']}] {r['content']}")

# Get context summary for LLM bootstrap
summary = m.context_summary()
print(summary["decisions"])

Need Help?

Check GitHub issues or reach out directly