Better memory for Claude Code
OpenMemory gives Claude Code persistent memory across sessions. Your patterns, preferences, and decisions carry over automatically — so your agent improves with every conversation instead of starting from scratch.
Install once. Memory handles itself.
OpenMemory captures context as you work, organizes it by project, and serves it to your agents when they need it.
async def verify_token(request: Request):
token = request.headers.get("Authorization",
"").replace("Bearer ", "")
try:
payload = jwt.decode(token, SECRET_KEY,
algorithms=["HS256"])
return payload.get("user_id")
except JWTError:
raise HTTPException(
status_code=401,
detail="Invalid token")Capture
Saves decisions, patterns, and preferences as you work. No manual tagging needed.
Projects Overview
Global Preferences
Organize
Memories are scoped by project and tagged by type. Browse, edit, or delete anything.
Based on your stored memories, JWT authentication in this project uses PyJWT with HS256 signing. Tokens are passed via the Authorization header, decoded with jwt.decode(), and validated against a shared SECRET_KEY. Failed tokens return a 401 HTTPException.
Deliver
When an agent starts a task, it pulls relevant memories. No re-explaining.
Stop re-explaining your codebase
Claude Code reviews the same patterns, breaks the same conventions, and forgets your feedback every session. OpenMemory fixes that.
- Learns your team's coding patterns and conventions
- Remembers past code review feedback
- Carries context across files, sessions, and projects
- Fewer review cycles. Better first drafts.
Using your team's convention: error responses use ProblemDetails format with traceId.
Tagged and searchable memory
Every memory is tagged by type — preferences, decisions, patterns, troubleshooting — so your agent pulls the right context every time.
Scoped to the right project
Memories are organized by project. When you switch repos or tasks, your agent automatically gets the relevant context.
Full visibility and control
See every memory that was added, read, or edited — and by which agent. Edit, delete, or restrict access to any memory at any time.
JWT authentication middleware for FastAPI — extracts Bearer token from Authorization header, decodes using jose library with HS256 algorithm, returns user_id from payload, raises 401 HTTPException on invalid tokens
Top Organizations Building with OpenMemory
Top teams using OpenMemory
Frequently Asked Questions
Claude Code should remember.
Install OpenMemory and stop repeating yourself.
OpenMemory