Autonomous memory for AI agents. Bi-temporal graph + episodic log + procedural skills. MCP-native.
- Go 98.8%
- Makefile 0.6%
- Dockerfile 0.6%
- consolidate/reflect.go: group (message → tool_call*) chains per scope, skip if correction event landed inside, upsert as procedural skill with deterministic UUIDv5-shaped ID so reflect passes are idempotent - store: RecentEvents (chronological window, no vector), DecayImportance, SearchNodes - migrations 000005_decay - imports/markdown: walk .md, parse front-matter (created/tags), scope from relative path - cmd: import markdown subcommand - tests: groupChains, readMarkdown, pathToScope, joinScope |
||
|---|---|---|
| cmd | ||
| configs | ||
| internal | ||
| pkg/types | ||
| .gitignore | ||
| .golangci.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| Makefile | ||
| PLAN.md | ||
| README.md | ||
mnemos
Autonomous memory for AI agents. Bi-temporal graph + episodic log + procedural skills. One Go binary, one Postgres. MCP-native. MIT.
mnemos is a memory server that any MCP-compatible client (Claude Desktop,
Claude Code, Cursor, Windsurf, custom agents) can connect to. It stops
agents from forgetting between sessions and gives them a real bi-temporal
knowledge graph instead of a flat vector store.
Why another memory system
| mnemos | Memory MCP | MemPalace | Mem0 | Graphiti | |
|---|---|---|---|---|---|
| Bi-temporal graph | ✅ | ❌ | ⚠️ flat | ❌ | ✅ |
| Procedural skills | ✅ | ❌ | ❌ | ❌ | ❌ |
| Multi-agent scoping | ✅ | ❌ | ❌ | ⚠️ | ⚠️ |
| Sleep consolidation | ✅ | ❌ | ❌ | ❌ | ❌ |
| Single binary | ✅ | ❌ | ❌ | ❌ | ❌ |
| Any LLM (OAI-compat) | ✅ | n/a | ❌ | ❌ | ❌ |
Quick start
# Build
go build -o mnemos .
# Run migrations
./mnemos migrate up
# Serve over HTTP for Claude Desktop
./mnemos serve --addr :8090
MCP tools exposed
| Tool | Purpose |
|---|---|
mnemos.observe |
record an event into the episodic log |
mnemos.recall |
hybrid retrieval (vector + graph + time) |
mnemos.facts |
bi-temporal facts about an entity |
mnemos.skill |
recall a procedural pattern |
mnemos.pin |
add to core memory (always returned) |
See PLAN.md for architecture and roadmap.
Status
Boilerplate only. Sprint 0 done. Sprints 1–7 in PLAN.md.
License
MIT