mautbach/dbastion

Governed database access for AI agents

41
/ 100
Emerging

Parses SQL into an AST before execution to classify statements, block dangerous patterns (DELETE without WHERE, cartesian joins), inject LIMIT on unbounded queries, and estimate costs across PostgreSQL, BigQuery, Snowflake, ClickHouse, and DuckDB. Returns a three-tier decision (`allow`, `ask`, `deny`) that integrates with agent frameworks like Claude Code and Codex via a query-then-approve pipeline. Cost thresholds and safety rules are configurable per-connection.

Available on PyPI.

Maintenance 13 / 25
Adoption 10 / 25
Maturity 18 / 25
Community 0 / 25

How are scores calculated?

Stars

11

Forks

Language

Python

License

Apache-2.0

Last pushed

Mar 10, 2026

Monthly downloads

223

Commits (30d)

0

Dependencies

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/mautbach/dbastion"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.