SkillsReviewed · Orchestra-Research

Orchestra Research FAISS Skill

This FAISS skill gives AI assistants instructions for helping developers build vector search, but its examples and performance claims are unverified. It covers exact and approximate search, compressed indexes, GPU use and retrieval integrations with LangChain and LlamaIndex.

Researched 16 Nov 2026

In short.

Orchestra Research's FAISS skill is an assistant instruction package for developers building vector retrieval, but runtime compatibility and performance remain unverified. Its two documentation files explain Flat, IVF, HNSW and product-quantization indexes, with Python examples for search, persistence and GPU use. It offers a practical starting reference rather than a complete deployment recipe: dependencies are unpinned, benchmark claims lack reproducible supporting material, and the LangChain loading example explicitly enables dangerous deserialization. Nothing was executed, so installation success and retrieval behavior are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied 15-rag/faiss folder: SKILL.md and references/index_types.md, plus the repository-level LICENSE outside that folder, all at revision 773a52944ba4747a18bd4ae9ade53fff041adcbc. It excludes the FAISS implementation, installed dependencies, linked wiki and paper, and external service terms. No code was executed. Installation success, assistant loading, runtime compatibility, retrieval quality, persistence behavior, GPU performance and operating costs remain unassessed.

The overview

Identity

The resource is the 15-rag/faiss skill folder in Orchestra-Research/AI-Research-SKILLs. It contains SKILL.md and references/index_types.md. The main file declares the name faiss, author Orchestra Research and skill version 1.0.0.

This is documentation an assistant can use to help write FAISS code. The FAISS library itself is a separate dependency; its implementation and release version are not supplied by this folder.

Assessment

The skill is useful as a compact reference for choosing an index family and drafting vector-search code. Concrete API examples cover the steps from adding vectors to saving an index, while the companion reference explains tuning parameters.

Its strongest support is instructional detail. The files do not supply recorded execution results, pinned environments or reproducible benchmarks, so they do not establish that the examples will work unchanged in a particular application.

Users

The intended users are developers, and assistants supporting them, who need nearest-neighbor search over embeddings: numeric representations of text or other items. Relevant applications include document retrieval for AI assistants, recommendation systems and offline embedding searches.

Beginners get a small NumPy example and explanations of index families. Experienced developers get parameters such as nlist, nprobe, M, efConstruction and efSearch. Users needing metadata filtering or a complete database receive pointers to alternatives rather than an implementation of those features.

Capabilities

Examples cover exact L2 and inner-product search, IVF cluster-based search, HNSW graph indexes, product quantization and combined IVF+PQ indexes. The reference also demonstrates index_factory descriptors.

Additional examples show index save/load, single- and multi-GPU conversion, LangChain document search and construction of a LlamaIndex FaissVectorStore. These are documentation examples; the folder does not provide a complete retrieval application or embedding model.

Using it

Requirements

The Python examples require FAISS and NumPy. They use float32 arrays whose vector dimensions match the index dimension. GPU examples additionally require a GPU-capable FAISS installation and suitable hardware, but supported platforms, build versions and hardware requirements are unspecified.

The LangChain example imports langchain_community and langchain_openai and uses OpenAIEmbeddings; authentication and embedding-model selection are not explained. The LlamaIndex example imports its FAISS vector-store integration and fixes the dimension at 1536 without identifying a matching embedding model.

Mechanism

The examples add numeric vectors to an index and search for neighbors of a query vector. Flat provides exact distance search. IVF organizes vectors into clusters and exposes nprobe to control how many clusters a query searches. HNSW uses a graph, while product quantization compresses vector representations.

The IVF and PQ examples train before adding vectors; the HNSW example does not require training. For cosine-style similarity, the reference normalizes both stored vectors and queries before using IndexFlatIP. These choices affect vector matching; the files provide no measurements of document relevance or generated-answer quality.

Setup

Read SKILL.md together with references/index_types.md. The documented CPU installation command is pip install faiss-cpu; the separate GPU command is pip install faiss-gpu. Neither command pins a version, and package availability or installation success on a particular platform is unknown.

The basic sequence is to create matching vectors and queries, construct an index, train it when required, add vectors and call search. No assistant-specific skill registration procedure, dependency lockfile or deployment configuration is included.

Example

