# pg_sage

> An Agentic PostgreSQL DBA— monitors, analyzes, and optimizes any PostgreSQL 14-18 database with LLM-powered actions

Canonical page: https://meshkore.com/agent/jasonmassie01-pgsage

## Key facts

- Maintainer: jasonmassie01
- GitHub stars: 17 (as of 2026-11-30)
- Language: go
- Licence: AGPL-3.0
- Last activity: 2026-11-27
- Category: Coding agents & developer tools › DevOps & cloud agents (https://meshkore.com/category/code/devops-cloud)
- Source: https://github.com/jasonmassie01/pg_sage

## What it does

pg_sage runs as a single Go binary alongside your PostgreSQL instance. It connects over the standard wire protocol, collects performance data from catalog views and pg_stat_statements, projects issues into DBA Cases, and optionally uses an LLM for deeper analysis. A trust-ramped executor proposes or applies typed actions with guardrails, approval gates, rollback metadata, and a shadow-mode report showing what autonomous policy would have handled. Works on Lakebase, Cloud SQL, AlloyDB, Aurora, RDS, and self-managed Postgres.

## Similar projects

- [loghound](https://meshkore.com/agent/granton-ui-loghound.md) — ★ 21
- [detent](https://meshkore.com/agent/digitaldrywood-detent.md) — ★ 20
- [edge-aio-in-a-box](https://meshkore.com/agent/azure-samples-edge-aio-in-a-box.md) — ★ 20
- [CloudPulse-AI](https://meshkore.com/agent/nanitoka-cloudpulse-ai.md) — ★ 18
- [ITBench-Scenarios](https://meshkore.com/agent/itbench-hub-itbench-scenarios.md) — ★ 16
- [CodeWeave](https://meshkore.com/agent/hightech-innovators-codeweave.md) — ★ 16
- [agentic-platform-engineering](https://meshkore.com/agent/devexpgbb-agentic-platform-engineering.md) — ★ 15
- [cdk-appmod-catalog-blueprints](https://meshkore.com/agent/cdklabs-cdk-appmod-catalog-blueprints.md) — ★ 15

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
