[agent authorization]>[eIDAS 2.0]>[in design]

Agents that can prove who they act for and what they may do.

xRails Mandates lets people and companies give AI agents verifiable, limited authority, confirmed with an EU Digital Identity Wallet or a national eID. Any service can validate an agent request in milliseconds: which agent, on whose behalf, under which mandate, and whether it is still valid.

[mandate]>[mnd_8f3k2]Active

Invoice agent for Maali OÜ

[granted by]
Maali Maasikas, board memberEUDI Wallet · LoA high · representation checked
[agent]
invoice-bot by Example Accountingkey ES256 · thumbprint 9c1e…a07b
[may]
merit.invoices.create ≤ €1,000
merit.customers.read
omniva.shipments.create ≤ 20 / day
[needs you]
Invoices over €1,000 and anything that pays or signsapproval in your wallet or Smart-ID
[valid]
21.10.2026 – 21.01.2027revocable at any time
Every action sealed & loggedRevoke
[xrails mandates]>[three parts]

One mandate. Three sides that can trust it.

The person grants it, the agent carries it, the service checks it. Nobody has to share a password, and an agent never pretends to be a person.

[01]

Grant

For people and companies
  • Confirm who you are with an EUDI Wallet or your national eID, such as Smart-ID, MitID, itsme or DigiD
  • Act for a company when the business register confirms your right to represent it
  • Give each agent its own mandate: actions, limits, services, expiry
  • Read it in plain language before you confirm
  • See every action and revoke in one click
[02]

Carry

For agent builders
  • Register as many agents as you need, each with its own key pair
  • Request a mandate from your user with a hosted flow, like Connect
  • Get short-lived tokens bound to the agent's key, one purpose at a time
  • Ask the user for approval when a step needs it
  • Works with the xRails API, SDKs, MCP and all connectors
[03]

Validate

For services and public bodies
  • Verify any agent request with our SDK or API
  • Check the agent's key, the mandate, its scope, assurance level and revocation status
  • Decide which actions you allow agents to perform, action by action
  • Deny by default: no valid mandate, no access
  • Verify locally, without telling anyone where the person uses agents
[how a mandate works]>[sequence]

From grant to action, step by step.

The person grants once, the agent carries proof, the service checks it itself. Anything risky goes back to the person's phone.

[PRINCIPAL] Person or company EUDI Wallet · national eID [XRAILS] xRails Mandates identity · mandates · audit [AGENT] AI agent own key pair [SERVICE] App or public service verifies with @xrails/verify [01] Confirm identity EUDI Wallet or national eID · LoA high [02] Check right to represent business register · BRIS [03] Grant mandate actions · limits · expiry, in plain language [04] Mandate credential bound to the agent's key [05] Request with key proof and mandate DPoP · token exchange [06] Verify locally, deny by default key · scope · limit · assurance level [07] Status check privacy-preserving status list [08] Result action done [ OVER LIMIT OR HIGH-RISK: PAYMENT, FILING, SIGNATURE ] [09] Ask for approval CIBA [10] Approve on your phone wallet or Smart-ID [11] Approved [12] Single-use approval token one action, short-lived [13] Request with approval proof [AUDIT] Every step is logged with agent, principal and mandate, and sealed with an electronic seal and timestamp.

Scroll sideways to see the whole diagram.

[agent validation]

What a service sees when an agent knocks.

Every agent request carries proof that the service can check itself. If any check fails, the request is refused.

[agent]
invoice-botproof of key possession, fresh for this request
valid
[acting for]
Maali OÜ, via its board memberonly the attributes this service needs
valid
[mandate]
mnd_8f3k2 · merit.invoices.createwithin limit: €640 of €1,000
valid
[assurance]
eIDAS level of assurance: highgranted with an EUDI Wallet
valid
[status]
Not revoked, not expiredchecked against a privacy-preserving status list
valid
[human]
Approval not required for this amountabove €1,000 the user confirms in their wallet
n/a
service.tsSDK preview · API may change
import { verifyAgentRequest } from "@xrails/verify";

const check = await verifyAgentRequest(req, {
  audience: "https://api.example.ee",
  action: "invoice.create",
  amount: { value: 640, currency: "EUR" },
  minAssurance: "high",
});

// Deny by default
if (!check.ok) return deny(check.reason);

check.agent;      // "agt_7q2…", bound to its key
check.principal;  // only disclosed attributes
check.mandate;    // id, scope, limits, expiry
[how it works]

From a wallet confirmation to a sealed audit trail.

[01] verify

Confirm the person

The user confirms who they are with an EU Digital Identity Wallet or a national eID. For a company, xRails checks the right to represent it in the national business register.

OpenID4VP · eIDAS LoA substantial / high
national eIDs, e.g. Smart-ID, ID-card, MitID, itsme, DigiD
business registers and BRIS representation data
[02] define

Write the mandate

Which agent, which services, which actions, which limits, until when, and what needs a human. Shown in plain language before confirming.

Rich Authorization Requests (RFC 9396)
per-action limits and amounts
[03] bind

Bind it to one agent

The mandate is issued as a signed credential tied to the agent's public key. A copied identifier is worthless without the key.

SD-JWT verifiable credential
OpenID4VCI · key binding
[04] act

Act with short-lived proof

For each task the agent gets a short-lived token that names the agent as actor and the person as principal, bound to the agent's key.

OAuth 2.0 Token Exchange (RFC 8693), actor claim
DPoP (RFC 9449) or mTLS (RFC 8705)
MCP authorization (OAuth 2.1)
[05] approve

