Vectra
Reasonable, with limits. 8th of 9 vector databases and clients.
Vectra is a small vector index for Node.js and the browser that stores each index as a folder of local files. It loads the whole index into memory and scans it on every query. It is pleasant for prototypes, Teams bots and small static corpora. Embedded options such as LanceDB, or pgvector and the hosted databases, do the job better once data grows.
Best for: Node.js or Electron apps that need simple local retrieval over a small, mostly static set of documents, with no server to run.
Scores
Overall5.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
Vectra is an easy, server-free way to add small-scale semantic search to a Node.js or Electron app. It works well within its stated limits. For new work, LanceDB gives the same local embedded model with real indexing and much stronger growth. pgvector, Qdrant and Chroma are better once data grows. One-maintainer upkeep, low dependent counts and below-median growth hold it down.
- peers LanceDB downloads: LanceDB grew about 10x in a year against Vectra's 2x
- stevenic.github.io/vectra/core-concepts: The docs point users to a real vector DB for larger or long-term memory needs
- github.com/Stevenic/vectra: Active, with 0.15 shipped in May 2026
GPT-6.2 Sol: 5.8, likely 4.7 to 7.0
Vectra is easy to embed and does enough for small local collections, especially when browser storage or built-in document ingestion matters. LanceDB is the stronger embedded choice when the collection is expected to grow, since it offers approximate nearest-neighbor indexing. The release slowdown, open query fixes, and sparse production evidence limit confidence in a new long-lived deployment.
- stevenic.github.io/vectra/storage.html: Browser, Electron, and local storage options support embedded use.
- stevenic.github.io/vectra/documents.html: Documents built-in chunking, embedding, and retrieval.
- lancedb.github.io/lancedb/js/classes/Query: LanceDB's JavaScript API supports indexed approximate nearest-neighbor search.
- github.com/Stevenic/vectra/pulls: Multiple query correctness fixes remain open.
- npm latestPublishedAt, dependents and peers: May release and sparse tracked downstream use compared with the peer set.
Needed by many3.8
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Many AI apps need vector search, but Vectra serves only the local, small-corpus, in-process slice of that job on Node.js and the browser. Projects with large or changing data need a real database. That makes it a clear niche within a broad category.
- github.com/Stevenic/vectra: Local, file-backed, in-memory index that is fast only for small indexes
- stevenic.github.io/vectra/core-concepts: The whole index is loaded into memory, and the docs say to use a real vector DB for chat memory
GPT-6.2 Sol: 3.5, likely 2.4 to 4.7
Embedding search serves a clear niche in JavaScript and TypeScript, including semantic search, document Q&A, and AI memory. Browser and Electron support broaden Vectra's reach, but its in-memory design mainly fits small local collections. Developer surveys cover vector search more broadly, so the size of this particular audience is uncertain.
- stackoverflow.blog/2026/05/27/agents-on-a-leash-agentic-ai-remains-mostly-monitored-at-work: Developer survey reports vector database use among agent builders.
- stevenic.github.io/vectra/storage.html: Documents Node.js storage and the browser and Electron entry point.
- stevenic.github.io/vectra/best-practices.html: The full index stays in RAM and queries scan it.
Helps a lot5.7
How well does it do the job for those who need it?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Vectra has a good set of features for its size: document chunking, several embedding providers, Mongo-style filters, hybrid BM25 search, types and an llms.txt file. Every query is still a linear cosine scan over data held in memory, with no ANN index. LanceDB gives local embedded use with real indexing and disk-based scale, so it does the same job clearly better. No independent benchmarks exist.
- github.com/Stevenic/vectra: The 0.15 release improved performance with heap top-K and skip-unchanged upserts, but there is still no ANN index
- myscale.com/blog/fast-free-local-vector-database-javascript-typescript: Third-party write-up that makes general claims and gives no benchmarks
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 6.4, likely 5.3 to 7.5
The typed APIs support metadata filters and document ingestion, and the examples and coding-agent reference make basic integrations straightforward. Version 0.15 improves ranking efficiency and fixes stale scores after updates, but the full scan still limits scale. Contributors report failures with small hybrid queries and zero-vector ranking, and independent performance evidence for the current release is limited.
- github.com/Stevenic/vectra/releases/tag/v0.15.0: Documents the top-k optimization, skipped re-embedding, and ranking fix.
- github.com/Stevenic/vectra/blob/v0.15.0/src/LocalIndex.ts: Released source shows the full scan and the affected ranking and hybrid query paths.
- github.com/Stevenic/vectra/pull/140: Contributor reproduced zero vectors pushing valid matches out of the results.
- github.com/Stevenic/vectra/pull/141: Contributor reproduced hybrid search errors on small collections.
- github.com/Stevenic/vectra/blob/main/llms.txt: Gives coding agents worked examples and API signatures.
Holds up over time4.6
Will it still be a good choice in two years?
Claude Opus 5.5: 4.0, likely 3.0 to 6.0
In the last year the project had 83 commits and 3 releases, with 0.14 and 0.15 adding real features. The last push was four months ago, 15 pull requests are open, and the work rests mostly on one maintainer. The project is still before 1.0, and the changelog lists breaking changes.
- github commitsLastYear / releasesLastYear: 83 commits and 3 releases in the last year
- github pushedAt: Last push on 2026-07-20, with v0.15.0 released in May 2026
- github openPullRequests: 15 open pull requests against 55 merged
GPT-6.2 Sol: 5.1, likely 3.8 to 6.5
Vectra had 83 commits and six npm versions in the past year, but the last publish was in May and the last recorded push was in July. October query fixes are still open, and npm lists one collaborator. The April release also raised the Node.js minimum from 20 to 22, and there is limited evidence of funding or backup release ownership.
- github commitsLastYear, contributors, pushedAt and releasesLastYear: 83 commits, 18 contributors, three releases, and a July 20 last push.
- npm versionsLastYear and latestPublishedAt: Six versions in a year, with the latest published May 24.
- github.com/Stevenic/vectra/pulls: October ranking, hybrid search, and metadata-filter fixes remain open.
- npmjs.com/package/vectra?activeTab=dependents: npm lists one collaborator.
- github.com/Stevenic/vectra/releases: The April release raised the minimum Node.js version and changed HTTP configuration.
Used widely2.8
How many use it, and is that growing?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
Downloads are 163k per 4 weeks, up 2.0x from a year ago. That ratio is half the 4.1 median, so Vectra is losing share. ecosyste.ms finds only 4 dependent repositories and no dependent packages, far below peers such as hnswlib-node (424) or Chroma (294). Part of the download count likely comes from Microsoft Teams templates and samples, not from direct choices.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 163,000 against 79,765, a ratio of 2.0 below the 4.1 median
- dependents: 4 repositories and 0 packages
- github stars: 636 stars, with no Hacker News or Bluesky attention
- microsoft.github.io/teams-copilot-starter/docs/concepts/vectra.html: Used by Microsoft's Teams Copilot Starter sample
GPT-6.2 Sol: 2.6, likely 1.5 to 3.9
Four-week installs roughly doubled to 163,000, but the 2.04× increase trails the 4.1× catalog baseline and leaves Vectra losing ground. It has the fewest downloads among the listed projects, and ecosyste.ms found only four dependent repositories. npm shows more package dependents than ecosyste.ms found, so direct adoption is hard to size from either source.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo and medianDownloadsRatio: 163,000 versus 79,765 installs, or 2.04× against the 4.1× baseline.
- dependents and peers: Four indexed repositories and zero indexed packages, with the lowest downloads in the peer set.
- npmjs.com/package/vectra?activeTab=dependents: npm reports 123 package dependents, reflecting different coverage.
Vouched for3.0
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
The main outside sign of trust is its use in Microsoft Teams samples and templates for local RAG. The author is connected to that work, so it is not fully independent. There are no survey mentions, no independent benchmarks and no notable production users on record. Write-ups mostly repeat the README.
- microsoft.github.io/teams-copilot-starter/docs/concepts/vectra.html: Microsoft sample documents its use of Vectra
- myscale.com/blog/fast-free-local-vector-database-javascript-typescript: Promotional third-party article with no data
- hackerNews / bluesky: No stories and no posts
GPT-6.2 Sol: 3.0, likely 1.9 to 4.4
A 2026 Joplin plugin proposal reported choosing Vectra after testing local alternatives, and a Teams SDK user reported using it for a small document collection. Both are useful evidence for small deployments. Verified production use, satisfaction data, and independent benchmarks for Vectra remain sparse compared with peers.
- discourse.joplinapp.org/t/gsoc-2026-proposal-draft-idea-4-chat-with-your-note-collection-using-ai-harsh16gupta/49142: Plugin author chose Vectra after testing embedding storage options.
- github.com/microsoft/teams-sdk/discussions/1616: A Teams SDK user reports using Vectra for retrieval over a few documents.
- arxiv.org/abs/2608.12812: An independent 2026 benchmark covers six listed peers and omits Vectra.
- stackoverflow.blog/2026/05/27/agents-on-a-leash-agentic-ai-remains-mostly-monitored-at-work: The survey reports results for several peers and omits Vectra.
Safe6.3
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
There are no known advisories, and the licence is MIT. It pulls in 13 direct dependencies, including embedding and HTTP clients, which is a fairly wide surface for a small library. There is no OpenSSF Scorecard, and releases appear to come from a single publisher.
- advisories total: 0 advisories
- npm dependencies: 13 direct dependencies
- scorecard: No Scorecard data
- npm license: MIT
GPT-6.2 Sol: 6.5, likely 5.0 to 7.8
Vectra uses the permissive MIT license, has a private reporting channel, and has no recorded direct advisories. Version 0.14 reports fixes for vulnerable transitive dependencies, and the package runs tests before publishing. Thirteen dependencies, one listed npm collaborator, and missing Scorecard data leave uncertainty about supply-chain controls and patch response.
- npm license and dependencies: MIT license and 13 direct dependencies reported in the bundle.
- advisories and scorecard: Zero recorded advisories and no available OpenSSF Scorecard.
- github.com/Stevenic/vectra/security: Documents private reporting, with a support table that still lists 0.14.x.
- github.com/Stevenic/vectra/releases: The April release removed Axios and reports fixing transitive vulnerabilities.
- github.com/Stevenic/vectra/blob/v0.15.0/package.json: The prepublish hook builds the package and runs tests.
- npmjs.com/package/vectra?activeTab=dependents: The registry lists one collaborator.
Good
- No server or service to run: an index is a folder of JSON or protobuf files that you can commit or ship.
- It covers the whole RAG flow: chunking, embeddings (OpenAI, Azure or local HuggingFace models), metadata filters, hybrid BM25 search and rendered result sections.
- It is MIT licensed, ships its own TypeScript types, has no known advisories, and includes an llms.txt file for coding agents.
- It has browser and Electron support through IndexedDB storage, plus a gRPC server for use from other languages.
Bad
- The full index sits in memory and every query is a brute-force scan, so it does not scale past small to medium corpora.
- There is no ANN index such as HNSW, and the project's own docs advise against using it for long-term chat memory.
- It is largely one maintainer's project, it has no 1.0 release, and minor versions bring breaking changes.
- Few repositories depend on it, and its download growth is well below the median, so it is losing ground.
The numbers
- npm downloads, 4 weeks
- 163k ×2.0 in a year
- GitHub stars
- 636
- Commits, 12 months
- 83
- npm version
- 0.15.0 May 2026
- Versions, 12 months
- 6
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (Stevenic/vectra), npm (vectra), OSV and the OpenSSF Scorecard.
Vector databases and clients
- 7.6LanceDB
- 7.5pgvector-node
- 7.4Qdrant client
- 7.1Pinecone client
- 6.9Milvus client
- 6.7Weaviate client
- 6.0Chroma client
- 5.2Vectra
- 4.8hnswlib-node