Embeddings and vector stores
Choose an embedding model and one of 12 vector databases (embedded or server), and how AgenticMind keeps them consistent.
Embedding models
The Embedding Model node chooses how text becomes vectors:
| Provider | Model | Key | Notes |
|---|---|---|---|
fastembed (default) |
BAAI/bge-small-en-v1.5 (384 dimensions) |
none | Local ONNX model, downloaded once (~65 MB) into the data directory. Works offline. |
openai_compatible |
e.g. google/gemini-embedding-001 via OpenRouter, or any POST /embeddings API |
api_key secret |
base_url defaults to OpenRouter. dimensions for APIs that support shortening. |
hash |
deterministic | none | Tests and offline demos only. Not semantic. |
Connect the same Embedding Model node to Index Documents and to every retrieval node. Each stored vector records the model identity, and a query with a different model fails with EMBEDDING_MODEL_MISMATCH.
Vector stores
The Vector Store node selects a backend and a collection. Fields appear per backend.
| Backend | Runs | Connection | Notes |
|---|---|---|---|
| Qdrant (default) | Embedded on disk, or server/cloud | url, api_key |
Zero setup. |
| Chroma | Embedded, or server/cloud | url, api_key |
|
| FAISS | Embedded files | none | Exact IndexFlatIP with a SQLite sidecar for documents; single-process. |
| LanceDB | Embedded, or LanceDB Cloud (db://…) |
api_key, region |
|
| pgvector | PostgreSQL | dsn secret |
|
| Pinecone | Cloud | api_key, cloud, region, namespace |
|
| Milvus / Zilliz | Server/cloud, or Milvus Lite file (Linux/macOS) | url, api_key (token) |
|
| Weaviate | Server or Weaviate Cloud | url, api_key |
Client v4, self-provided vectors. |
| Elasticsearch | Server/cloud | url, api_key |
dense_vector + kNN with filter, via REST. |
| OpenSearch | Server | url with user:password |
Lucene k-NN, via REST. |
| MongoDB Atlas | Atlas | dsn secret, namespace = database |
$vectorSearch with declared filter paths. |
| Redis | Redis 8 / Redis Stack | url or dsn |
HNSW vector field plus TAG/NUMERIC filter fields. |
Common settings: collection (default documents), namespace_by_project (prefix the collection with the project ID; on by default), distance (cosine or dot).
One score scale
Scores always mean cosine similarity (or dot product), higher = more similar, on every backend. Engines that rescale scores have them recomputed from the returned vectors, and Redis distances are converted (1 − d). So score_threshold means the same thing everywhere.
What every backend stores
The full document JSON, a content hash and the embedding-model ID, plus flat filter fields: filename, artifact_id, page, section, parent_id and meta_<key>. That is why Index Documents, Retriever, Hybrid Search, parent-child chunking and evaluation work unchanged on all twelve.
Choosing one
| Situation | Pick |
|---|---|
| Local development, demos, single machine | Qdrant (embedded), the default |
| Already run PostgreSQL | pgvector |
| Fully managed, no servers | Pinecone, Qdrant Cloud, Zilliz, Weaviate Cloud, MongoDB Atlas |
| Already run Elasticsearch/OpenSearch or Redis | Use those |
| Deploying to Cloud Run or Vercel | A server or cloud store: embedded stores need a persistent disk, and the Deployment Center blocks those targets |
Indexing behaviour
Index Documents upserts in batches (upsert_batch_size, 128), skips unchanged chunks, maintains the local BM25 keyword index next to the collection, and with recreate deletes the collection first. Its report output summarises what was added, skipped and indexed.
Theory
How embeddings capture meaning, cosine similarity, approximate nearest neighbour search (HNSW) and why hybrid search helps: Embeddings and vector search.

