PgBeam
AvailableA Postgres proxy that sits between AI agents and your database and enforces what each agent may do, in the wire protocol, before a query reaches Postgres.
- Scoped credentials for each agent, with a read-only mode
- Table and column allowlists, and row filters
- PII masked before it leaves the database
- Query budgets and a kill switch
- A tamper-evident audit log of every query
- A hosted MCP endpoint for agents
- Works with any Postgres host, with no code changes
# Swap one connection string
DATABASE_URL=
# Then read what each agent did
SELECT id, email FROM users LIMIT 20masked · email maskedSELECT count(*) FROM ordersallowed · read onlyUPDATE orders SET status = 'void'blocked · writes not allowed