Ask the human when it matters

Payments, filings, signatures and anything over a limit trigger an approval request on the user's phone. No approval, no action.

OpenID CIBA (out-of-band approval)
EUDI Wallet · Smart-ID
[06] seal

Seal every action

Each action is logged with agent, principal and mandate, and sealed so the record can be verified later and cannot be quietly changed.

eIDAS electronic seals and timestamps
exportable, verifiable audit log
[design principles]

Rules we build in, so nobody has to trust us blindly.

[01]

Agents are not people

An agent gets its own account and key, linked to the person or company that registered it. It never borrows a personal ID code or a human login.

[02]

One mandate per agent

A person can run many agents. Each one gets its own set of rights, matched to its job, and can be revoked on its own.

[03]

Proof, not identifiers

Knowing an agent's ID is never enough to act. Every request is signed with the agent's key and checked against a valid mandate.

[04]

Always distinguishable

A service can always tell an agent from a human. If it cannot, it refuses. Deny by default, everywhere.

[05]

Services decide

Agent access is switched on per service and per action by the service owner, never inherited from a human login.

[06]

No central tracking

Services verify mandates themselves. No central register learns which services a person uses through their agents.

[use cases]

Mandates for everyday business tasks.

[accounting]

Invoices and VAT

An accounting agent issues invoices and prepares the VAT return. Submitting it still needs the owner's approval.

may invoices.create ≤ €1,000
may vat.prepare
needs you vat.submit
[company]

Company admin

A board member lets an agent fetch company data and book parcels, after the business register confirms the right to represent.

may register.reports.read
may shipments.create ≤ 20 / day
never payments
[inbox]

Inbox assistant

An assistant sorts email and drafts replies. Every send is confirmed by the person, one tap in their wallet.

may mail.read · mail.draft
needs you mail.send
valid 30 days
[agent payments]>[early access]

When an agent has to pay, the mandate sets the limit.

More and more APIs, data sources and tools charge per request and answer an agent with "402 Payment Required" (the open x402 standard). With xRails, every payment an agent makes is checked against its mandate first: who allowed it, how much, to whom, and until when.

[01]

Limits in the mandate

set once, enforced always
  • Per payment, per run and per month
  • Allowed sellers and categories only
  • Expires with the mandate, revocable at any time
[02]

A person above the limit

approval in seconds
  • Over-limit payments wait for a person
  • One tap in the EU wallet or a national eID
  • The agent continues once approved, or stops
[03]

Paid and proven

for you and the seller
  • xRails pays and adds it to your monthly invoice in euros
  • No crypto wallet, no balance held with us
  • The seller sees which mandate allowed the payment
mandate scopemnd_8f3k2
may   pay.api          ≤ €2 per call
may   pay.data         ≤ €20 per run, ≤ €200 / month
only  sellers          company-data · credit-check · news
needs you            any payment over €20
never pay.transfer     money to people or bank accounts

An agent doing market research may buy company reports and credit checks for a few cents each. A payment over €20 waits for your approval, and transfers to people or bank accounts are never allowed.

[public sector]>[national infrastructure]

Designed to plug into how each country already works.

Public services in Europe run on national data exchanges, eIDs and mandate systems. Mandates are built to sit alongside them, not to replace them, and to connect through the EU's own cross-border building blocks.

[country][government data exchange][identity and mandates]
EstoniaX-tee (X-Road)ID-card, Mobile-ID, Smart-ID · e-Business Register representation rights
FinlandSuomi.fi Data Exchange Layer (X-Road)Suomi.fi identification · Suomi.fi e-Authorizations
IcelandStraumurinn (X-Road)national eID
GermanyFIT-Connect · OSCI / XTABundID · Mein Unternehmenskonto
NetherlandsDigikoppelingDigiD · DigiD Machtigen · eHerkenning
BelgiumFederal Service Busitsme · CSAM
DenmarkDatafordelerenMitID · MitID Erhverv
EU-wideOnce-Only Technical System · eDelivery (AS4) · PeppolEUDI Wallet · eIDAS nodes · BRIS business registers

Examples, not a list of live integrations. Each country is added together with local pilot partners. Missing yours? Tell us.

[open standards]

Built on what Europe already agreed on.

No home-grown protocol. Mandates use eIDAS 2.0 and open OAuth and OpenID standards, so they work across borders and with the EU Digital Identity Wallets member states provide.

eIDAS 2.0 · EUDI WalletConfirm the person at substantial or high assurance
OpenID4VP · OpenID4VCIPresent identity, issue mandates as credentials
SD-JWT VCDisclose only what a service needs
RFC 8693 Token ExchangeAgent acts for a person, both named
RFC 9396 RARFine-grained actions with limits
RFC 9449 DPoP · RFC 8705Tokens bound to the agent's key
OpenID CIBAHuman approval on the phone
Electronic sealsTamper-evident audit records
[roadmap]>[in design]

Prototype first, with the people who will use it.

Mandates are in design. We are prototyping on open standards and looking for agent builders, service providers and public-sector teams to pilot with.

[phase 1]

Mandates inside xRails

Per-agent mandates enforced by the xRails proxy for all connectors, with limits, approvals and a sealed audit log.

[phase 2]

Wallet and eID

Person confirmation with EU Digital Identity Wallets and national eIDs, starting with Estonia and the Nordics, company representation checks, mandates as credentials.

[phase 3]

Validation for any service

Open verification SDK and API so any service, private or public, can validate agent requests and set its own rules, including over national government data exchanges.