Cocobox

Guides

Database guardrails for AI coding agents.

“Never run DELETE without a WHERE” in a prompt is a request. The model can misread it or argue past it. Guardrails that protect your data have to sit outside the model, in the tool that runs the query. This guide shows which ones matter and how Cocobox enforces them.

Also on Linux (x86_64): AppImage · .deb

Good to know

Which databases are supported?

Postgres, MySQL and MariaDB, SQLite, and DuckDB, which reads a folder of CSV, Parquet and JSON files with no network and nothing outside that folder. Per-agent copies work for Postgres and SQLite.

Do agents see my database password?

No. Passwords are kept in your keychain. Agents use a connection by its name and never see the password.

Can I connect through SSH?

Yes. SSH tunnels use your machine's own ssh, with your keys and ~/.ssh/config. Remote hosts require TLS by default.

Is this the same as setting a tab to No approvals?

No. No approvals stops a tab asking before commands and edits, but database rules, read-only connections and spend caps still apply.

Let agents near your data, on your terms.

Add a connection, tick Read-only, turn on copies.

Also on Linux (x86_64): AppImage · .deb