ATL Gateway
Decide what AI agents may do on your site, from what they can prove: who operates the agent, who mandated it, and for what.
Your site sends each incoming request to one API and gets back a decision: accept, accept with limits, ask a human to confirm, or refuse. The gateway implements the open Agent Trust Layer draft, so you do not have to.
How it works
- Sign up with your site's address. You receive an API key, shown once.
- Prove the site is yours by serving a token at a fixed address on it. Until then the gateway verifies nothing for you, and nobody else can claim your address.
- Say what each action needs. For example: reading is open to all, booking needs an agent with a mandate from a verified person.
- Install the middleware, about five lines. Each request is checked before your own code runs.
See it working on the demonstration site.
What an agent has to prove
| Level | What is proved | Typical use | Here today |
|---|---|---|---|
| L0 | Nothing. Ordinary traffic. | Public reading | Yes |
| L1 | Which agent, and which operator answers for it | Search, heavy browsing | Yes |
| L2 | L1, and a mandate from a verified person or organization, within stated limits | Bookings, forms, messages | Yes |
| L3 | L2, and a person identifiable on lawful request | Payments, account changes | No |
| L4 | L3, and an independent audit | Health, finance, government | No |
What the gateway checks
- The request is signed by the agent, is recent, and has not been seen before.
- The agent's operator is attested by a trust anchor you chose to accept.
- The mandate names this agent, is bound to the very key that signed the request, names your site and no other, has not expired, and covers the action and its amount.
- What the agent says it is doing matches what your rules say the request does. An agent that declares "book" while targeting a payment is refused.
- The mandate has not already been used up. A single-use mandate is accepted once; a budget is counted across requests, so twenty requests cannot each spend the whole limit.
- The agent or operator is not on your revocation list.
Each accepted action at level 2 or above comes with a receipt signed under a key that belongs to your site alone. Refusals are not receipted: signing for whoever asks would be a way to exhaust the service.
Where it plugs in
| Your setup | What you install | What it checks |
|---|---|---|
| A website or HTTP API | The middleware, about five lines (Node.js) | Everything, through this service |
| An MCP server (tools for AI agents) | A guard called before each tool runs; the tool runs only if it says yes | Everything, through this service. The agent's proof travels inside the tool call |
| Any site, any language | The open-source edge verifier, a Go program placed in front of your site | Signature, operator and revocation (level 1), on your own servers. Mandates still need the application or this service |
On the agent side, an open-source Python library signs requests and tool calls; it plugs into httpx in three lines. The edge verifier and the Python library are free, in the public repository, and checked against the same test vectors as this service.
Decoys
A decoy is something on your site that nothing legitimate has a reason to touch. When an agent touches one, you learn that it is going where it has no business, and if the agent identified itself you know exactly which one.
- Decoy addresses. You name addresses that your site does not really serve, such as an old export or backup path. A request for one is reported.
- Canary tokens. The gateway gives you a token that looks like a credential. You plant it where only something reading what it should not would find it. Any request that carries it is reported, and refused even if it would otherwise have been accepted.
- Attribution you can act on. If the request was signed by an identified agent, the report names the agent and its operator, and you can have that agent revoked on your site at once. A request that merely claims to be some agent, without a valid signature, revokes nobody: an agent cannot be framed.
- The caller cannot tell. A trap answers exactly like any other refusal.
What decoys do not do:
- They prevent nothing by themselves. They detect, and with revocation they contain. An agent that never touches a decoy is not seen.
- An anonymous hit proves little. It may be a hostile bot, a security scanner, or a person reading your robots file. Nothing is revoked, because there is no one to revoke.
- Nobody has measured their detection rate independently. Treat the first months as a trial and look at your own numbers.
- They serve no false data and do not harm the caller. An optional delay of a few seconds is the only thing a trap adds, and using it can reveal the trap.
Public ledger
If you switch it on for your site, the fingerprint of every receipt is added to a public, append-only log. Later, anyone holding a receipt and its salt can prove it was logged, and anyone who saved an earlier state of the log can prove nothing was rewritten since. An auditor needs no account and does not have to trust you, the agent or us for that check.
- Off by default. Turn it on with
"ledger": truein your configuration. - No personal data. An entry is a salted fingerprint. The log does not record which site, agent or person a receipt belongs to; without the salt, nobody can match an entry to a receipt.
- It proves that a receipt existed and was not altered, not that what the receipt says is true.
- One operator, no independent witness. We run this log alone. It cannot rewrite its past without being caught by someone who saved an earlier state, but nothing yet stops it from showing different histories to different people unless they compare notes.
Log identifier: did:key:z6Mkv3PtRa5y9WMX3nycRj4TBfe68MRJHPkFzxnZmUaH3oLg
Plans
| Plan | Verifications per month | Decoys | Price | Status |
|---|---|---|---|---|
| Free | 1,000 | 2 addresses, 2 tokens | None | Open |
| Pro | 100,000 | 50 addresses, 50 tokens | Not set | Not open yet |
Past the quota the gateway answers with an error and the middleware refuses protected requests. Watch your usage with GET /v1/account.
Sign up
What it does not do
- It does not stop an agent that carries no header. Unidentified traffic is level 0: you decide what level 0 may do. Anything you leave open to level 0 stays open to every bot.
- It does not make prompt injection impossible. A hijacked agent stays inside its mandate; within the mandate it can still do what its owner did not want.
- It does not hide the person behind an agent from everyone. Your site learns no identity, but the service that vouched for the person knows which key it vouched for. The draft's stronger privacy requirement is not met yet.
- Request bodies pass through the gateway to check their integrity. They are not stored.
- No dashboard, no email, no password. The account is managed through the API with your key.
What is planned
None of the following exists today. They are directions under study, listed so that you know what the gateway is not yet.
ATL Confirm
Human confirmation of an irreversible action through a channel the agent does not control, so that an agent cannot approve its own request.
ATL Revocation feed
Revocations of agents and operators shared between sites that opt in, with confirmation that each site has applied them.
API
| Call | Purpose |
|---|---|
POST /v1/signup | Create an account. No key needed. |
POST /v1/account/verify-origin | Have the gateway fetch your proof and activate the account. |
GET /v1/account | Plan, quota, usage this month. |
GET, PUT /v1/account/config | Your policy and the rules that recognize each action. |
POST /v1/verify/mcp | Verify one MCP tool call. The guard calls this for you. |
POST /v1/verify | Verify one request. The middleware calls this for you. |
GET, POST, DELETE /v1/revocations | Agents and operators you refuse. |
POST /v1/account/rotate-key | Replace your API key. |
GET, POST, DELETE /v1/decoys/canaries | Your canary tokens. A token is shown once. |
GET /v1/decoys/events | What touched your decoys, and a summary. |
GET /ledger/tree-head | The signed state of the public ledger. No key needed. |
GET /ledger/proof/inclusion, /ledger/proof/consistency, /ledger/entries | Proofs and raw entries, for auditors. No key needed. |
Every call except sign-up and the ledger needs Authorization: Bearer <your key>.