๐ง OpenClaw Cortex
Hybrid semantic memory system for AI agents โ vector search, smart capture, multi-factor recall.
What is it?
OpenClaw Cortex gives AI agents persistent, semantically searchable memory across sessions. It bridges file-based structured memory (markdown, git-backed) with vector-based semantic memory powered by Qdrant.
Features
- Semantic Search โ Vector similarity search via Qdrant gRPC
- Smart Capture โ Claude Haiku extracts structured memories from conversations
- Multi-Factor Recall โ Scores by similarity, recency, frequency, type, and scope
- Token Budgeting โ Fit recalled memories within configurable limits
- Auto-Classification โ Rules, facts, episodes, procedures, preferences
- Lifecycle Management โ TTL expiry, session decay, consolidation
- OpenClaw Integration โ Pre/post-turn hooks for seamless agent memory
Tech Stack
Go 1.25+
Qdrant
Ollama
Claude Haiku
Cobra CLI
gRPC
Docker
Kubernetes
Quick Start
task docker:up # Start Qdrant
ollama pull nomic-embed-text # Pull embedding model
task build # Build binary
openclaw-cortex search "how to deploy"
openclaw-cortex recall "database question" --budget 2000
View on GitHub โ
Documentation