Library for fast k-NN vector search across Flat, IVF, HNSW, and PQ indexes with optional GPU acceleration.
- CCM score
- 55 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 14.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers exact and approximate similarity search over dense vectors, scaling from thousands to billions of entries
- Includes index types
IndexFlatL2,IndexIVFFlat,IndexHNSWFlat, andIndexPQ, plus save and load viawrite_indexandread_index - Provides single-GPU and multi-GPU acceleration through
index_cpu_to_gpuandindex_cpu_to_all_gpus, and tuning knobs such asnprobe - Designed for high-throughput, pure vector retrieval without metadata filtering, with LangChain and LlamaIndex integrations
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill faiss -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
FAISS - Efficient Similarity Search
Facebook AI's library for billion-scale vector similarity search.
When to use FAISS
Use FAISS when:
- Need fast similarity search on large vector datasets (millions/billions)
- GPU acceleration required
- Pure vector similarity (no metadata filtering needed)
- High throughput, low latency critical
- Offline/batch processing of embeddings
Metrics:
- 31,700+ GitHub stars
- Meta/Facebook AI Research
- Handles billions of vectors
- C++ with Python bindings
Use alternatives instead:
- Chroma/Pinecone: Need metadata filtering
- Weaviate: Need full database features
- Annoy: Simpler, fewer features
Quick start
Installation
# CPU only
pip install faiss-cpu
# GPU support
pip install faiss-gpu
Basic usage
import faiss
import numpy as np
# Create sample data (1000 vectors, 128 dimensions)
d = 128
nb = 1000
vectors = np.random.random((nb, d)).astype('float32')
# Create index
index = faiss.IndexFlatL2(d) # L2 distance
index.add(vectors) # Add vectors
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Categories
- AI Agents & LLM Apps, Data Science & Analytics, Databases
- First seen
- Jun 3, 2026
Questions
What does the faiss skill help an agent do?
The faiss skill covers Facebook's library for efficient similarity search and clustering of dense vectors. It supports billions of vectors, GPU acceleration, and index types such as Flat, IVF, and HNSW for fast k-NN search.
How do I install the faiss skill?
Run npx -y skills add orchestra-research/ai-research-skills --skill faiss -y in a project. Once installed, the agent can build and query FAISS indexes for large-scale vector retrieval.
Where does faiss stand in the AI Agents & LLM Apps category?
The faiss skill is listed in the AI Agents & LLM Apps category on Claude Marketplaces, alongside microsoft-foundry, azure-ai, and several Google agents CLI skills. It stands out for pure similarity search without metadata filtering, which suits high-performance applications.
Does faiss need any extra packages?
The skill depends on faiss-cpu or faiss-gpu, plus numpy. GPU acceleration requires the faiss-gpu package.
More from orchestra-research/ai-research-skills
All 92- Tensorrt Llm1.2K
- Autoresearch1.2K
- Peft Fine Tuning1.2K
- Audiocraft Audio Generation1.2K
- Segment Anything Model1.2K
- Gguf Quantization1.2K
- Weights And Biases1.2K
- Ray Train1.2K
- Unsloth1.1K
- Huggingface Accelerate1.1K
- Evaluating Llms Harness1.1K
- Crewai Multi Agent1.1K
- Knowledge Distillation1.1K
- Tensorboard1.1K
- Ray Data1.1K
- Fine Tuning With Trl1.1K
- Prompt Guard1.1K
- Llama Cpp1.1K
- Optimizing Attention Flash1.1K
- Quantizing Models Bitsandbytes1.1K
- Deepspeed1.1K
- Dspy1.1K
- Grpo Rl Training1.1K
- Qdrant Vector Search1.1K
Similar to Faiss
More AI Agents & LLM Appspineconeorchestra-research/ai-research-skills1.1K installsManaged serverless vector database for production RAG, semantic search, and recommendations at scale.
qdrant-vector-searchorchestra-research/ai-research-skills1.1K installsHigh-performance Rust vector database for production RAG, with filtered nearest neighbor search and horizontal scaling.
vector-index-tuningwshobson/agents11.3K installsGuidance for tuning vector indexes on latency, recall, and memory, covering HNSW and quantization choices.
similarity-search-patternswshobson/agents11.3K installsReference guide for building semantic search with vector databases, covering distance metrics, index tradeoffs, and tuning.
vector-searchruvnet/ruflo752 installsTwo vector-search paths: large-corpus HNSW search and a WASM router for up to 11 hot patterns.
embeddingsruvnet/ruflo1.2K installsVector embeddings with HNSW search, SQLite persistence, and quantization for semantic retrieval.