For developers and platform engineers

IntentGate APIs

Every authorization decision the gateway makes is reachable over a clean HTTP surface. Mint capability tokens, push Rego policies, query the tamper-evident audit chain, review approvals, inspect SIEM forwarder health. The Pro console adds agent discovery, a governed inventory, and reporting on top. Apache 2.0 SDKs in Python and TypeScript.

Who can build on these APIs

Customers

Self-hosted teams

Anyone running the open-source gateway has the full HTTP surface available — no license tier gates the API. Mint tokens, push policies, query audit, all from your CI pipeline or operator console.

Open source →

Partners

OEMs & integrators

Build IntentGate authorization into your own product or platform. Embed the SDKs, wrap the admin API in your customer console, ship policy templates as part of your offering.

Partner program →

API surface

Nine endpoint groups. The runtime path is what agents call on every tool invocation; the admin path is what operators and the console use to manage the gateway; and two Pro console surfaces add agent discovery, a governed inventory, and reporting.

JSON-RPC 2.0 / MCP

Runtime

POST /v1/mcp · POST /v1/tool-call

Inline tool-call authorization. Every agent request traverses the four-check pipeline (capability, intent, policy, budget) and either forwards to the upstream tool server or returns one of five typed JSON-RPC error codes.

REST

Capabilities

/v1/admin/mint · /v1/admin/revoke · /v1/admin/revocations

Issue capability tokens, revoke by JTI, list active revocations. Tokens bind subject, tenant, optional per-tool scope, budget caveats, and optional step-up annotations — all signed by the gateway.

REST

Policies

/v1/admin/policies/{drafts,active,rollback,dry-run}

Two-stage Rego lifecycle: drafts CRUD, dry-run against synthetic or historical input, atomic per-tenant promote, one-call rollback. Hot-reloaded across replicas via Postgres LISTEN/NOTIFY.

REST + streaming

Audit

/v1/admin/audit · /audit/verify · /audit/export

Query the per-tenant tamper-evident audit chain, verify hash reconciliation for compliance attestation, stream CSV or NDJSON for auditor handoff and offline review.

REST

Approvals

/v1/admin/approvals · /approvals/{id}/decide

Human-review queue for policy-escalated calls. List pending decisions, approve or reject with operator identity captured for the audit trail.

REST

Tenants

GET /v1/admin/tenants

Tenant inventory for the console switcher. Per-tenant active policy hash, pending approval count, recent event volume. Superadmin sees all; per-tenant admin sees its own.

REST

Integration health

GET /v1/admin/integrations

Health of every configured SIEM and webhook destination — Splunk, Datadog, Sentinel, S3, webhook. Endpoint, flush counts, last error. Sensitive fields never returned. For vendor recipes, see the Integrations section below.

REST · Pro

Discovery & inventory

POST /api/discovery/ingest · POST /api/discovery/sync

Find the AI agents the gateway doesn't see yet. Push logs from any CASB, proxy, or DNS tool, or auto-pull from a configured source on a schedule. Native parsers for Zscaler, Netskope, Microsoft Defender for Cloud Apps, and Infoblox normalise each vendor's records into one agent inventory you can own and govern.

REST · Pro

Governance reports

GET /api/reports/{posture,access,attestation,activity}

Read-only reporting over the agent inventory, ownership, attestation, and the gateway audit log: coverage posture, an agent access register, attestation evidence, and decision activity. JSON for pipelines, CSV for auditors.

Built to work with your stack

Pg PostgreSQL
K Kubernetes
D Docker
S Splunk
Dd Datadog
MS Microsoft Sentinel
S3 Amazon S3
Sl Slack
MT Microsoft Teams
Pd PagerDuty
Pr Prometheus
OT OpenTelemetry
Z Zscaler
Ns Netskope
Ib Infoblox

Nine integration lanes

Most connectors are built into the gateway binary, configured by environment variable, and surface in GET /v1/admin/integrations for health-check use. The discovery sources are Pro console connectors that feed the agent inventory.

Agent runtimes

