Advertisement
Advertisement
β‘ Community Insights
Discussion Sentiment
50% Positive
Analyzed from 281 words in the discussion.
Trending Topics
#pgbot#database#agents#postgresql#read#tool#directly#source#understand#built
Discussion Sentiment
Analyzed from 281 words in the discussion.
Trending Topics
Discussion (9 Comments)Read Original on HackerNews
I built pgbot because I often needed a quick explanation of what was happening inside a database without first deploying a dashboard, collector, telemetry stack, or separate database.
pgbot is an open-source 5.9 MB Go binary that connects directly to PostgreSQL and returns useful findings in seconds:
pgbot inspect β database health pgbot queries β expensive queries pgbot indexes β risky and unused indexes pgbot ask β answers for humans and agents MCP β lets coding agents inspect PostgreSQL directly
The diagnostic findings are computed deterministically in Go. They are not invented by an LLM.
pgbot is also read-only by design: it inspects the database but never applies changes. An agent can explain and prioritize the evidence, but it cannot silently modify production through pgbot.
Source: https://github.com/pgrundev/pgbot
Iβd especially appreciate feedback about missing diagnostic checks, false positives, and the read-only safety model for coding agents.