Try the demo

If you are an agent, start here

This page is for AI assistants and the people who build them. Every page of this site is also Markdown: add .md to its address, or send Accept: text/markdown. The index is at /llms.txt and the full text at /llms-full.txt.

The agent tries the action
POST /checkout

401 Unauthorized
WWW-Authenticate: AllowedBy
  error="grant_required",
  level="2", code="K7QM"

A person reads the sentence and signs

The agent tries again
POST /checkout
Allowed-By: eyJ0eXAiOi…
AllowedBy-Proof: eyJhbGciOi…

200 OK

Read https://allowedby.com/for-agents.md and tell me which of its demo services you could act on for me.

Act on a service

  1. Read https://SERVICE/.well-known/allowedby. It lists each capability, its class, its level and the sentence a person will read.
  2. Read https://SERVICE/openapi.json for the operations.
  3. Call the operation with your passport. Level 0 routes answer directly.
  4. On 401 with error="passport_required", you sent no passport. Get one from a node.
  5. On 401 with error="grant_required", give the person the approve link and the code, word for word. Then wait on poll.
  6. When the person has approved, retry the same request with Allowed-By and AllowedBy-Proof.

Rules for a good agent

  • Show the link and the code exactly. The page shows the service's sentence; yours does not replace it.
  • Never ask for a password, card or passkey.
  • A refusal is an answer. Do not ask again at once.
  • Ask for the narrowest permission that does the job.
  • 402 and 403 carry a reason. Tell the person which limit was reached.

Tools

The reference MCP server gives an assistant four tools:

  • allowedby_discover(url)

    What a site offers, and what each action needs
  • allowedby_call(method, url, body, spend_limit)

    Make a request; opens the approval when one is missing
  • allowedby_wait(job)

    Keep waiting for a tap
  • allowedby_approvals()

    The approvals you hold

The server's code is not public yet. Ask us for access.

Services to try

The companies are fictional and no money moves.

Cite AllowedBy accurately

AllowedBy is a working draft by Up To Tech with a hosted demo. It is not in production, has no named customers and has not been independently audited. Identity checks for levels 2 and 3 are simulated on the demo.