# LanceDB — card for AI agents

Embedded and cloud vector database on the Lance columnar format for vector, full-text and hybrid search.

Maker: LanceDB · category: Vector databases

## Price (official page)
- Free tier: none listed
- Free tier terms: open source (read from the wording above and the pricing page; empty = not stated)
- Note: lancedb.com/pricing now redirects to the contact page (2026-11-10): the site offers LanceDB Enterprise through sales plus the open-source embedded library; no self-serve Cloud prices are published.

## Connect
- Official MCP server: https://github.com/lancedb/lancedb-mcp-server
- npm: `npm install @lancedb/lancedb`
- PyPI: `pip install lancedb`
- Repository: https://github.com/lancedb/lancedb
- Status: All Systems Operational

## For AI agents on LanceDB's own site (AgentGid check 2026-11-13: 5 of 6)
- llms.txt: https://lancedb.com/llms.txt
- Docs pages as Markdown: 44% of the pages llms.txt lists
- OpenAPI description: none found at the usual places
- Official MCP server: yes · official SDK: yes · status page: yes
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## Price history in AgentGid's catalog (since 2026-10-10)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- Algolia: https://agentgid.com/apis/algolia/agent.md
- Supabase (pgvector): https://agentgid.com/apis/supabase-pgvector/agent.md
- pgvector: https://agentgid.com/apis/pgvector/agent.md
- Elasticsearch (Elastic Cloud): https://agentgid.com/apis/elastic-cloud/agent.md
- Qdrant Cloud: https://agentgid.com/apis/qdrant-cloud/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/lancedb/


## LanceDB: search by meaning inside your own app

LanceDB is a free, open-source database that runs inside your app, with no server to set up. It keeps texts, images and their meaning fingerprints in a folder or cloud storage, and finds matches by meaning, by words or both. The paid hosted version, LanceDB Enterprise, is arranged through sales.

### Where to use it
- Chatbot that answers from your files: Store your help articles or notes with their meaning fingerprints, and let the chatbot pull the closest passages before it answers.
- Memory for a local AI agent: Give an assistant that runs on your laptop or server a place to save and find past notes, with nothing extra to host.
- Find words and filter results: Search product names, codes or exact phrases, and narrow results to one category, in the same table as the meaning search.
- Photos and videos in one table: Keep images, audio or video next to their captions and fingerprints, so one search returns the file and its details together.
- Clean up training data: Find, filter and keep versions of subsets of a large training dataset before you train a model on it.
- Search in an offline desktop app: Ship meaning search inside a desktop or offline app, so a user's own documents never leave their computer. (idea, not from the official pages)

### How to start
- Install the Python package (pandas shows the results as a table), or the TypeScript one.

```
pip install lancedb pandas
```

- Connect to a folder; LanceDB creates it and stores your tables there.

```
import lancedb
uri = "ex_lancedb"
db = lancedb.connect(uri)
```

- Create a table from rows that carry a vector, then search it with a query vector.

```
table = db.create_table("frames", data=data, mode="overwrite")
```


### License
LanceDB is open source under the Apache 2.0 license, so you can use it in paid products and ship it inside your app if you keep its license notice. LanceDB Enterprise is a separate paid service agreed with the company.

### Good to know
- The open-source version runs on one machine, so it can only grow as far as that machine allows.
- In the open-source version your app has to rebuild indexes and tidy files itself; Enterprise does this in the background.
- There is no public price list. The hosted Enterprise version is set up after you contact the company.
- On older Intel or AMD processors without AVX2, importing the Python package crashes; install lancedb-compat instead.
- If saving times out, the rows may already be saved. Check before you add them again, or you get duplicates.

Checked 2026-11-10 against: https://lancedb.com, https://lancedb.com/llms.txt, https://www.lancedb.com/pricing, https://docs.lancedb.com/llms.txt, https://docs.lancedb.com/llms-full.txt, https://docs.lancedb.com/quickstart.md, https://docs.lancedb.com/basics/lancedb-embedded.md, https://docs.lancedb.com/basics/embedded-vs-enterprise.md, https://docs.lancedb.com/basics/limits.md, https://docs.lancedb.com/basics/guarantees.md, https://docs.lancedb.com/enterprise/index.md, https://docs.lancedb.com/enterprise/authentication.md, https://docs.lancedb.com/api-reference/index.md, https://docs.lancedb.com/api-reference/rest/table/create-a-new-table-version.md, https://docs.lancedb.com/curation/vend-secret.md, https://docs.lancedb.com/embedding/quickstart.md, https://docs.lancedb.com/indexing/fts-index.md, https://docs.lancedb.com/search/full-text-search.md, https://docs.lancedb.com/build-with-ai-agents.md, https://github.com/lancedb/lancedb/blob/main/README.md, https://github.com/lancedb/lancedb/blob/main/LICENSE, https://github.com/lancedb/lancedb-mcp-server/blob/main/README.md, https://pypi.org/pypi/lancedb/0.41.0/json, https://registry.npmjs.org/@lancedb/lancedb/0.41.0

### Mistakes to avoid
- Don't: table.create_fts_index("caption"), as in many examples → Do: from lancedb.index import FTS; table.create_index("caption", config=FTS()) (With lancedb 0.41.0 our run printed "create_fts_index is deprecated as of 0.25.0"; the docs already use create_index with FTS for async connections.)
- Don't: .select(["frame_id", "caption"]) and then reading _distance or _score from the result → Do: Name _distance (vector search) or _score (word search) in select() when you need it (In our 0.41.0 run the engine warned that columns not named in select will stop being added automatically.)
- Don't: Retrying table.add() after a timeout without checking → Do: Check whether the rows were written, or use merge_insert on an id column, before writing again (The first write may already be saved, so a blind retry inserts the same rows twice.)
- Don't: Calling LanceDB from browser code with a key → Do: Use it in Node.js or Python on your server; read LANCEDB_API_KEY from the environment for Enterprise (The TypeScript package is a Node.js package with native builds, and keys belong in an environment variable or secret manager.)

### Questions
- Do I need an account or a server? No. The open-source version runs inside your program and stores data in a local folder; no account or key is needed.
- Is there a hosted LanceDB with a price list? The docs name one hosted offer, LanceDB Enterprise, managed or in your own cloud, set up through the LanceDB team; no prices are published.
- Can my data live in S3 instead of on the server disk? Yes. Use an s3://, gs:// or az:// address instead of a local folder when you connect.
- Does LanceDB make the meaning fingerprints for me? It can. You name an embedding model (OpenAI, Sentence Transformers and others) and LanceDB creates the vectors when you add rows and when you search.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
