// rag · RyanCodrai/turbovec

turbovec

A blazing-fast vector index in Rust, built on TurboQuant - with Python bindings

★ 17.4k stars⑂ 1.5k forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

turbovec is an open-source rag & knowledge project by RyanCodrai (RyanCodrai/turbovec on GitHub). It has 17,358 GitHub stars and 1,485 forks, is released under the MIT license, and was last updated on GitHub on 7 October 2026.

GitHub stars
17,358
Forks
1,485
License
MIT
Last updated on GitHub
7 October 2026
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Decide if embedded fits

    turbovec is an in-process index - ideal when your vectors can live with your application.

  2. Get turbovec

    Install the Python package from PyPI, or clone the repo to use the Rust API or build from source.

  3. Create your first index

    Build an index, add your embeddings with IDs, and persist it to a file.

  4. Run your first search

    Query nearest neighbors, including filtered search over approved IDs.

// features

Why people love it

TurboQuant-based compression

Quantizes vectors to a low bit rate so large indexes fit in far less memory.

Rust speed with SIMD

Search kernels use AVX512 on x86 and NEON on ARM for high throughput.

Python and Rust APIs

The Rust API mirrors the Python one, with documented file formats and staged search.

Filtered search

Restrict results to IDs another system approved - a SQL predicate, an ACL or a time window.

Framework integrations

Drop-in stores for LangChain, LlamaIndex, Haystack and Agno via extras such as turbovec[langchain].

Honest benchmarking

The repo publishes benchmark scripts and raw results against FAISS at matched bit rates, plus a 'when to use something else' section.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/RyanCodrai/turbovec.git
    cd turbovec
  2. Install turbovec

    Install from PyPI; add a framework extra if you want the drop-in integration.

    pip install turbovec
    # or: pip install turbovec[langchain]
  3. Build and search an index

    The README's Python section shows creating an index, adding vectors and querying it.

    # Follow the Python quick example in the README to add embeddings and search
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains this project?

It is maintained by Ryan Codrai on GitHub.

Is it free to use?

Yes - turbovec is MIT licensed and free to use.

Does it need a paid API key?

No. It is an embedded library: no server, account or API key involved.

How does it compare to alternatives?

Compared with FAISS, turbovec focuses on TurboQuant compression at low bit rates with a simpler embedded API and framework drop-ins; compared with server databases like Qdrant, it trades distribution and filtering features for zero operations.

How do I get started?

Run pip install turbovec and follow the README's Python example to index and search your first vectors.

// keep exploring

Similar tools

RAG & Knowledge

helix-db

An OLTP graph database with native vector and full-text search, built in Rust on object storage.

★ 6.1k starsApache-2.0
View guide →
RAG & Knowledge

zvec

Lightweight, lightning-fast in-process vector database from Alibaba that embeds in your app.

★ 16.1k starsApache-2.0
View guide →
RAG & Knowledge

fastembed

Fast, lightweight Python embeddings from Qdrant — dense, sparse, ColBERT, image and rerankers.

★ 3.2k starsApache-2.0
View guide →
RAG & Knowledge

codealive-mcp

Codealive-mcp, in Python — built for context engine for large codebases, exposed throug...

★ 90 starsMIT
View guide →
RAG & Knowledge

LEANN

The smallest vector index in the world: private RAG over everything on your laptop with 97% less storage.

★ 13.0k starsMIT
View guide →
RAG & Knowledge

autoflow

Graph RAG conversational knowledge base built on TiDB Serverless vector storage

★ 3.0k starsApache-2.0
View guide →
// alternatives

Alternatives in RAG & Knowledge

The most-starred other RAG & Knowledge projects in the LibreAI catalogue — the realistic shortlist if turbovec is not the right fit.

Get turbovec

Free and open — grab the source, star the repo, and start creating.