Features
Everything authzai does as of 0.4.0, grouped by what you're trying to do. Each row links to the page that shows you how to use it, and to the reference for its exact shape.
Everything here is in the published package unless the row says otherwise. Rows marked off by default need a setting turned on; Configuration lists them. The changelog says which release added each one.
Declare what an agent may do
| Feature | What it does | Guide | Reference |
|---|---|---|---|
| Manifests | Each agent declares the tools it may call, the data classes it reads and writes, the agents it may hand work to, and how deep a chain may go | Register a manifest | Manifest schema |
| Reconciliation | Checks a manifest against what each tool host really publishes (RFC 9728), and returns an exact diff when they disagree | Register a manifest | Agents API |
| Immutable versions | A change creates a new manifest version; nothing is edited in place | Register a manifest | Manifests API |
| Scope catalog | Shows what consenting to a scope actually grants | Walkthrough §3 | Scopes API |
| CI drift check | A GitHub Action fails a pull request when an agent calls something its manifest doesn't declare | Configure the drift check | CLI: drift |
| Cold start | Proposes a first manifest from what an agent was observed doing; a person reviews it before it governs anything. Partly. The local path (drift record, then sandbox propose-local) works. Server-side sandbox runs capture nothing yet. | Onboard an agent with no manifest | CLI: sandbox, Sandbox API |
Decide every call
| Feature | What it does | Guide | Reference |
|---|---|---|---|
| Consent | A person approves one scope; that fixes the policy version for the whole session | Enroll your first agent | Consent API |
| Per-step decisions | Before every call: is the target in scope, are there steps left, is the handoff declared, is the input trusted? | Enroll your first agent | Authorize API |
| Narrowing tokens | Each allowed step gets a token for that call only (RFC 8693), naming who it acts for | Walkthrough | Token API |
| Transaction tokens | A privileged call needs a token bound to its exact parameters, usable once. | Walkthrough | Token API |
| Taint labels | Content from untrusted sources is labelled, and can't trigger a privileged call. | The taint model | Authorize API |
| Consent to a subset | A session can approve fewer data classes than its policy allows. Off by default. | Step-up consent | Configuration |
| Step-up consent | A recoverable refusal asks the person instead of failing; they approve with their own credential and the blocked step resumes. Off by default. | Step-up consent | Step-up API |
Enforce it on the way out
| Feature | What it does | Guide | Reference |
|---|---|---|---|
| In-process SDK | Your orchestrator calls consent, authorize and hop directly | Enroll your first agent | AgenticAuthClient |
| Sidecar | A local proxy on each agent's way out; no code changes, any language | Deploy the sidecar | Configuration |
| Gateway | One shared enforcement point for a fleet; fails closed | Deploy the gateway | Configuration |
| Resource-server guard | Middleware on your own tool admits only a valid grant plus identity | Boundary adapters | Verifier library |
| MCP connector proxy | Sits in front of an MCP server; hides undeclared tools and decides every call | Boundary adapters | — |
| Egress proxy | A TLS-inspecting proxy as the agent's only route out. Not yet. The CA generator and inspection logic exist; the proxy doesn't run. | Boundary adapters | — |
| Observe mode | Each enforcement point can decide and record without blocking, for a safe rollout | Deploy the sidecar | Audit API |
Enforcement point tradeoffs compares the options.
Connect standard MCP clients
Added in 0.4.0. Each row is off by default.
| Feature | What it does | Guide | Reference |
|---|---|---|---|
| Proxy as an OAuth protected resource | A standard MCP client finds your IdP from the proxy's metadata, signs the user in there, and calls with that token. The proxy validates it locally, and the client's token never reaches a tool | Connect an MCP client end to end | Configuration |
| Verified consent | The root of every chain is the person your IdP signed in, verified by the control plane, not a name the integrator typed | Connect an MCP client | Consent API |
| Client mapping | An IdP client acts as the registered agent an admin maps it to; an unmapped client gets no authority and is pointed to cold start | Connect an MCP client | Client mappings API |
| Authorization server metadata | RFC 8414 metadata with no login or registration endpoint, and a registration check against each MCP server's own authorization server | How the flow fits together | Authorization server metadata |
| Conformance gate | Every release is tested against the MCP authorization requirements it covers, and publishes nothing if one fails | How the flow fits together | — |
Prove who the agent is
| Feature | What it does | Guide | Reference |
|---|---|---|---|
| Enrollment | An agent proves it holds its key and is bound to an accountable person; without a person it's quarantined | Enroll and verify identity | Identity API, CLI: identity |
| Offline verifier | A tool checks grant, identity and transaction token with no network call, using only pip install authzai | Enroll and verify identity | Verifier library |
| Revocation | Cuts off an agent and every chain through it; verifiers pick it up within 30 seconds | Enroll and verify identity | Identity API |
| Required identity | Refuse every agent that hasn't enrolled. Off by default. | Enroll and verify identity | Configuration |
Audit and operate
| Feature | What it does | Guide | Reference |
|---|---|---|---|
| Decision log | Every allow and deny is recorded, append-only, before the call goes out | Query a delegation chain | Audit API |
| Chain query | One query returns every agent behind an action, back to the person who consented | Query a delegation chain | Audit API |
| Audit export | Archives old decisions to a file without deleting anything | — | CLI: audit |
| Metrics | Prometheus metrics with no identities in any label, plus dashboards and alert rules | Observe the guardrail | Telemetry surface |
| Traces and logs | OpenTelemetry spans and logs with pseudonymous identities. Off by default. | Observe the guardrail | Telemetry surface |
Install and run
| Feature | What it does | Guide | Reference |
|---|---|---|---|
| PyPI package | authzai, with extras for each part: client, drift, embedded, server, otel, all | Install and verify a release | — |
| Server image | ghcr.io/xinweiiiii/agentic-auth, built from the released wheel | Install and verify a release | Configuration |
| Signed releases | Checksums and build provenance on every file and the image | Install and verify a release | — |
| Embedded control plane | The real control plane inside your Python process, with no server or database. For development and testing only. | Run the control plane in-process | AgenticAuthClient |
| Move to a deployment | Re-register an embedded instance's manifests and import its decisions into a deployment | Run the control plane in-process | CLI: manifest, CLI: audit |