The introductory example creates 1,000 random float32 vectors with 128 components, adds them to IndexFlatL2 and requests five neighbors for one random query. It demonstrates the input and output structure, but random vectors do not demonstrate useful document retrieval.

The LangChain example assumes a docs collection already exists, creates a FAISS vector store with OpenAIEmbeddings, saves it locally and searches for five results. No sample documents, named embedding model or returned results accompany that example.

Assessment & evidence

Limitations

The latency, recall, compression and GPU-speedup claims lack reproducible supporting material. The comparison specifies one million 128-dimensional vectors, k=10 and a 16-core CPU, but omits the dataset, query set, processor model and complete settings. Its accuracy percentages and dataset-size cutoffs should not be treated as guarantees.

The LangChain loading example sets allow_dangerous_deserialization=True. That explicitly opts into dangerous deserialization; it should not be copied unchanged when loading files from untrusted sources. The skill supplies no safer loading procedure.

The PQ reference states storage as m bytes while also listing 16-bit codes. The m-byte shorthand corresponds to the demonstrated 8-bit setting; it should not be generalized to every listed configuration.

Reasoning

The reference suggests starting with Flat as a baseline, considering IVF or HNSW for approximate search, and adding PQ when memory is constrained. This provides a useful order for exploring the tradeoffs.

A suitable choice still depends on the application's vectors, required retrieval quality, latency and memory budget. Exact vector matching does not establish semantic relevance. The source's broad recommendations need workload-specific measurements before they can support capacity or quality commitments.

Alternatives

The skill points to Chroma or Pinecone when metadata filtering is needed, Weaviate for fuller database features and Annoy for simpler search. These are the author's suggested directions; the files do not supply comparable implementations, common-workload measurements or prices.

The linked upstream FAISS wiki offers a route to more detailed library documentation at [https://github.com/facebookresearch/faiss/wiki]. Its contents are outside the supplied evidence.

Evidence

The main instructions are preserved at source revision 773a52944ba4747a18bd4ae9ade53fff041adcbc: [https://raw.githubusercontent.com/Orchestra-Research/AI-Research-SKILLs/773a52944ba4747a18bd4ae9ade53fff041adcbc/15-rag/faiss/SKILL.md].

The companion index reference is preserved at the same revision: [https://raw.githubusercontent.com/Orchestra-Research/AI-Research-SKILLs/773a52944ba4747a18bd4ae9ade53fff041adcbc/15-rag/faiss/references/index_types.md].

The associated repository licence is preserved at [https://raw.githubusercontent.com/Orchestra-Research/AI-Research-SKILLs/773a52944ba4747a18bd4ae9ade53fff041adcbc/LICENSE]. These files contain documentation and examples, without accompanying test logs or benchmark artifacts.

Access & freshness

Costs

Total operating cost is unknown. The files contain no prices or workload-based estimates for CPU time, GPU use, memory, storage or embedding services.

The MIT notice grants permissions free of charge for the supplied materials. That does not establish the cost of running an application. The OpenAIEmbeddings example names no model or usage price, so any associated service expense remains unknown.

Rights

The supplied repository-level MIT licence permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation. Copies or substantial portions must retain the copyright and permission notices. The materials are provided without warranty.

The notice names Claude AI Research Skills Contributors as the 2025 copyright holder, while SKILL.md names Orchestra Research as author. Separate licence texts for installed FAISS packages, integration dependencies and embedding-provider terms are not included.

Freshness

The supplied snapshot was captured on 2026-11-16 at revision 773a52944ba4747a18bd4ae9ade53fff041adcbc. SKILL.md declares version 1.0.0; this identifies the skill metadata, not the FAISS library release.

The examples do not pin FAISS, LangChain, LlamaIndex or embedding-model versions. Compatibility with current releases, current package availability and changes after the captured revision are unknown.

Actions

Before adopting the examples, establish a compatible package environment and match the index dimension and distance metric to the intended embeddings. Use the Flat example as a baseline, then compare approximate indexes using representative application queries and measured retrieval quality, latency and memory.

Review the dangerous-deserialization flag before using saved LangChain stores. Confirm GPU installation requirements and any embedding-service costs separately. Retain the MIT notice when redistributing the skill materials.

Evidence for this report

15-rag/faiss/SKILL.mdselected · checked 2026-11-16
15-rag/faiss/references/index_types.mdselected · checked 2026-11-16
LICENSEnotice · checked 2026-11-16