What problem does it solve? Building semantic search and RAG systems requires a vector database that can store embeddings, index them efficiently, and retrieve similar documents with low latency, which is complex to implement from scratch. ## Core Features & Use Cases - Vector Storage & Similarity Search: Store documents with embeddings and query by cosine, euclidean, or dot-product distance using HNSW indexing. - Hybrid Search & MMR: Combine vector similarity with metadata filters and Maximal Marginal Relevance for diverse, relevant results. - Quantization & Performance: Reduce memory usage 4-32x with binary, scalar, or product quantization while maintaining sub-millisecond search. - Use Case: Build a RAG pipeline where user questions are embedded, matched against a knowledge base of documents, and the retrieved context is passed to an LLM for answer generation. ## Quick Start Initialize an AgentDB vector database with npx agentdb@latest init ./vectors.db, then store documents with embeddings and run semantic queries against it.