InterceptAI · open source

The SQL firewall for AI agents.

Your AI agent should not hold a database connection. Terminus does, and decides what every query is allowed to run. An open-source, default-deny MCP server (or HTTP sidecar): per-agent identity, a verifiable audit trail, and a safe rewrite when it says no. Guard what your agents do, not just what they say.

Works with PostgreSQL today. More engines as each one is validated.

Attack success 46.7%0.0% Same model, same attacks, run with and without Terminus. Enforced, none succeeded.
Legitimate work blocked 0.0% Benign agent queries wrongly denied across a 300-query corpus. It does not get in the way.
Decision latency <2ms p99 In-process decision on the validation harness. It sits in the request path without being felt.

How it works

Default-deny on every query. Allow, deny, or a safer rewrite, before anything runs.

Agent to Terminus to PostgreSQL data path AI agent no credentials no route to the DB MCP / HTTP Terminus policy engine default-deny · safe rewrite executor holds the only credentials allowed SQL only PostgreSQL accepts Terminus only direct path: none ✕

Unbypassable by construction.

Terminus runs as the MCP server your agent calls, exposing only query and execute. The agent never receives a connection string; the executor alone holds credentials and runs nothing the policy engine did not already allow. High-risk writes wait for a human.

Govern the action.

A default-deny policy, schema and column whitelist, and smuggling detection, gated by per-agent identity. Each agent can only run what you allowed it.

Provable, not just logged.

Every decision lands in a tamper-evident, independently verifiable audit chain. Raw SQL is never stored, only a keyed digest. The evidence an EU AI Act or SOC 2 auditor asks for.

Fix, do not just block.

A deny returns a policy-compliant rewrite, re-validated through the same engine, so the agent retries and keeps working instead of failing blind.

When it needs a human

A high-risk write does not just get blocked. It gets held for a person, who sees the exact SQL, then approves or denies with a signature.

The Terminus operator console: an AI agent's DELETE without a WHERE clause is held; the operator reveals the exact SQL, sees the eight fields they are signing, and approves one while denying another. Every decision is recorded with the operator's identity.
Two dangerous DELETEs from an AI agent, held on the operator console (running against the live control plane). The operator reveals the actual statement, sees the eight fields they cryptographically sign, and approves one while denying the other. Every decision lands in the verifiable audit chain, attributed to the person who made it.

Open core

Read every line. Self-host it. Put it in your critical path without depending on anyone.

The enforcement core is free and open under AGPL-3.0: the sidecar, the MCP enforcement point, the policy engine, per-agent identity, remediation, and the local verifiable audit chain. A security control you cannot read is a security control you cannot trust.

The commercial Terminus control plane is for teams operating this across a fleet. Its first piece runs today: when an agent attempts a high-risk write, the control plane holds it for a human, who reviews the exact statement and approves or denies it with a cryptographic signature, and every decision is recorded in the audit chain attributed to that operator (shown above). Still ahead on the roadmap: a least-privilege autopilot that learns each agent's access and tightens its policy for you, and an audit witness that routes to your own SIEM.

Who's behind it

Built by someone who spent 25 years holding the pager.

Will Milewski is a technology executive in Charleston, South Carolina: 25 years across production infrastructure, cloud platforms, and global operations for enterprise SaaS. Terminus is the control he kept wishing existed once AI agents started being handed database connections no one would give a new hire on day one.

It is founder-led on purpose. The enforcement core is open source and runs in your infrastructure, so nothing in your critical path depends on a vendor's uptime, and every question lands with the person who built it: [email protected].

Design partner program

It is early. The first design partner is free.

If your team is giving an AI agent broad-read or write access to a production database, put Terminus in front of it and see what it catches. Free, in exchange for public feedback and a few warm intros.