pgbot.dev
/pgrundev/pgbot
Open source · Rust · MIT

Postgres intelligence for AI agents & apps.

Know everything happening inside your database.

demo — pgbot inspecting a live database watch on x.com →
$ curl -fsSL https://pgbot.dev/install | sh
/pgrundev/pgbot

How it connects

Two paths to the same place: connect directly over the wire, or run the agent next to a database that never leaves your network.

                             pgbot.dev
                                 │
             ┌───────────────────┴───────────────────┐
             │                                       │
 Direct PostgreSQL access                       pgBot agent
             │                                       │
   Supabase · Neon · RDS                    Docker · Kubernetes
 PlanetScale · public DBs                  Private servers · VPC
             │                                       │
             └───────────────────┬───────────────────┘
                                 ▼
                            PostgreSQL
Works with
Supabase AWS RDS Neon PlanetScale DigitalOcean OVH pgrun

Features

Connect any PostgreSQL database and get visibility into performance, queries, health, schema, and changes — with AI-powered explanations.

01
See database health in real time

Monitor connections, locks, transactions, cache hit ratio, replication, WAL, and overall database health.

02
Understand query performance

Track slow queries, regressions, throughput, query latency, and expensive SQL using PostgreSQL statistics.

03
Inspect tables and indexes

Analyze table growth, index usage, unused indexes, missing indexes, vacuum activity, and storage patterns.

04
Get AI-powered insights

Ask pgBot questions in plain English and get summaries, explanations, and recommendations based on real database signals.

05
Works with any PostgreSQL

Connect directly to public databases or use the pgBot Agent for private environments like Docker, Kubernetes, and internal servers.

06
Built for secure production use

Read-only access, open-source agent, and support for private deployments without exposing your database publicly.

Core features

Why pgBot

Not just metrics. Context.

pgBot helps you understand what changed and why it matters.

Not just dashboards. Explanations.

Ask questions in plain English and get actionable answers.

Not just for hosted Postgres.

Use pgBot with Supabase, Neon, RDS, Docker, Kubernetes, and private servers.

Not just observability. An AI DBA.

Get insights that help you find issues faster and make better decisions.

Point it at a database.

Read-only by default. Nothing leaves your infrastructure unless you say so.

Connect your Postgres View on GitHub