explaingit

bigmacfive/turbo-graph

Analysis updated 2026-05-18

23RustAudience · developerComplexity · 4/5Setup · moderate

TLDR

A Rust based vector search library with added graph memory and cached filtered views, built for AI apps whose searches need tenant, tag, or time constraints.

Mindmap

mindmap
  root((turbo-graph))
    What it does
      Vector search
      Graph memory
      Constrained filtering
    Tech stack
      Rust
      Python bindings
      TurboQuant core
    Use cases
      Multi tenant RAG
      Hybrid search
      Cached filtered queries
    Audience
      Developers
      AI engineers
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a retrieval augmented generation system where searches must be scoped to a specific tenant or customer.

USE CASE 2

Combine graph neighborhood expansion with vector search for more relevant retrieval results.

USE CASE 3

Cache and reuse filtered views of a dataset across repeated hot queries instead of rebuilding them each time.

USE CASE 4

Blend keyword search scores with vector similarity scores for hybrid ranking.

What is it built with?

RustPythonTurboQuantFAISS

How does it compare?

bigmacfive/turbo-graphadindazu/tangoaudioip2a/memorph
Stars232323
LanguageRustRustRust
Setup difficultymoderatemoderateeasy
Complexity4/53/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires understanding of the upstream turbovec API and building the Rust core with Python bindings.

A license file exists in the repository, check LICENSE for exact terms before use.

In plain English

Turbo-graph is a search library built for AI applications that need to find relevant information quickly, a technique often called retrieval augmented generation, or RAG. It is a fork of an existing project called turbovec, which already does fast vector search, the kind of search that finds similar pieces of text based on meaning rather than exact words. Turbo-graph keeps that core search engine and adds a layer on top for handling more complicated, constrained queries. Many real world search needs are not just find the top matches. They often need to combine several conditions at once, such as only searching within a certain customer's data, filtering by tags or source, limiting to a time window, following connections in a graph of related items, and blending in traditional keyword search alongside vector search. Rebuilding that combined view from scratch on every request in ordinary Python code is slow. Turbo-graph solves this by keeping graph memory, indexed views by tag, source, and time, and cached compiled filters, so repeated constrained searches do not have to redo the same work. The project explains that plain turbovec is enough when filters are light and cheap to build. Turbo-graph is meant for cases where constraints are central to the product, such as multi tenant systems where the same filtered view of the data gets queried again and again. It also adds reranking that considers graph relationships, hybrid scoring that blends keyword and vector results, and detailed reports that explain why results were chosen and how much was served from cache. The core is written in Rust for speed, with Python bindings so it can be used from typical AI application code, and the Python side releases its lock during long operations so multiple requests can run at once. The README includes benchmark comparisons against FAISS, a well known vector search library, showing competitive recall and speed, particularly on ARM processors.

Copy-paste prompts

Prompt 1
Explain the difference between turbovec and turbo-graph and help me decide which one fits my RAG system.
Prompt 2
Show me how to set up a GraphMemoryIndex in Python using turbo-graph.
Prompt 3
Walk me through how turbo-graph caches SlotMask compilation for repeated filtered queries.
Prompt 4
Help me benchmark turbo-graph against FAISS using the scripts in this repository.

Frequently asked questions

What is turbo-graph?

A Rust based vector search library with added graph memory and cached filtered views, built for AI apps whose searches need tenant, tag, or time constraints.

What language is turbo-graph written in?

Mainly Rust. The stack also includes Rust, Python, TurboQuant.

What license does turbo-graph use?

A license file exists in the repository, check LICENSE for exact terms before use.

How hard is turbo-graph to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is turbo-graph for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.