Chromadb Memory Pub
Long-term memory via ChromaDB with local Ollama embeddings. Auto-recall injects relevant context every turn. No cloud APIs required — fully self-hosted.
Long-term memory via ChromaDB with local Ollama embeddings. Auto-recall injects relevant context every turn. No cloud APIs required — fully self-hosted.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Long-term semantic memory backed by ChromaDB and local Ollama embeddings. Zero cloud dependencies.
chromadb_search tool: Manual semantic search over your ChromaDB collectionChromaDB running (Docker recommended):
docker run -d --name chromadb -p 8100:8000 chromadb/chroma:latest
Ollama with an embedding model:
ollama pull nomic-embed-text
Indexed documents in ChromaDB. Use any ChromaDB-compatible indexer to populate your collection.
# 1. Copy the plugin extension mkdir -p ~/.openclaw/extensions/chromadb-memory cp {baseDir}/scripts/index.ts ~/.openclaw/extensions/chromadb-memory/ cp {baseDir}/scripts/openclaw.plugin.json ~/.openclaw/extensions/chromadb-memory/2. Add to your OpenClaw config (~/.openclaw/openclaw.json):
{ "plugins": { "entries": { "chromadb-memory": { "enabled": true, "config": { "chromaUrl": "http://localhost:8100", "collectionName": "longterm_memory", "ollamaUrl": "http://localhost:11434", "embeddingModel": "nomic-embed-text", "autoRecall": true, "autoRecallResults": 3, "minScore": 0.5 } } } } }
# 4. Restart the gateway openclaw gateway restart
| Option | Default | Description |
|---|---|---|
| | ChromaDB server URL |
| | Collection name (auto-resolves UUID, survives reindexing) |
| — | Collection UUID (optional fallback) |
| | Ollama API URL |
| | Ollama embedding model |
| | Auto-inject relevant memories each turn |
| | Max auto-recall results per turn |
| | Minimum similarity score (0-1) |
minScore are injected into the agent's context as <chromadb-memories>Auto-recall adds ~275 tokens per turn worst case (3 results × ~300 chars + wrapper). Against a 200K+ context window, this is negligible.
minScore to 0.6 or 0.7minScore to 0.4, increase autoRecallResults to 5autoRecall: false, use chromadb_search toolUser Message → Ollama (embed) → ChromaDB (query) → Context Injection ↓ Agent Response
No OpenAI. No cloud. Your memories stay on your hardware.
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.