cmem
MCPShips with claude-mem: Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions,…
Ships with cortexdb: Memory your coding agents share. Tell Claude Code something once, and Codex, your other machines and next week's session already know it.
Claude Code
> /plugin marketplace add liliang-cn/cortexdb> /plugin install cortexdb@cortexdb
Codex
$ go get github.com/liliang-cn/cortexdb/v2
Cursor
$ go get github.com/liliang-cn/cortexdb/v2
Gemini CLI
$ go get github.com/liliang-cn/cortexdb/v2
GitHub Copilot
$ go get github.com/liliang-cn/cortexdb/v2
OpenCode
$ go get github.com/liliang-cn/cortexdb/v2
Windsurf
$ go get github.com/liliang-cn/cortexdb/v2
Security report
Not enough data
Known flaws
Not published
Signed build
Not published
Maintained
Nov 17, 2026
Last push
Licence
MIT
Runs as
Local process
On your machine
Deprecated
Not published
Signals from public registries, not an audit. Checked Nov 19, 2026.
Memory your coding agents share. Tell Claude Code something once, and Codex, your other machines and next week's session already know it.

Claude Code:
/plugin marketplace add liliang-cn/cortexdb
/plugin install cortexdb@cortexdb
Codex:
codex plugin marketplace add liliang-cn/cortexdb && codex plugin add cortexdb@cortexdb
Go:
go get github.com/liliang-cn/cortexdb/v2
Also for DeepSeek Harness, Obsidian, and Rust, Python and Node clients (cortexdb-client).
cortexdb-grpc server and they share it.db, _ := cortexdb.Open(cortexdb.DefaultConfig("brain.db"))
brain := db.KnowledgeMemory()
brain.Remember(ctx, cortexdb.KnowledgeMemoryRememberRequest{MemoryID: "tabs", UserID: "alice", Content: "Alice prefers tabs."})
rec, _ := brain.Recall(ctx, cortexdb.KnowledgeMemoryRecallRequest{Query: "what does Alice prefer?", UserID: "alice"})
fmt.Println(rec.ContextPack.Text)
Guide · Plugin · Live view · Claude Code mod · Environment variables · Integrating your agent · Examples · Changelog · 中文
MIT
Ships with claude-mem: Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions,…
Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.
Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.
Ships with ai-memory: Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent…