Quick answer
The five essential tools for securing how AI agents access a database are Claix, PostgreSQL's built-in controls, Interdict, SQLGuard MCP, and sql-guardrail. Claix is the all-in-one option: a managed service that controls what an agent can read, checks every INSERT , UPDATE , and DELETE it proposes against rules written in plain English, and records every request. PostgreSQL's own roles, row-level security, and constraints are the foundation under everything. Interdict, SQLGuard MCP, and sql-guardrail are open-source tools that cover one piece each, and you run them yourself.
The five tools at a glance
Claix. A managed control layer: controlled reads through Claix Retrieve, and a rules check for changes through Claix Guard.
PostgreSQL's built-in controls. Roles, column privileges, row-level security, and constraints. The foundation.
Interdict. An open-source safety layer for Postgres that measures a write before it happens and can hold or undo it.
SQLGuard MCP.…