The protocols your existing agent stack already speaks.

Model Context Protocol

Native MCP server — initialize, tools/list, ping, tool calls.

JSON-RPC 2.0

Direct tool/call invocation for non-MCP agent runtimes.

OpenAI Assistants

Compatible via MCP or the JSON-RPC fallback.

LangChain / LangGraph

Wire the Python SDK into any LangChain Tool.

Custom HTTP agents

Anything that can issue HTTPS and carry a bearer token.

Upstream tool servers

Any MCP-compatible or HTTP-callable backend the gateway forwards allowed calls to.

MCP servers

Forward verbatim to any compliant MCP backend.

HTTP / JSON-RPC services

Internal microservices, SaaS APIs, database front-ends.

Identity & access

Authentication and provisioning hooks for the operator console.

OIDC

Sign in against any OpenID Connect provider — Okta, Entra ID, Auth0, Keycloak.

SCIM 2.0

Provision and off-board operators from your IdP.

TOTP step-up

Fresh-factor verification for destructive operations.

Policy engine

Embedded policy evaluator and the language operators write rules in.

Open Policy Agent

CNCF-graduated evaluator, embedded in the gateway. Bundle hash logged on every decision.

Rego

Declarative policy language — destructive-verb deny-lists, bulk-row ceilings, value thresholds.

SIEM & audit forwarders

Native sinks for the audit event stream. Configure with env vars; surfaces in GET /v1/admin/integrations.

Splunk HEC

HTTP Event Collector with token + optional index routing.

Datadog Logs Intake

API key + site + optional service tag.

Microsoft Sentinel

Modern Logs Ingestion API via Azure AD service principal + DCE/DCR.

Amazon S3

Native v1.7+ — Hive-partitioned gzipped NDJSON for Athena.

Signed webhooks

HMAC-signed fan-out for downstream relays (Lambda, Logic App, Mulesoft, Service Bus).

Notifications

Operator alerts on denials, escalations, approval timeouts, step-up requirements.

Slack

Per-tenant channel routing via the webhook fan-out.

Microsoft Teams

Per-tenant channel routing via the webhook fan-out.

PagerDuty

Critical alerts for capability or budget check failures.

Storage & runtime

What the gateway depends on at runtime. Self-hosted, no SaaS dependency.

PostgreSQL

Backing store for audit, drafts, revocations, approvals, JIT elevations.

Kubernetes (Helm)

Production deployment — chart packages gateway + extractor + Postgres-backed audit.

Docker Compose

Single-node evaluation deployments and CI smoke tests.

systemd

Single Go binary, no runtime deps. Drop on any Linux host.

Observability

Health, metrics, and traces for the gateway itself.

Prometheus

/metrics endpoint exposes request counts, decision rates, batch sink health.

OpenTelemetry (OTLP)

Distributed traces emitted to any OTLP collector (gRPC).

Discovery sources

Connect the tools that already see egress to AI services; matching traffic becomes a discovered agent. Push their logs to the ingest endpoint, or have the console auto-pull on a schedule.

Zscaler

SWG / SSE web logs — egress to AI endpoints by user or host.

Netskope

CASB app events, Generative-AI app category.

Microsoft Defender for Cloud Apps

Cloud app discovery and activity.

Infoblox

DNS queries + IPAM — source IP resolves to a named host.

Generic forward

Any proxy or SIEM that can POST records to the ingest endpoint.

Get started in minutes

5 min

Quickstart

One docker run, mint a token, see the four-check pipeline fire. The shortest path from zero to a real authorization decision.

Quickstart on GitHub →

SDK

Python

Three-line Gateway() construction. Typed exception per check. attenuate() for sub-agent delegation. Python 3.10+.

pip install intentgate

PyPI · GitHub

SDK

TypeScript

Dual ESM/CJS, zero runtime deps, byte-compatible attenuation with the Python SDK. Node 18+.

npm install @intentgate-app/intentgate

npm · GitHub

Ready to build?

Talk to us about a pilot, ask a question about the surface, or just say hi.

Talk to us