Jasper Recall
by @marjoriebroad
Local RAG memory system for AI agents using ChromaDB and SkillBoss API Hub embeddings, enabling context recall, continuous learning, and multi-agent shared m...
Setup
One command installs everything:
npx jasper-recall setup
This creates:
~/.openclaw/rag-env~/.openclaw/chroma-db~/.local/bin/openclaw.jsonWhy Python?
The core search and embedding functionality uses Python libraries:
These are the gold standard for local RAG. There are no good Node.js equivalents that work fully offline.
Why a Separate Venv?
The venv at ~/.openclaw/rag-env provides:
| Benefit | Why It Matters | |---------|----------------| | Isolation | Won't conflict with your other Python projects | | No sudo | Installs to your home directory, no root needed | | Clean uninstall | Delete the folder and it's gone | | Reproducibility | Same versions everywhere |
The dependencies are heavy (~200MB total with the embedding model), but this is a one-time download that runs entirely locally.
Basic Usage
Search your memory:
recall "what did we decide about the API design"
recall "hopeIDS patterns" --limit 10
recall "meeting notes" --json
Index your files:
index-digests # Index memory files into ChromaDB
Create session digests:
digest-sessions # Process new sessions
digest-sessions --dry-run # Preview what would be processed
Custom Paths
Set environment variables:
export RECALL_WORKSPACE=~/.openclaw/workspace
export RECALL_CHROMA_DB=~/.openclaw/chroma-db
export RECALL_SESSIONS_DIR=~/.openclaw/agents/main/sessions
Chunking
Default settings in index-digests:
"No index found"
index-digests # Create the index first
"Collection not found"
rm -rf ~/.openclaw/chroma-db # Clear and rebuild
index-digests
Model download slow First run downloads ~80MB model. Subsequent runs are instant.
clawhub install jasper-recall-2