pgvector

Vector search inside PostgreSQL
Vector databasePostgres extensionPostgreSQLSelf-hostedCBeginner
A high count usually means the project is heavily examined. A low count usually means it is little examined — not that it is safe.
No public activity signals for this tool — it has no open repository we can measure.
OSAI Pulse ⓘ ★★★★★★★★★★ /100 signals tracked
🐳 Docker pulls 📦 PyPI downloads / month 📦 npm downloads / month 🚀 Latest release ·
Visit website →View on GitHub

What is pgvector?

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

Why people choose pgvector

pgvector at a glance

CategoryVector database
TypePostgres extension
LicensePostgreSQL
Runs locallySelf-hosted
Built withC
Skill levelBeginner
Best forteams already running PostgreSQL

Open-source alternatives to pgvector

Other open-source vector database tools worth comparing:

QdrantFast Rust-based vector searchWeaviateVector DB with built-in modulesMilvusBillion-scale vector databaseChromaThe simplest embedding DB for prototypingLanceDBServerless vector DB for AIFAISSThe reference library for similarity searchVespaBig-scale hybrid search and ranking platformpgvectorscaleMake pgvector fast at scaleMarqoVector search with embedding built inUSearchTiny, extremely fast vector index

pgvector head-to-head

pgvector vs Qdrantpgvector vs Weaviatepgvector vs Milvuspgvector vs Chromapgvector vs LanceDBpgvector vs FAISSpgvector vs Vespapgvector vs pgvectorscalepgvector vs Marqopgvector vs USearch

FAQ

Is pgvector free?

pgvector is free and open-source (PostgreSQL license), so you can use, self-host and modify it at no cost.

Can I run pgvector locally?

Yes. pgvector is designed to run on your own machine or server, keeping your data private.

What is the best alternative to pgvector?

Popular open-source alternatives include Qdrant, Weaviate, Milvus. See the comparisons above to choose.

Explore more open-source AI

Browse the full directory of open-source AI tools, models and projects — updated daily.

Browse all tools →