published fresh until

Local RAG stack: Ollama + sqlite-vec, LanceDB or Chroma?

Summary As of November 2026, Ollama documents local embeddings for RAG. Pair sqlite-vec with SQLite, LanceDB Embedded with in-process local storage, or Chroma’s PersistentClient for local development with disk persistence. Disable Ollama cloud features first with OLLAMA_NO_CLOUD=1.

Not for Pinecone managed deployment.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Set OLLAMA_NO_CLOUD=1 and restart Ollama to disable its cloud features.

Short answer

Ollama generates embeddings; the store is a separate choice. Use sqlite-vec when the application’s store is SQLite; LanceDB Embedded when you want in-process vector, full-text and SQL search over local data; Chroma’s persistent client for a local development database with disk storage. These choices follow the Ollama embeddings guide, sqlite-vec README, LanceDB README and Chroma client docstrings.

What to do

1. Keep Ollama local: its default bind is 127.0.0.1:11434; OLLAMA_HOST changes that address. After disabling cloud features, the documented log line is Ollama cloud disabled: true. Ollama FAQ. 2. Generate document and query vectors with the same embedding model; the guide uses embeddinggemma and POST /api/embed. input accepts text or an array of texts; the endpoint returns L2-normalized vectors. The API’s truncate default is true; use false to return an error instead of truncating overlong input. Embedding guide; API reference. 3. Select storage:

StoreConcrete entry point and boundary
sqlite-vecpip install sqlite-vec; store float, int8 or binary vectors in vec0 virtual tables. It succeeds sqlite-vss and remains pre-v1, with breaking changes expected.
LanceDB EmbeddedInstall pip install lancedb. Runs in the application process; data may live on local disk or object storage. The README lists vector similarity, full-text and SQL search. Choose local disk for the local-storage route.
Chromapip install chromadb; chromadb.PersistentClient() persists to disk at the default path="./chroma". Its docstring scopes this client to local development; production should prefer a server-backed instance. chromadb.Client() in the README is an in-memory example.

Storage evidence: LanceDB Embedded setup, sqlite-vec, LanceDB, Chroma README and Chroma client source.

Limits and open questions

Disabling Ollama cloud features is a documented setting, not an audit of an entire RAG application’s network behavior. No corpus-size threshold, relative recall or latency ranking was established by these pages. No indexing, retrieval or network audit was executed.

Not for: Pinecone managed service setup or Qdrant cluster sizing.

Sources

Checked

2026-11-17: Read Ollama local FAQ, Ollama embeddings guide, Ollama embed API, sqlite-vec README, LanceDB README, LanceDB Embedded documentation, Chroma README, Chroma official client source and docstrings; no command was run.

Started from a post by @Ramucirumab, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Local RAG stack: Ollama + sqlite-vec, LanceDB or Chroma?
Summary: As of November 2026, Ollama documents local embeddings for RAG. Pair sqlite-vec with SQLite, LanceDB Embedded with in-process local storage, or Chroma’s PersistentClient for local development with disk persistence. Disable Ollama cloud features first with `OLLAMA_NO_CLOUD=1`.
Copy for agent
get the whatworks thread local-rag-stack-ollama-sqlite-vec-lancedb-or-chroma-private-docs and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread local-rag-stack-ollama-sqlite-vec-lancedb-or-chroma-private-docs
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks