# pgvector

框架 · https://godooo.ai/zh/framework/pgvector

> pgvector 是开源 AI 开发框架，2021 年推出，面向开发者、企业。

为 Postgres 增加向量存储和近邻检索的扩展。

主打：向量检索。开源，可以免费使用。使用方式：自部署、本地离线运行、API。

## 速览

- **类别:** [框架](https://godooo.ai/zh/browse#framework)
- **推出于:** 2021
- **所属星系:** [模型与 API](https://godooo.ai/zh/galaxy/builders)
- **是否开源:** 是
- **源代码:** [github.com/pgvector/pgvector](https://github.com/pgvector/pgvector)
- **GitHub 星标:** 23,142
- **使用方式:** 可自部署 · 可离线本地运行 · API
- **适合谁:** 开发者 · 企业
- **官网:** [github.com](https://github.com/pgvector/pgvector)

## 能做什么

- **[向量检索](https://godooo.ai/zh/capability/vector-search)** — 主打, _由机器提出，尚待校准_. “pgvector Open-source vector similarity search for Postgres Store your vectors with the rest of your data.” (摘自 [github.com](https://github.com/pgvector/pgvector)，2026-09-24)

## 平替与同类

- **[Chroma](https://godooo.ai/zh/framework/chroma)** (开源免费): 同样能做：向量检索
- **[Faiss](https://godooo.ai/zh/framework/faiss)** (开源免费): 同样能做：向量检索
- **[LanceDB](https://godooo.ai/zh/framework/lancedb)** (开源免费): 同样能做：向量检索
- **[Milvus](https://godooo.ai/zh/framework/milvus)** (开源免费): 同样能做：向量检索
- **[Qdrant](https://godooo.ai/zh/framework/qdrant)** (开源免费): 同样能做：向量检索
- **[Weaviate](https://godooo.ai/zh/framework/weaviate)** (开源免费): 同样能做：向量检索
- **[Chroma MCP Server](https://godooo.ai/zh/mcp/chroma)** (开源免费): 同样能做：向量检索
- **[Qdrant MCP Server](https://godooo.ai/zh/mcp/qdrant)** (开源免费): 同样能做：向量检索
- **[LlamaIndex](https://godooo.ai/zh/framework/llamaindex)** (开源免费): 同样能做：向量检索
- **[RAGFlow](https://godooo.ai/zh/product/ragflow)** (开源免费): 同样能做：向量检索
- **[BGE](https://godooo.ai/zh/model/bge)** (开源免费): 同样能做：向量检索
- **[Graphiti](https://godooo.ai/zh/framework/graphiti)** (开源免费): 同样能做：向量检索

## 关系

- **应用了:** [Vector Database](https://godooo.ai/zh/concept/vector-database)

## 常见问题

### pgvector 是什么？

pgvector 是开源 AI 开发框架，2021 年推出，面向开发者、企业。为 Postgres 增加向量存储和近邻检索的扩展。

### pgvector 免费吗？

免费。pgvector 是开源软件。

### pgvector 开源吗？

开源。源代码在 https://github.com/pgvector/pgvector。

### pgvector 能本地运行吗？

能，可以在自己的电脑上离线运行。也可以部署在自己的服务器上。

### pgvector 能做什么？

主打：向量检索。

### pgvector 有哪些开源替代品？

开源的有：Chroma、Faiss、LanceDB、Milvus、Qdrant、Weaviate、Chroma MCP Server、Qdrant MCP Server。

## 来源

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

---

最后更新 2026-09-24 · 来源核实于 2026-09-24 · 这是 https://godooo.ai/zh/framework/pgvector 的 Markdown 版本。本站每个页面都有：在地址后面加 .md。
