Postvec
Open-source PostgreSQL extension that runs hybrid keyword and semantic search in one SQL call and keeps embeddings in sync with your text.
- AI tool
- Free
Overview
Postvec is an open-source PostgreSQL extension from UniVec that turns a text column into searchable embeddings and keeps them current as rows change. One SQL call combines BM25 keyword search with semantic search, and models run locally inside PostgreSQL by default, on separate postvec-server nodes or through hosted embedding APIs such as OpenAI, Cohere, Bedrock and Gemini. When you switch embedding models, it can convert stored vectors to the new model instead of re-embedding the source text. It works with PostgreSQL 16 to 18 and managed hosts such as RDS, Cloud SQL, Supabase and Neon. The extension uses the PostgreSQL License, while postvec-server is source-available under the Business Source License. You get semantic search over your PostgreSQL tables with embeddings that stay up to date on their own.
Key features
- Hybrid BM25 and semantic search in one SQL call
- Embeddings kept in sync as rows change
- Local inference inside PostgreSQL
- Switch embedding models without re-embedding
- PostgreSQL 16 to 18 and managed hosts
- Optional hosted embedding providers
Use cases
Show all 8Show fewer
Alternatives
Last updated 2026-11-25