Use this file to discover Exa products, pricing, evaluations, comparisons, use cases, agent interfaces, and technical documentation before exploring further.
JavaScript vector database libraries store embeddings and find the stored items closest to a query vector. A client either calls a hosted or self-run vector database over HTTP or gRPC or runs an embedded index inside the application process. These libraries let AI agents and search features retrieve relevant documents by meaning.
Popularity
Orama, whose count also covers full-text search, has the most monthly downloads in this comparison, at 7.9M.
async search(
query: number[],
topK: number = 5,
filters?: SearchFilters,
): Promise<VectorStoreResult[]> {
const filter = this.createFilter(filters);
const req: Record<string, any> = {
collection_name: this.collectionName,
data: [query],
limit: topK,
filter,
output_fields: ["*"],
};
// A BM25 collection has both a dense `vectors` and a sparse `sparse` field, // so anns_field is ambiguous unless we name the dense one explicitly. if (this.hasBm25Schema) req.anns_field = "vectors";
const res = await this.client.search(req);
return this.parseHits(res?.results || []);
}
FAQ
Pinecone suits teams that want a managed vector service. pgvector-node suits apps that already store data in PostgreSQL. Orama and LanceDB suit embedded search that runs inside the application.
A vector database stores embeddings and returns the stored items nearest to a query embedding. An embedding is a list of numbers that a model produces to represent the meaning of text or images.
Qdrant is an open-source vector search engine. Its JavaScript REST client manages collections and runs vector queries with payload filters.
LanceDB is an embedded vector database that keeps tables of records on local disk or object storage. Its Node.js package runs inside the application process.
pgvector is a PostgreSQL extension that adds a vector column type and nearest-neighbor search. pgvector-node adds support for that type in Node.js, Deno, and Bun.
Pinecone runs only as a managed cloud service. Qdrant is open source and runs self-hosted or as a managed cloud.
For coding agents
Found your vector database library? Help your agent use it.
Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.