Agents Don't Need an ID. They Need a Permit.
Nikita Bier called it the most important technology problem of the next five years: a broadly accepted standard for agents to identify themselves to service providers, so providers can treat them differently from human traffic. One reply under a post about it said the quiet part out loud. Identity is solved. Tokens do that fine, and you can bake an is_ai flag into one tomorrow. Platforms reject bots for a different reason.
That reply is right, and it points at the actual product.
A platform does not need to know that a caller is an agent. It needs to know what that agent is allowed to do, on whose behalf, up to how much, and who answers for it when a web page talks it into something. That is a permit, not an ID. We built one, and our own shop and playground are its first doors.
Why "agent ID" changes nothing
Say every agent on the internet announced itself tomorrow. The platform still faces the same three questions.
- What may it do here? Browse, compare, add to cart, buy? Post, message, delete?
- For whom? Somebody has to be accountable for the agent's actions, and the platform should not need that person's account to know there is one.
- How much? An agent that can spend without a ceiling is a liability, not a customer.
There is also prompt injection. An agent that reads the open web can be steered by what it reads. Detection will not save the platform. Bounding will. If the most a hijacked agent can do is buy one item under a cap at one store in the next fifteen minutes, injection becomes an annoyance instead of a breach.
What a permit says
An awpermit is a small signed statement, verified offline by the platform:
| field | meaning |
|---|---|
sub | which agent |
act_for | the accountable principal, as the issuer knows them |
aud | the one platform it opens; a shop permit opens no forum |
scope | the named actions it may take there, such as browse or purchase (never *) |
cap | spend limit per transaction and in total, in cents |
exp | expiry: 15 minutes by default, 24 hours at most |
The issuer signs it with Ed25519. The platform verifies it with the issuer's published public key, which cannot mint permits. A shop that accepts permits therefore cannot forge them for another shop.
On the wire it is one header:
Agent-Permit: awp1.<payload>.<signature>
And in code, issuing and checking one looks like this:
from awpermit import Issuer, Verifier, SigningKey, Cap, MemorySpend
issuer = Issuer(SigningKey.generate(), iss="id.example.com")
token = issuer.mint(
sub="agent:shopper-7",
act_for="user:4f2a",
aud="shop.example.com",
scope=["browse", "cart:*", "purchase"],
cap=Cap("USD", per_tx=5000, total=20000),
)
door = Verifier.from_keysets(audience="shop.example.com", docs=[issuer.keyset()])
permit = door.verify(token) # raises PermitError
permit.require("purchase", amount=1999, currency="USD", spend=MemorySpend()) # raises Denied
It fails closed
Every rule refuses. A permit is rejected if it is for another door, from an issuer the platform does not trust, signed by an unknown key, expired, issued in the future, or alive longer than a day. It is also rejected if it carries any field the verifier does not know, because an ignored restriction is a grant. A purchase over the per-transaction cap, in the wrong currency, or from a permit with no spending authority is denied. So is a total-cap purchase when the platform has no ledger to count against: "we did not count" never reads as "under the limit".
A permit that is presented but invalid is rejected on the spot. It never falls back to the anonymous path. Forgery is the one event you want to be loud.
Built on the part that proves the human
The permit does not re-prove identity. awnest already does that. It is our human-check plane, and it is the lock on the playground's community canvas today. Its verdicts are built so that "we could not tell" is never mistaken for "yes", and an agent that declares itself gets a distinct verdict instead of passing as a person.
awpermit takes it from there. A signed-in person, checked by Aitherium, gets permits for their agents. Each permit names that person with a principal id that is different at every door, so two platforms cannot join their records to track the same user across sites.
Our own doors first
This is not a demo against a mock store. The permit issuer now lives in our identity service. Its signing key is in the vault, and its public keyset is published for any door to fetch.
- The shop. An agent can start a checkout on its owner's behalf when its permit grants
purchaseand the price fits its cap. Every agent checkout is recorded against the principal it acted for. A request with no permit keeps the normal human checkout, unchanged. - The playground. An agent queuing for the canvas lock can show a permit. Once an agent has been verified that way, nobody can impersonate it by sending its name without the permit.
The code is merged, and it is rolling out to both now.
The part that pays the platform back
The reply under that post named the real reason platforms block bots: an agent skips the paid shelf. It scrolls past the sponsored slots that fund the site and finds the deal that is good for you rather than for the advertiser.
A permit is what makes the fix possible, because every action now has a principal attached. Next comes the toll. The platform signs a usage receipt for each metered action, the issuer bills the principal, and the platform is paid for traffic its ads no longer monetize. Agents get a front door instead of a cat-and-mouse game, and platforms get revenue instead of scrapers.
Identity is the commodity. The permit, and the toll that rides on it, is the interface.
What to do with this
If you run a platform that is blocking agents today, stop asking what an agent is. Ask what it may do, for whom, and up to how much. Then check that in a signed permit at the door.
awpermit is an Apache-2.0 brick in the Aither World family: one dependency, offline verification, and a CLI that exits 0, 1 or 2 so it slots into any gate. The public package release is coming next. Our shop and playground are its first doors.
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.