timescale/pgai
Some data may be outdated — see provenance labels.
A suite of tools to develop RAG, semantic search, and other AI applications more easily with PostgreSQL observed · 2026-10-01
Health v2 · maintenance only
10/100
- Activity 76
- Release rhythm 45
- Longevity 63
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 5
- age_days: 887
- days_rel: 371
- days_push: 146
- n_releases_24m: 40
Adoption not part of the score
5802 stars · 315 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pgai is a Python library and set of PostgreSQL tools from Timescale that turns PostgreSQL into a retrieval engine for RAG and agentic applications, with automatic embedding generation and synchronization from database rows and S3 documents. It also provides a semantic catalog for natural-language-to-SQL and works with pgvector/pgvectorscale on any PostgreSQL instance.
Use cases
- build a rag application on postgres
- automatically generate and sync vector embeddings for database rows
- semantic search over documents stored in s3 and postgres
- natural language to sql for ai agents
- embed postgres data with openai or other embedding models
- add vector search to an existing postgres database
When to choose
- you already run postgres and want rag/semantic search without a separate vector database
- you need embeddings that stay in sync as underlying data changes
- you want text-to-sql grounded in database metadata for agentic apps
When to avoid
- you need actively maintained software - the project was discontinued in February 2026
- you want a managed vector database outside postgres
- you need non-postgres data stores
Facets
library · maturity abandoned
rag vector-database database search-engine llm-inference etl databases artificial-intelligence large-language-models python self-hosted cloud pgvector embeddings semantic-search text-to-sql postgres-extension vectorizer-worker discontinued retrieval-augmented-generation search data-engineering postgresql docker
1 source
- readme: https://github.com/timescale/pgai · fetched 2026-10-01 · 1b9df8aabdfe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| timescale/pgai | main | 10 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem