Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Faiss

Meta's library for vector similarity search and clustering.

By MetaChecked
Visit faiss.ai(opens in a new tab)
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What it is

Faiss is a C++ library with complete Python wrappers for searching and clustering dense vectors, developed mainly by Meta's FAIR research team. It offers index types such as inverted files, product quantization and HNSW, and runs some of its algorithms on the GPU. It is a library you call from your own code, not a database server, so storing documents, updating the index and serving queries are up to you.

Best for

Developers who want vector search inside their own process, without a database server.

Skills it helps with

  • Chroma

    Open-source embedding database that is quick to start locally, plus a hosted cloud.

    Open sourceChroma

  • pgvector

    Postgres extension for vector similarity search with HNSW and IVFFlat indexes.

    Open source

  • Sentence Transformers

    Python library for embedding and reranker models.

    Open sourceHugging Face

  • LanceDB

    Embedded, open-source vector and multimodal database on the Lance columnar format.

    Open sourceLanceDB

  • Milvus

    Open-source vector database built for large collections, from the team at Zilliz.

    Open sourceZilliz

  • Pinecone

    Fully managed vector database with serverless indexes and built-in embedding models.

    FreemiumPinecone

All Retrieval and vector search