Quick Recommendations
Ingestion Performance
Parallel Ingestion
For large folders, enable parallel processing:Skip Embeddings
For lexical-only search or when you’ll add embeddings later:- 10x faster ingestion
- 60% smaller file size
- Full lexical search still available
Embedding Model Selection
Choose based on speed/quality tradeoff:Search Performance
Search Mode Selection
Adaptive Retrieval
Adaptive retrieval automatically adjusts result count based on query relevance. Disable for consistent performance:Scope Filtering
Narrow search scope for faster results:Sketch Index
For very large memories (100k+ frames), build a sketch index for faster approximate search:Storage Optimization
Memory Size
Set appropriate size limits:Vacuum and Compact
After deletions or updates, reclaim space:Index Selection
Disable indexes you don’t need:RAG Performance
Model Selection
Choose synthesis model based on needs:Context-Only Mode
Skip synthesis for maximum speed:- Feed context to your own LLM
- Debugging retrieval quality
- Batch processing
Index Maintenance
Rebuild Indexes
Periodically rebuild for optimal performance:- After many deletions (>20% of content)
- Search results seem slow or inaccurate
- After model upgrade
Verify Integrity
Check for corruption:Benchmarks
Typical performance on M1 Mac with SSD:Ingestion Speed
Search Latency
Ask Latency
SDK Performance Tips
Python
Node.js
Monitoring
Query Tracking
Monitor usage patterns:Memory Statistics
Troubleshooting Performance
Slow Ingestion
- Enable parallel ingestion:
--parallel-segments - Use smaller embedding model:
-m bge-small - Skip embeddings if not needed:
--embedding-skip
Slow Search
- Use lexical mode for exact matches:
--mode lex - Build sketch index for large memories
- Narrow scope:
--scope "relevant/path/"
High Memory Usage
- Use smaller embedding model
- Create with
--no-vecif lexical is sufficient - Vacuum after deletions:
--vacuum
Large File Size
- Enable no-vec mode
- Vacuum to reclaim deleted space
- Use smaller embedding model
Next Steps
Embedding Models
Model comparison