frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Pgbot: A 5.9 MB read-only Postgres tool for humans and agents

https://pgbot.dev/
29•sashash•1h ago

Comments

sashash•1h ago
Hi HN, I’m Alex, a longtime PostgreSQL and Rails/Go/Rust engineer.

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.

sashash•1h ago
Read-only by design: no DDL, DML, or automatic fixes.
sashash•1h ago
It works anywhere you have a standard PostgreSQL connection string.
Zoncovsky•1h ago
It realy works I tested it on local and remote machine
znnajdla•14m ago
I don't understand what this tool offers over simply querying pg directly and reading pg logs?
michael-sumner•10m ago
Be careful as it might be telemetrying the database. How do we know that it is not?
ahofmann•7m ago
It's open source, so just look "under the hood", I guess?

Apple introduces M6 and M5 Ultra

https://www.apple.com/newsroom/2026/08/apple-introduces-m6-and-m5-ultra-for-a-big-leap-in-perform...
759•interpol_p•6h ago•637 comments

New Mac Studio with M5 Max and M5 Ultra

https://www.apple.com/newsroom/2026/08/apple-introduces-new-mac-studio-with-m5-max-and-m5-ultra/
614•interpol_p•6h ago•364 comments

FDA authorizes first wearable device that monitors ketone and blood sugar levels

https://www.fda.gov/news-events/press-announcements/fda-authorizes-first-wearable-device-continuo...
26•sunnynagra•38m ago•3 comments

Black hole singularity is a surface not a point

https://arxiv.org/abs/2608.21590
93•raattgift•2h ago•44 comments

Show HN: I made a Raspberry with Qwen my local car AI

https://github.com/ThinkOffApp/CarWatch
20•petruspennanen•4h ago•1 comments

My Friend Aaron

https://rorz.io/writing/my-friend-aaron
189•sarreph•2h ago•42 comments

Run OpenBSD on DigitalOcean for $4/month

https://nil.wallyjones.com/run-openbsd-on-digitalocean-for-4month/
52•speckx•2h ago•22 comments

New Mac mini, featuring M6 and M5 Pro

https://www.apple.com/newsroom/2026/08/apple-unveils-a-more-powerful-mac-mini-featuring-the-all-n...
346•runako•6h ago•182 comments

Pgbot: A 5.9 MB read-only Postgres tool for humans and agents

https://pgbot.dev/
30•sashash•1h ago•8 comments

OpenAI Jalapeño: Better than Nvidia Blackwell

https://newsletter.semianalysis.com/p/openai-jalapeno-better-than-nvidia
129•bmulholland•5h ago•83 comments

Clara (YC P26) is hiring a growth engineer to bring AI doctors to market

https://www.ycombinator.com/companies/clara-2/jobs/8snci6k-founding-full-stack-growth-engineer
1•gfavvas•2h ago

Dolly Parton has died

https://www.theguardian.com/music/2026/aug/25/dolly-parton-country-singer-dead
549•helsinkiandrew•1h ago•84 comments

Nitter project received cease and desist

https://github.com/zedeus/nitter/issues/1442
281•Banditoz•2h ago•188 comments

Show HN: LatticeDB – Like SQLite but for graph databases

https://github.com/jeffhajewski/latticedb
49•smiths1999•2h ago•15 comments

Bomb fishing is wreaking havoc on Indonesia's coral reefs

https://e360.yale.edu/digest/bomb-fishing-coral-reefs
184•speckx•5h ago•111 comments

Building a backyard office, the build and cost breakdown

https://www.imkylelambert.com/articles/building-a-backyard-office-the-build-and-cost-breakdown
170•surprisetalk•5h ago•141 comments

Starbase, LA

https://www.spacex.com/sites/starbase-la
112•bilsbie•3h ago•131 comments

Don't Wordle

https://dontwordle.com/
249•Hbruz0•7h ago•105 comments

Tracking Costco gas prices

https://www.jack.bio/blog/costco-gas-tracking
37•lafond•1d ago•24 comments

Firefox 157 will include JPEG XL by default on all platforms

https://groups.google.com/a/mozilla.org/g/dev-platform/c/3YMV4MS34KA?pli=1
93•yboris•1h ago•13 comments

Tooltips need a delay, and then they need to skip it

https://blog.master.dev/tooltips-need-a-delay-and-then-they-need-to-skip-it/
53•ibobev•3h ago•10 comments

A new ceiling for Λ: the de Bruijn–Newman constant

https://www.judegomila.com/posts/riemann-lambda-0.1787854
32•judegomila•2h ago•4 comments

Fuzzing the Gleam Compiler

https://www.kurz.net/posts/fuzzing-gleam-compiler
25•crowdhailer•3h ago•1 comments

Dolly Parton Has Died

https://en.wikipedia.org/wiki/Dolly_Parton
50•ColinWright•1h ago•3 comments

Visualizing Binary Files

https://movq.de/blog/postings/2026-08-05/0/POSTING-en.html
41•zdw•1d ago•11 comments

Behaviorally fingerprinting Ox Alpha's provenance

https://www.ctgt.ai/research/behaviorally-fingerprinting-ox-alphas-provenance
6•cgorlla•4h ago•1 comments

Show HN: Lightweight system monitor for Linux VPS written in Go

https://github.com/leodeim/vpsmon
23•ygagaga•2h ago•9 comments

Run Minecraft in a Windows sandbox for computer use agents

https://cua.ai/docs/how-to-guides/sandbox/minecraft
18•someguy101010•3h ago•6 comments

Warnock: Harnessing GPU geometry amplification for vector graphics

https://dl.acm.org/doi/pdf/10.1145/3820012
27•coffeeaddict1•4h ago•2 comments

Solving the 1+N Query Problem

https://acadia.engineering/blog/solving-the-1-plus-N-query-problem
35•wheatBread•7h ago•21 comments