jasper-recall
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
02 资源文件 21
- 参考文档_meta.json461 B
- 参考文档CHANGELOG.md3.4 KB
- 脚本cli/config.js3.3 KB
- 脚本cli/doctor.js7.2 KB
- 脚本cli/jasper-recall.js7.7 KB
- 脚本cli/server.js6.0 KB
- 脚本cli/update-check.js3.2 KB
- 参考文档docs/MULTI-AGENT-MESH.md7.1 KB
- 参考文档docs/SHARED-MEMORY-SPEC.md9.0 KB
- 参考文档package.json957 B
- 参考文档README.md10.2 KB
- 脚本scripts/digest-sessions.sh3.8 KB
- 脚本scripts/index-digests.py9.3 KB
- 脚本scripts/install-mesh.sh828 B
- 脚本scripts/privacy-check.py5.8 KB
- 脚本scripts/recall.py6.8 KB
- 脚本scripts/summarize-old.py9.4 KB
- 脚本scripts/sync-shared.py6.9 KB
- 脚本scripts/write-learning.py5.9 KB
- 脚本src/index.js1.7 KB
- 参考文档WORK-QUEUE.md2.1 KB
03 SKILL.md 正文
Jasper Recall v0.2.3
Local RAG (Retrieval-Augmented Generation) system for AI agent memory. Gives your agent the ability to remember and search past conversations.
New in v0.2.2: Shared ChromaDB Collections — separate collections for private, shared, and learnings content. Better isolation for multi-agent setups.
New in v0.2.1: Recall Server — HTTP API for Docker-isolated agents that can't run CLI directly.
New in v0.2.0: Shared Agent Memory — bidirectional learning between main and sandboxed agents with privacy controls.
When to Use
- Memory recall: Search past sessions for context before answering
- Continuous learning: Index daily notes and decisions for future reference
- Session continuity: Remember what happened across restarts
- Knowledge base: Build searchable documentation from your agent's experience
Quick Start
Setup
One command installs everything:
npx jasper-recall setup
This creates:
- Python venv at
~/.openclaw/rag-env - ChromaDB database at
~/.openclaw/chroma-db - CLI scripts in
~/.local/bin/
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
How It Works
Three Components
- digest-sessions — Extracts key info from session logs (topics, tools used)
- index-digests — Chunks and embeds markdown files into ChromaDB
- recall — Semantic search across your indexed memory
What Gets Indexed
By default, indexes files from ~/.openclaw/workspace/memory/:
*.md— Daily notes, MEMORY.mdsession-digests/*.md— Session summariesrepos/*.md— Project documentationfounder-logs/*.md— Development logs (if present)
Embedding Model
Uses sentence-transformers/all-MiniLM-L6-v2:
- 384-dimensional embeddings
- ~80MB download on first run
- Runs locally, no API needed
Agent Integration
Memory-Augmented Responses
# Before answering questions about past work
results = exec("recall 'project setup decisions' --json")
# Include relevant context in your response
Automated Indexing (Heartbeat)
Add to HEARTBEAT.md:
## Memory Maintenance
- [ ] New session logs? → `digest-sessions`
- [ ] Memory files updated? → `index-digests`
Cron Job
Schedule regular indexing:
{
"schedule": { "kind": "cron", "expr": "0 */6 * * *" },
"payload": {
"kind": "agentTurn",
"message": "Run index-digests to update the memory index"
},
"sessionTarget": "isolated"
}
Shared Agent Memory (v0.2.0+)
For multi-agent setups where sandboxed agents need access to some memories:
Memory Tagging
Tag entries in daily notes:
## 2026-02-05 [public] - Feature shipped
This is visible to all agents.
## 2026-02-05 [private] - Personal note
This is main agent only (default if untagged).
## 2026-02-05 [learning] - Pattern discovered
Learnings shared bidirectionally between agents.
ChromaDB Collections (v0.2.2+)
Memory is stored in separate collections for isolation:
| Collection | Purpose | Who accesses |
|---|---|---|
private_memories |
Main agent's private content | Main agent only |
shared_memories |
[public] tagged content | Sandboxed agents |
agent_learnings |
Learnings from any agent | All agents |
jasper_memory |
Legacy unified (backward compat) | Fallback |
Collection selection:
# Main agent (default) - searches private_memories
recall "api design"
# Sandboxed agents - searches shared_memories only
recall "product info" --public-only
# Search learnings only
recall "patterns" --learnings
# Search all collections (merged results)
recall "everything" --all
# Specific collection
recall "something" --collection private_memories
# Legacy mode (single collection)
recall "old way" --legacy
Sandboxed Agent Access
# Sandboxed agents use --public-only
recall "product info" --public-only
# Main agent can see everything
recall "product info"
Privacy Workflow
# Check for sensitive data before sharing
privacy-check "text to scan"
privacy-check --file notes.md
# Extract [public] entries to shared directory
sync-shared
sync-shared --dry-run # Preview first
CLI Reference
recall
recall "query" [OPTIONS]
Options:
-n, --limit N Number of results (default: 5)
--json Output as JSON
-v, --verbose Show similarity scores and collection source
--public-only Search shared_memories only (sandboxed agents)
--learnings Search agent_learnings only
--all Search all collections (merged results)
--collection X Search specific collection by name
--legacy Use legacy jasper_memory collection
serve (v0.2.1+)
npx jasper-recall serve [OPTIONS]
Options:
--port, -p N Port to listen on (default: 3458)
--host, -h H Host to bind (default: 127.0.0.1)
Starts HTTP API server for Docker-isolated agents.
Endpoints:
GET /recall?q=query&limit=5 Search memories
GET /health Health check
Security: public_only=true enforced by default.
Set RECALL_ALLOW_PRIVATE=true to allow private queries.
Example (from Docker container):
curl "http://host.docker.internal:3458/recall?q=product+info"
privacy-check (v0.2.0+)
privacy-check "text" # Scan inline text
privacy-check --file X # Scan a file
Detects: emails, API keys, internal IPs, home paths, credentials.
Returns: CLEAN or list of violations.
sync-shared (v0.2.0+)
sync-shared [OPTIONS]
Options:
--dry-run Preview without writing
--all Process all daily notes
Extracts [public] tagged entries to memory/shared/.
index-digests
index-digests
Indexes markdown files from:
~/.openclaw/workspace/memory/*.md
~/.openclaw/workspace/memory/session-digests/*.md
~/.openclaw/workspace/memory/repos/*.md
~/.openclaw/workspace/memory/founder-logs/*.md
Skips files that haven't changed (content hash check).
digest-sessions
digest-sessions [OPTIONS]
Options:
--dry-run Preview without writing
--all Process all sessions (not just new)
--recent N Process only N most recent sessions
Configuration
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:
- Chunk size: 500 characters
- Overlap: 100 characters
Troubleshooting
"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.
Links
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.