# pgvector

Framework · https://godooo.ai/en/framework/pgvector

> pgvector is an open-source AI framework, launched in 2021, made for developers and businesses.

A Postgres extension that stores vectors and finds nearest neighbours.

Main jobs: Vector search. It is open source and free to use. You can use it on your own server, offline on your own machine and through an API.

## At a glance

- **Type:** [Framework](https://godooo.ai/en/browse#framework)
- **Launched:** 2021
- **Galaxy:** [Models & APIs](https://godooo.ai/en/galaxy/builders)
- **Open source:** Yes
- **Source code:** [github.com/pgvector/pgvector](https://github.com/pgvector/pgvector)
- **GitHub stars:** 23,142
- **How you run it:** Self-host · Runs offline · API
- **Made for:** Developers · Businesses
- **Website:** [github.com](https://github.com/pgvector/pgvector)

## What it can do

- **[Vector search](https://godooo.ai/en/capability/vector-search)** — main job, _proposed by a machine, awaiting calibration_. “pgvector Open-source vector similarity search for Postgres Store your vectors with the rest of your data.” (read on [github.com](https://github.com/pgvector/pgvector), 2026-09-24)

## Alternatives

- **[Chroma](https://godooo.ai/en/framework/chroma)** (Open source, free): Also does: Vector search
- **[Faiss](https://godooo.ai/en/framework/faiss)** (Open source, free): Also does: Vector search
- **[LanceDB](https://godooo.ai/en/framework/lancedb)** (Open source, free): Also does: Vector search
- **[Milvus](https://godooo.ai/en/framework/milvus)** (Open source, free): Also does: Vector search
- **[Qdrant](https://godooo.ai/en/framework/qdrant)** (Open source, free): Also does: Vector search
- **[Weaviate](https://godooo.ai/en/framework/weaviate)** (Open source, free): Also does: Vector search
- **[Chroma MCP Server](https://godooo.ai/en/mcp/chroma)** (Open source, free): Also does: Vector search
- **[Qdrant MCP Server](https://godooo.ai/en/mcp/qdrant)** (Open source, free): Also does: Vector search
- **[LlamaIndex](https://godooo.ai/en/framework/llamaindex)** (Open source, free): Also does: Vector search
- **[RAGFlow](https://godooo.ai/en/product/ragflow)** (Open source, free): Also does: Vector search
- **[BGE](https://godooo.ai/en/model/bge)** (Open source, free): Also does: Vector search
- **[Graphiti](https://godooo.ai/en/framework/graphiti)** (Open source, free): Also does: Vector search

## Connections

- **Applies:** [Vector Database](https://godooo.ai/en/concept/vector-database)

## Questions

### What is pgvector?

pgvector is an open-source AI framework, launched in 2021, made for developers and businesses. A Postgres extension that stores vectors and finds nearest neighbours.

### Is pgvector free?

Yes. pgvector is open source and free to use.

### Is pgvector open source?

Yes. The source code is at https://github.com/pgvector/pgvector.

### Can pgvector run locally?

Yes. pgvector can run offline on your own machine. It can also be self-hosted on your own server.

### What can pgvector do?

Main jobs: Vector search.

### What are open-source alternatives to pgvector?

Open-source ones: Chroma, Faiss, LanceDB, Milvus, Qdrant, Weaviate, Chroma MCP Server and Qdrant MCP Server.

## Sources

- [github.com](https://github.com/pgvector/pgvector) — checked 2026-09-24

---

Last updated 2026-09-24 · sources checked 2026-09-24 · Markdown version of https://godooo.ai/en/framework/pgvector. Every page on this site has one: add .md to its address.
