Guides

Best Practices

Practical recommendations for production use.

Writing memories

  • Prefer concise, factual sentences
  • Use stable agent ids
  • Put structural data in metadata, prose in content.text

Recalling memories

  • Start with topK 5–10
  • Tune threshold per embedding model
  • Filter by agent when privacy matters

Operations

  • Back up the SQLite file regularly
  • Keep embedding model dimensions stable for a database
  • Call close() on shutdown