<!-- Generated text view; source SHA-256 c4c8d99aecf70dad72b59ba35ce22e89367978d39bee218de3ce72535b21bfc7; generator 1.1.0. -->

Source: [AIdenID Docs — identity & clearance for the agentic internet](https://aidenid.com/docs).

Documentation

# Identity & clearance for the agentic internet.

For every request, AIdenID returns one of six outcomes and a signed receipt your team can verify.

[Overview](https://aidenid.com/docs#overview) · [Identity + Clearance](https://aidenid.com/docs#platform) · [Quickstart](https://aidenid.com/docs#quickstart) · [Six outcomes](https://aidenid.com/docs#outcomes) [Delegation & revocation](https://aidenid.com/docs#identity) · [Signed receipts](https://aidenid.com/docs#receipts) · [API reference](https://aidenid.com/docs#api) · [Confidence labels](https://aidenid.com/docs#soft)

## Overview

AI agents now browse, buy, and act on the open web on behalf of people and organizations. AIdenID is the **site-owned decision layer** for that traffic: it decides who gets through, per request, and proves the decision. It works with your site to control agent access and record the decisions that matter to your team.

- **Per-request decisions** — six outcomes: `allow`, `throttle`, `queue`, `sandbox`, `deny`, `price_required`.
- **Cryptographic hard path** — HTTP Message Signatures (RFC 9421), DPoP (RFC 9449), Token Exchange (RFC 8693), audience-bound session tokens.
- **Signed decision receipts** — Ed25519, self-verifiable, with Merkle-backed audit artifacts for key rotations, policy versions, revocations, and evidence roots.
- **Instant revocation** — kill any chain, session, or delegation with a single call; epoch-checked on every request.

## Identity + Clearance — one platform

AIdenID is two halves of a single lifecycle, not two products:

- **Identity (issuance)** — scoped, ephemeral agent identities with intent-bound delegation, TTL, and lineage. Includes verification interception (OTP, magic-link, and email-confirmation extraction) so an agent can complete real identity flows.
- **Clearance (enforcement)** — a per-request decision over that identity: one of six outcomes and a signed receipt. The **AIdenID SDK** enforces clearance at your edge in one line.

The story end to end: **issue an identity → delegate authority → clear every request → emit a receipt → revoke instantly.** Identity answers *who*; clearance answers *may they, right now*.

## Quickstart

Install the enforcement SDK and gate a route in one line:

```
// 1. install
npm i @aidenid/sdk

// 2. verify, then enforce — at your existing gate
import { verifyAgent, enforce } from '@aidenid/sdk'

const decision = await verifyAgent(req, { route: '/blog/:slug', action: 'read', resourceId: slug })
return enforce(decision)  // allow→full · priced→402 · else→teaser only
```

**Invariant:** for any non-`allow` outcome, the server serializes **only the teaser**. The full gated body never leaves the server.

## The six outcomes

Every request resolves to exactly one terminal outcome, with a canonical HTTP behavior:

| Outcome | Meaning | HTTP |
| --- | --- | --- |
| allow | verified + delegated + in-scope | `200` · full body |
| throttle | allowed but rate-limited | `429` · teaser + `Retry-After` |
| queue | accepted, deferred | `202` · teaser + position |
| sandbox | allowed into a limited view | `200` · sandboxed subset |
| deny | not verified / out-of-scope | `200` · teaser only |
| price_required | pay-to-access | `402` · signed price quote |

## Delegation & revocation

An agent acts under a **delegation** — a scoped grant from a human principal, bound to an action and optionally a single resource, with an issue and expiry time:

```
{
  "principalId": "user_42",
  "agentId":     "agent-demo-7f3a",
  "scope":       ["read"],
  "resourceId":  "agentguard-demo",
  "issuedAt":    "2026-06-16T00:00:00Z",
  "expiresAt":   "2026-06-16T01:00:00Z"
}
```

**Revocation is instant.** A single call kills a chain, session, or delegation; an epoch is checked on every request, and the next request from that agent returns a `deny` *revocation receipt* (`revoked: true`, `revocationOf: <receiptId>`).

## Signed receipts & verification

Every decision returns a `Decision` receipt signed with Ed25519 over a deterministic canonical encoding. The receipt carries its own verify key, so it is **self-verifiable** — clients re-check the signature in-browser with zero server round-trips.

```
// the verifier checks the exact same canonical bytes the signer signed
const ok = ed25519.verify(
  d.signerPublicKey,
  d.signature,
  canonicalString(signingPayload(d)),  // keys sorted, no whitespace, undefined dropped
)
```

Crypto fields (`signature`, `signerKeyId`, `signerPublicKey`, `alg`) are excluded from the signed payload.

## API reference

Same-origin (or via a proxy) — no CORS holes. Decision endpoints:

| Method | Path | Returns |
| --- | --- | --- |
| `POST` | `/api/aidenid/verify` | RequestContext → Decision |
| `POST` | `/api/aidenid/revoke` | { receiptId } → revocation Decision |
| `GET` | `/api/aidenid/stream` | SSE of StreamEvent |
| `GET` | `/api/aidenid/pubkey` | { signerKeyId, publicKey } |

Live control-plane endpoints (traffic stream, plain-language rules → signed policy versions, bounded agent planning sessions): `/api/aidenid/traffic`, `/classify`, `/rules`, `/simulate`, `/policies`, `/agent`.

## Confidence labels (the soft path)

AIdenID never claims human-vs-bot certainty. Alongside the cryptographic hard path, requests carry a confidence label:

- `verified_agent` — cryptographically proven operator + delegation.
- `signed_agent` — valid operator signature, delegation unproven.
- `likely_human` — interactive signals, no agent identity.
- `suspicious_automation` — automation signals without identity.
- `unknown` — insufficient signal; default-deny on sensitive surfaces.

## Live map and privacy signals

The [live map](https://aidenid.com/traffic-access) is observe-only: it shows requests the edge saw, how they were classified, and the evidence. Privacy signals are honoured in two scoped ways. At the edge, a request carrying `DNT: 1` or `Sec-GPC: 1` is kept off the map when the edge recognises it as a person's browser; automated clients, declared agents and crawlers are still shown, because a privacy header is for people and not a way for bots to vanish from an observe-only map. On the page, a tracker request carrying either header is dropped before anything is stored or broadcast, for every client, and the page stops sharing moves for that tab. A person in a recognised browser with either signal on appears nowhere and nothing about their page moves is kept.

## Questions?

Tell us what you're protecting and we'll show you exactly how AIdenID decides on your traffic — live, on a real surface. Ask us anything.

[Get started →](https://aidenid.com/install)

## Media descriptions

- AIdenID's logo: a solid green letter A with a keyhole and three small AI sparkles cut through it, beside the name AIdenID, where AI and ID are bold green with serifed capital I's and den is light. It is a logo, not evidence that a visitor, transaction or page has been verified. [Description and provenance](https://aidenid.com/for-agents/media/brand-logo.json)

[All text pages](https://aidenid.com/for-agents/) · [Public skills](https://aidenid.com/for-agents/skills.json) · [Media descriptions](https://aidenid.com/for-agents/media.json)
