Quick Start
1
In-Memory Vector Store
2
File-Based Sessions
User Interaction Flow
InMemoryVectorStore
Fast, in-memory vector storage for development and small knowledge bases.Methods
Example
FileSessionStore
Persistent file-based storage for session data.Configuration Options
Methods
Storage Comparison
Best Practices
Use InMemoryVectorStore for development
Use InMemoryVectorStore for development
Fast iteration without database setup. Switch to persistent store for production.
Set message limits for long-running agents
Set message limits for long-running agents
Use
FileSessionStore::new().max_messages(100) to prevent unbounded growth.Index by semantic meaning, not keywords
Index by semantic meaning, not keywords
Vector stores search by embedding similarity - structure your documents for semantic retrieval.
Related
Vector Store
Vector store protocol
Knowledge
Knowledge management

