PostgreSQL & AI Agent Safety Gateway
Never let an AI agent corrupt your production database.
You gave Cursor, Claude Code, Windsurf, or LangChain agents write credentials to PostgreSQL. An agent reported modifying 1 row. Physical database triggers secretly mutated 301 rows. Deedglass physically witnesses the Write-Ahead Log (WAL), catches silent cascades, and gates unauthorized mutations.
Physical Storage Verification
The 1 vs 301 Row Trigger Mismatch
Pre-execution proxies and LLM gateways only inspect the JSON-RPC request. They cannot verify what PostgreSQL physically committed to disk.
-- Agent executes SQL tool call
UPDATE accounts
SET plan = 'enterprise'
WHERE id = 42;
-- Client receives standard response
{ "status": "200 OK", "rows": 1 } The agent reports a clean single-row update to the user.
-- Deedglass decodes pgoutput logical stream
TABLE public.accounts: 1 row modified
TRIGGER audit_entitlements_cascade fired:
- public.seat_allocations: 150 rows modified
- public.billing_ledger: 150 rows modified
VERDICT: DIVERGENCE DETECTED (1 vs 301)
ACTION: Sealed & reverse SQL undo generated PostgreSQL triggers silently fan out across billing and permissions tables.
Zero-Overhead Architecture
Three Layers of Physical Storage Defense
Built entirely in pure Go with zero CGO dependencies. Runs inside your network with zero external data telemetry.
Deterministic Pre-Execution Policy Check
Evaluates agent SQL queries against security rules in under 50 ms. Halts unreviewed DROP, TRUNCATE, and unbounded UPDATE queries before they touch your database.
Physical Storage Verification via PostgreSQL WAL
Connects to PostgreSQL logical replication using pglogrepl. Decodes committed tuples under REPLICA IDENTITY FULL to verify disk reality against agent claims.
Catalog-Accurate Reverse SQL & Offline Audit Records
Synthesizes exact reverse SQL from before-and-after row tuples for one-click rollback. Seals every action with Ed25519 cryptographic signatures for verifiable audit trails.
Compatibility
Protects Any Agent That Touches PostgreSQL
Enterprise Governance & Licensing
Simple, Predictable Self-Hosted Pricing
Free open-source core forever under Apache-2.0. Scale into enterprise multi-cluster governance and SLAs.
Community Core
For individual engineers and open-source contributors running local PostgreSQL.
- Apache-2.0 self-hosted engine
- Local PostgreSQL WAL logical decoding
- Deterministic toolcall policy gate
- Single-action reverse SQL dry-run
- 82-case verified adversarial attack suite
Team
For engineering teams deploying AI agents with shared Slack/Discord approvals.
- Everything in Community Core
- Slack & Discord interactive approval elevation
- Multi-agent concurrent session tracking
- 30-day cryptographic record retention
- Automated schema drift alerts
Enterprise Cluster
For fintech, SaaS, and regulated platforms requiring multi-node governance and audit feeds.
- Everything in Team
- Multi-cluster Kubernetes Helm deployment
- Automated CISO Security Pack audit exports
- One-click multi-statement session undo
- Enterprise OIDC / SAML single sign-on
- Direct bank wire (NEFT/RTGS/SWIFT) & PO invoicing
Enterprise Procurement
Request an Enterprise Cluster Key or Proforma Invoice
We support direct corporate bank wire transfers (NEFT / RTGS for India, SWIFT / ACH for US/EU) and Net-30 Purchase Orders. Every invoice includes full corporate tax identification (GSTIN) and cryptographic verification seals. Zero consumer PayPal friction.