Vector Databases for AI Agents
Compare vector databases for RAG, semantic search, and agent memory
| Tool | Type | Pricing | OSS | Hybrid Search | Metadata Filtering | Multi Tenancy | Managed Embeddings | Mcp Server | Serverless | Verified |
|---|---|---|---|---|---|---|---|---|---|---|
| Pinecone | cloud | Free (1 starter index, 2GB storage)$50/mo Standard (usage-based)Custom Enterprise | 2026-06-10 | |||||||
| Weaviate | hybrid | Free (self-hosted, open-source)Free Hosted$45/mo Flex$280/mo Plus$400/mo Premium | 2026-06-10 | |||||||
| Qdrant | hybrid | Free (self-hosted, Apache 2.0)Free Tier (1GB cluster)Standard Tier (usage-based)Premium Tier (minimum spend required) | 2026-06-10 | |||||||
| Milvus | hybrid | Free (self-hosted, Apache 2.0)Free Zilliz Cloud Serverless tier$126/GB/mo Standard Zilliz Cloud Dedicated$197/mo EnterpriseBusiness Critical | 2026-06-10 | |||||||
| Chroma | hybrid | Free (self-hosted, Apache 2.0)Starter ($0/mo + usage)Team ($250/mo + usage)Custom Enterprise | 2026-06-10 | |||||||
| pgvector | self-hosted | Free (open-source PostgreSQL extension)Available on managed Postgres: Supabase, Neon, RDS, Cloud SQL, Crunchy Bridge | 2026-06-10 | |||||||
| MongoDB Vector Search | cloud | Free M0 cluster (512MB)$57+/mo M10 dedicatedSearch Nodes billed separatelyCustom Enterprise | 2026-06-10 | |||||||
| Elasticsearch | hybrid | Free (self-hosted, Elastic License v2 / SSPL)Elastic Cloud Hosted $99+/mo (Standard, Gold, Platinum, Enterprise)Elasticsearch Serverless (pay per use) | 2026-06-10 |
Supported Not supported Unverified
What do these features mean?
- Hybrid Search — Combined dense vector + sparse/keyword (BM25) search in one query
- Metadata Filtering — Pre/post filtering by structured metadata — JSON payloads, tags, dates
- Multi Tenancy — Native namespace or tenant isolation for per-user or per-agent vector spaces
- Managed Embeddings — Built-in embedding generation at ingest and query time — no separate embedding service required
- Mcp Server — Official Model Context Protocol server exposing vector operations as agent tools
- Serverless — Pay-per-use scaling with separated storage and compute
Missing a tool in this category? Use the add-tool skill to generate the file, then open a PR.
Vector Databases for AI Agents
Vector databases are the persistence layer behind retrieval-augmented generation (RAG), agent long-term memory, and semantic tool routing. Where a traditional database matches rows by exact values, a vector database matches embeddings by similarity — finding the chunks of text, code, or images that are conceptually closest to a query, even when no keyword overlaps.
For AI agents specifically, the vector store is rarely a passive lookup. Agents call it as a tool, scope queries per user or per session, filter by metadata, and combine vector relevance with keyword precision. The right database can mean the difference between an agent that grounds its answers and one that hallucinates against stale context.
The tools in this category range from purpose-built, fully managed services (Pinecone, MongoDB Vector Search) to open-source engines you can self-host (Weaviate, Qdrant, Milvus, Chroma) to extensions on databases you already run (pgvector, Elasticsearch).
What each feature means:
- Hybrid search — the database can combine dense vector similarity with sparse/keyword (BM25) scoring in a single query. Hybrid search reliably outperforms pure-vector search for RAG over technical or proper-noun-heavy corpora.
- Metadata filtering — you can attach structured JSON payloads to each vector and constrain queries by them (tenant ID, document type, date ranges, ACLs). Critical for multi-user agent apps where leaking the wrong tenant's data is a bug, not a feature.
- Multi-tenancy — first-class namespace or tenant isolation so per-user or per-agent vector spaces don't share an index. Reduces noisy-neighbor problems and simplifies per-tenant deletion.
- Managed embeddings — the database generates embeddings for you at ingest and query time, removing the need for a separate embedding pipeline. Convenient for prototyping; sometimes a lock-in concern at scale.
- MCP server — an official Model Context Protocol server that exposes vector operations (upsert, query, delete) as agent tools, with auth and schema baked in.
- Serverless — separated storage and compute with pay-per-use billing. Matters when your agent's vector workload is bursty or long-tail across many small tenants.
A ? in the comparison table means the feature is unverified at the time of the last editorial check, not that it's absent. Check last_verified and follow source_urls to confirm current status.