Home Projects pgvector
pgvector
C

pgvector

Open-source vector similarity search for Postgres

by pgvector · GitHub
Stars
Forks
Created
Last commit
Language
approximate-nearest-neighbor-searchnearest-neighbor-searchC
View on GitHub
In plain words

pgvector is a PostgreSQL extension that adds vector similarity search to your existing database, so you can do RAG without a separate vector store.

From the README

Install
docker pull pgvector/pgvector:pg18-trixie

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
pgvector — GitHub preview card
📈 Star history
23k22k
2026-08-022026-08-31
📈 Track pgvector

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Open-source vector similarity search for Postgres

pgvector has 22.8k stars on GitHub. It has been forked 1.3k times. pgvector is written mainly in C. It has been in active development since 2021. Its main topics are approximate-nearest-neighbor-search, nearest-neighbor-search.

Read the full guide
Frequently asked questions

What is pgvector?

Open-source vector similarity search for Postgres

Is pgvector open source?

pgvector is an open-source project.

Is pgvector free?

Yes. pgvector is free and open source — you can use, modify and self-host it.

What language is pgvector written in?

pgvector is written mainly in C.

🏅 Maintainer of this project?
olud.ai badge — pgvector

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=pgvector-pgvector)](https://olud.ai/project/pgvector-pgvector.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →
lancedb
Developer-friendly OSS embedded retrieval library for multimodal AI. Search More; Manage Less.
10.9k · approximate-nearest-neighbor-search
sharesnearest-neighbor-searchapproximate-nearest-neighbor-search
awesome-vector-database
A curated list of awesome works related to high dimensional structure/vector search & database
355 · approximate-nearest-neighbor-search
sharesnearest-neighbor-searchapproximate-nearest-neighbor-search
hora
🚀 efficient approximate nearest neighbor search algorithm collections library written in Rust…
2.7k · algorithm
sharesapproximate-nearest-neighbor-search
knowhere
Vector search engine inside Milvus, integrating FAISS, HNSW, DiskANN.
371 · faiss
sharesnearest-neighbor-search
aquila
An easy to use Neural Search Engine. Index latent vectors along with JSON metadata and do effic…
379 · approximate-nearest-neighbor-search
sharesapproximate-nearest-neighbor-search
weaviate
Weaviate is an open-source vector database that stores both objects and vectors, allowing for t…
16.6k · approximate-nearest-neighbor-search
sharesapproximate-nearest-neighbor-search
pecos
PECOS - Prediction for Enormous and Correlated Spaces
543 · approximate-nearest-neighbor-search
sharesapproximate-nearest-neighbor-search
postgresml
Postgres with GPUs for ML/AI apps.
6.8k · ai
infinity
The AI-native database built for LLM applications, providing incredibly fast hybrid search of d…
4.7k · ai-native
USearch
Fast Open-Source Search & Clustering engine × for Vectors & Arbitrary Objects × in C++, C, Pyth…
4.3k · approximate-nearest-neighbor-search

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.