Documentation
How AILP is deployed next to your MCP server, how it handles each tool call, and how auditors verify the signed ledger offline.
What AILP Is
AILP is a self-hosted HTTP proxy that sits between your AI agents and an MCP (Model Context Protocol) server. It inspects every tools/call request, applies your policy, records a signed Proof of Reasoning, and only then forwards the call.
Getting Access
Most teams start with a two-week assessment. During onboarding you receive the proxy (a single Go binary or Docker image, with checksums), the command-line tool, a ten-minute Docker demo, and three guides: setup and operations, an auditor's verification guide, and the assessment playbook. Start an assessment.
Rolling Out Safely
Start in shadow mode: every call is recorded and checked against your policy, but nothing is blocked. Review the activity report, tune the policy, then switch enforcement on.
How a Call Is Handled
- The agent sends normal MCP JSON-RPC to the proxy, with an
X-Agent-IDheader and, if configured, its own key. - The proxy authenticates the agent and checks the tool and its arguments against your
policies.json(allowlist, blocklist and regex rules). - The decision, arguments and the agent's stated reasoning are signed and appended to the ledger, then flushed to disk.
- Allowed calls are forwarded to your MCP server. Blocked calls get a JSON-RPC error that includes the record ID.
Verifying the Ledger
Auditors verify the ledger offline with your public key:
ail-cli verify -ledger ail-ledger.jsonl -pubkey <public-key>
Signed audit exports are checked with ail-cli verify-export.
Reports, Replay and Alerts
ail-cli reportsummarises the ledger with findings, as text, Markdown, JSON or a printable HTML report, and verifies the chain first.ail-cli inspect -agent … -since … -until … -detailreplays everything one agent did in a time window, for incident review.ail-cli exportwrites one JSON event per line for Splunk, Elastic or Microsoft Sentinel. Arguments and reasoning are left out unless you ask for them.- Blocked calls, would-be-blocked calls in shadow mode, and ledger failures can be sent to Slack or any HTTPS endpoint, optionally signed. Alerts never slow a tool call.
Requirements
- An MCP server reachable over HTTP.
- Somewhere to run a Go binary or container, with persistent storage for the ledger and signing key.
- Agents that can add HTTP headers to their MCP requests.
Start an assessment