AI and models · Independent · 19 Oct 2026

facebookresearch/faiss

A library for efficient similarity search and clustering of dense vectors.

← AI and models
Faiss: similarity search library. Searches and clusters dense vectors at scale.

In simple English

This library helps you search through massive lists of numbers very quickly. You give it mathematical representations of text or images, and it finds the ones that match your query. It handles billions of items on a single server without running out of memory. You can run it on standard processors or speed it up using a graphics card. It is free to use under an MIT licence.

What it is

Faiss is a C++ library with Python bindings designed for similarity search and clustering of dense vectors. It provides various indexing structures and compression methods to trade off search speed, precision, and memory usage.

What it is good for

Solo builders who need to build semantic search engines, recommendation systems, or Retrieval-Augmented Generation (RAG) pipelines over large datasets.

Stars41k
LicenceMIT
Latestv1.15.1 (2026-09-16)checked 19 Oct 2026
Last code change2026-10-19
Written inC++
Setup effort
2 / 5
Payoff
5 / 5
Good
  • Searches through billions of vectors efficiently on a single server.
  • Includes GPU acceleration for much faster search and indexing.
  • Provides simple Python wrappers for easy integration into existing scripts.
Watch for
  • Requires writing code in Python or C++ to integrate into your project.
  • Advanced GPU indexing needs compatible graphics hardware and drivers.
  • Tuning index parameters requires a solid understanding of vector mathematics.
Replaces

Slow brute-force list scanning and custom nearest-neighbor loops

Works well with

LangChain or LlamaIndex for building search and question-answering systems

Similar repositories
  • qdrant/qdrant35k stars

    A vector database written in Rust that provides similarity search with a built-in server.

  • milvus-io/milvus46k stars

    A distributed vector database built to scale similarity search to massive datasets.

Also reviewed on Repo Radar
  • ggml-org/llama.cpp132k stars

    A C and C++ library and command-line tool for running language models locally.

  • EleutherAI/lm-evaluation-harness14k stars

    Runs standard question sets against a language model and reports the scores.

  • mudler/LocalAI50k stars

    Serves text, vision, speech, image and video models from one self-hosted service that imitates the paid interfaces.

Install
pip install faiss-cpu

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Infrastructure & Security › Databases & Storage › Vector Databases.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.