ORG-1 — Organisations: Profile, Provider Setup, Personal Data, Budgets, Fleets#
Version 0.2.7-draft · Part of the AllowedBy specification set
1. Purpose#
The other documents describe one agent, one human and one service. This document covers the organisations around them:
- what a company publishes about itself, and how a human can trust it (§2);
- what a SaaS or API provider configures to accept agents, including for many tenants (§3);
- which personal data a service receives, and when (§4);
- how much money agents can commit, in total (§5);
- how a human acts for a company, under a mandate (§6);
- how a company manages a fleet of humans and agents (§7).
The rule from the rest of the set applies here too. A service still verifies every request offline from the grant alone, and nothing in this document adds a network call to the hot path (ARCH-1 §4).
Three kinds of organisation appear. One company can be all three.
| Role | Example | What it does |
|---|---|---|
| Provider | Globex, a SaaS ERP with an API | Owns the resources and runs the verifier. It writes the route map, the templates and the authority policy. |
| Operator | Acme AI, which runs the assistant | Runs agent runtimes, and its domain appears as actor.operator (OAID-2 §5). |
| Employer | Initech, whose staff approve agents at Globex | Its humans act for it. It gives them mandates, budgets and policies, and it manages them as a fleet (§6, §7). |
2. Organisation profile#
Every provider, operator and employer publishes a profile. The approval page and the wallet use it to show who they are dealing with. The profile is a JWS, typ: aby-org+jwt, signed by a key in keys of the organisation's /.well-known/allowedby (ABY-3 §5). Operators publish it in /.well-known/oaid-operator. In both files it is the member org.
{
"v": 1,
"org": "https://api.globex.example",
"iat": 1761700000,
"exp": 1793236000,
"legal_name": "Globex SA",
"trade_name": "Globex",
"country": "FR",
"ids": { "lei": "969500ABCDEFGHIJ1234", "euid": "FRRCS.552100554", "vat": "FR12552100554" },
"website": "https://globex.example",
"support": "https://globex.example/support",
"privacy_policy": "https://globex.example/privacy",
"dpo": "mailto:dpo@globex.example",
"logo": { "uri": "https://globex.example/logo.svg", "sha256": "<base64url SHA-256 of the file>" },
"proof": { "type": "qseal", "jades": "<JAdES compact JWS, detached payload = JCS(profile without proof)>" }
}| Member | Required | Meaning |
|---|---|---|
org |
yes | The origin or domain the profile is about. It MUST be the origin that serves the file. |
exp |
yes | At most one year after iat. |
legal_name, country |
yes | The registered name and the ISO 3166-1 alpha-2 country. |
ids |
no | Company identifiers: lei (ISO 17442), euid (EU business register), vat, or duns. |
website, support, privacy_policy, dpo |
privacy_policy is required for any provider that requests disclosure (§4) |
Shown in the wallet. |
logo |
no | Shown only when the profile is verified and the file matches sha256. |
proof |
no | Evidence that the legal name and identifiers belong to the domain. See below. |
Proof types, in order of preference:
type |
Evidence | Checked by the node |
|---|---|---|
qseal |
The profile is also sealed as JAdES with a qualified electronic seal certificate (eIDAS Art. 36–38). | The chain leads to a seal QTSP in the EU trusted lists. The certificate's organizationIdentifier (ETSI EN 319 412-1: LEI…, VAT… or NTR…) equals an entry in ids. |
vlei |
A vLEI credential for ids.lei. |
The credential chain to GLEIF. |
vouch |
A vouching statement (OAID-5 §4) from a trusted node with org_verified: true, issued after its own business verification. |
The vouching node is in the node's trust list. |
The home node fetches the profile from the origin over TLS and caches it until exp or for 24 hours, whichever comes first. It re-checks proof on each fetch. The approval page (AMH-1 §6) shows:
- Verified: "Globex SA · FR · verified by qualified seal", with the logo, above the hostname. The page always shows the hostname verbatim.
- Not verified: the hostname alone and "organisation not verified". It shows no name and no logo.
A profile never changes what a grant allows. It only tells the human who they are dealing with.
3. Provider configuration (SaaS and API providers)#
A provider configures AllowedBy once, in its own configuration file. The SDK middleware reads that file, verifies requests and serves /.well-known/allowedby (ABY-3 §5). The file format below is informative. What is published is normative in ABY-3 §5.
3.1 The configuration file#
origin: https://api.globex.example
org: # §2, published as the signed `org` member
legal_name: Globex SA
country: FR
ids: { lei: 969500ABCDEFGHIJ1234, vat: FR12552100554 }
privacy_policy: https://globex.example/privacy
dpo: mailto:dpo@globex.example
proof: { type: qseal, signer: kms://globex/qseal } # optional
keys: # private keys stay in the KMS
sign: kms://globex/allowedby-sign # signs approval requests, the profile and authority policies
disclosure: kms://globex/allowedby-enc
trust:
lists: [ https://trust.allowedby.org/default.jwt ]
max_level: { "node.example.org": 2 } # cap nodes whose identity providers you do not accept
accounts:
link: /allowedby/link # aby:link endpoint (ABY-3 §6)
require_link: [ write-hard, irreversible ]
disclosure: # §4: every attribute you may ask for, with a purpose
email: { purpose: { en: "Send you the payment receipt" }, retention_days: 365 }
legal_name: { purpose: { en: "Name on the signed contract" }, retention_days: 3650 }
age_over_18: { purpose: { en: "Check you may sign" }, retention_days: 0 }
routes: # ABY-3 §4.1
"GET /me": { level: 0 }
"GET /invoices/**": { capability: invoices:read, class: read }
"POST /invoices/{id}/approve": { capability: invoices:approve, class: write-hard, level: 2,
amount_field: /total, mandate: true }
"POST /payments": { capability: payments:release, amount_field: /amount, level: 3, authn: hardware,
class: [ { up_to: "1000.00", class: write-hard }, { class: irreversible } ],
authority: true }
"POST /contracts/{id}/sign": { capability: contracts:sign, class: irreversible, level: 2, qes: true,
disclose: [ legal_name ], disclose_optional: [ email ] }
templates: # the only source of the sentence the human signs
invoices:approve:
summary: { en: "Approve invoice {scope}, up to {amount.max} {amount.currency}" }
lines: { en: "Approve invoice {scope}, up to {amount.max} {amount.currency} per {amount.per}" }
authority: policies/authority.yaml # ABY-1 §5, signed and published as `authority_policy`
tenants: # §3.3
scope_prefix: "tenant:{tenant}:"
overridable: [ level, authn, qes, authority, max_lifetime, amount_max, budget, operators, require_link ]
status: { fail_closed_after_seconds: 60 } # ABY-2 §5 step 3, for write-hard and irreversible
callback: /allowedby/callback # where nodes deliver approvals and disclosures
audit: { sink: "stdout-json" } # §7.6 event format3.2 Setup steps#
| # | Step | Required | Done when |
|---|---|---|---|
| 1 | Install the middleware for your stack and point it at the file. | yes | GET /.well-known/allowedby returns the vocabulary. |
| 2 | Create the signing and encryption keys in your KMS. | yes | keys (and disclosure_key if used) are published. |
| 3 | Write the route map: one entry per route, with a level from 0 to 3. Start from the class defaults (ABY-3 §4). | yes | Every route that changes state has a capability. |
| 4 | Write templates in every language your users read. | yes | Each capability has a summary and a lines template. |
| 5 | Publish your organisation profile, ideally with a qualified seal. | yes; the proof is recommended | The approval page shows your legal name as verified. |
| 6 | Choose trust lists, and cap levels for nodes you do not accept. | yes | trust.lists is set. |
| 7 | Add account linking (aby:link) to your signed-in settings page. |
before write-hard |
A user can link their AllowedBy identity to their account. |
| 8 | Declare the personal data you need, with a purpose for each attribute (§4). | only if you need it | Each attribute has a purpose and a retention period. |
| 9 | Add authority policies and organisation budgets for your customers (ABY-1 §5, §5.3). | only if you need them | The policy is signed and published. |
| 10 | Run the conformance vectors and the sandbox node (CONF-1). | yes | The vectors pass. |
| 11 | Go live: switch the trust list from the sandbox to production. | yes | You see the first verified call in your audit log. |
3.3 Multi-tenant providers#
A SaaS serves many customers (tenants) on one origin. The audience stays the provider's origin. Tenants are separated by scope:
-
Resource ids MUST start with the tenant, as in
tenant:initech:invoice:4711, and templates SHOULD show it. A grant for one tenant then cannot match another tenant's resources (ABY-3 §3). -
The provider MAY let each tenant's administrators tighten routes for their tenant. They can:
- raise the level;
- require
authn: hardware,qes,authority,mandateor account linking; - shorten lifetimes and lower amount ceilings;
- set a tenant budget (§5.3);
- restrict which operators may act (an allowlist of
operator.id).
A tenant can never loosen a route below the provider's route map. The verifier applies the stricter of the two. These overrides are keyed by capability, so they apply to routes of level 1 or more: a level-0 route has no capability (ABY-3 §4.1).
-
A provider MAY make a tenant members only: every route of the tenant then needs a mandate from the tenant's organisation (§6). A level-0 route of that tenant carries no grant, so no mandate: it is refused with
401 mandate_required, before the verifier answers a level-0 route on the agent's passport alone. -
A tenant's authority policy is an
aby-authority-policy+jwtwhoseorgishttps://<origin>/tenants/<tenant>. The provider signs it with its keys and publishes it athttps://<origin>/.well-known/allowedby/tenants/<tenant>. Co-approvers' home nodes fetch it there. -
Tenant configuration is the provider's own product surface, such as an admin page or an API. It is not part of the protocol.
4. Personal data#
4.1 What a service always receives#
Every grant gives the service the following, and nothing else:
| Item | Personal? | Why |
|---|---|---|
Pairwise human id (human.id) |
Pseudonymous, and different for every service | To recognise the same person next time and link the id to their account (aby:link). |
Registration (human.reg) |
No name, email or phone | Home node, level, authenticator class (hardware, synced or software), and level expiry. |
| Level reached, approval time | No | To check the route's level. |
acting_for (§6) |
The employer's name, plus the human's role if the mandate states one | Only when the human approves on behalf of an organisation. |
The agent (actor) |
No | Operator and runtime ids. |
The service gets no name, email, phone, age or address unless the human discloses it (§4.2). Pairwise ids stop services correlating a person by id. Per-audience passkeys stop them correlating by key (OAID-7 §8).
4.2 Disclosure#
A service that needs more asks for it per route (disclose and disclose_optional in the route map), from the catalogue in OAID-7 §7. It may ask only for attributes it declared in /.well-known/allowedby with a purpose and a retention period. For each request:
- The approval page lists every attribute with its purpose, the retention period, and the provider's legal name and privacy policy (§2). Required attributes are listed as part of the approval. Optional ones are unticked by default.
- The human approves (all required attributes, plus any optional ones they tick) or denies. There is no partial approval of required attributes.
- The home node issues an SD-JWT VC holding exactly the attributes chosen and encrypts it to the provider's
disclosure_key. It puts its hash in the grant core asdisclosure_hash, before the passkey ceremony, so the human's signature covers what they disclosed. - The wallet records each disclosure: which attributes, to whom, when, and the retention the provider declared. It shows the history with a link to the provider's privacy policy so the human can exercise their rights there.
Rules:
- Predicates first. A provider that only needs to know an age MUST ask for
age_over_NN, notbirth_date. Home nodes MUST support predicates. - Contact attributes (
emailandphone, which the home node verified itself) are available from level 1. Identity attributes come from an identity provider and need level 2 or 3. - A disclosure goes only to the audience. It is never logged, never given to the agent, never passed to sub-agents, and pruned from the node after 90 days.
- Roles. The provider is the controller for what it receives. The home node is the controller for the identity record. An organisation node (§7) is the employer's processor.
5. Budgets#
Money is limited at three layers. Each layer is enforced by a party that can enforce it without new network calls.
| Layer | Set by | Enforced by | How |
|---|---|---|---|
| 1. Grant | The human, on the page (from the service's request) | The service | amount constraint: per call, per grant, or per day, week or month (ABY-3 §2) |
| 2. Human budget | The human, in the wallet | The home node | Reservation at approval time (§5.2) |
| 3. Organisation budget | The employer (§7) or the provider's customer (authority policy) | The organisation node, or the service | Reservation (employer) or counting (provider) (§5.3) |
5.1 Exposure#
The exposure of a grant in a currency is the most it could commit, inside a given period, under its amount constraints:
amount.per |
Exposure in a period |
|---|---|
grant |
max |
call with count.max |
max × count.max |
call without count |
Unbounded |
day, week, month |
max × the number of such periods of the grant's life that overlap the period |
A grant with several capabilities has the sum of their exposures in that currency. Different currencies are never converted.
5.2 Human budget (wallet)#
In the wallet, a human may set budgets such as { "max": "2000.00", "currency": "EUR", "per": "month" }. A budget covers everything by default, and can be limited to one audience or one operator.
Before building a grant core, the home node adds the new grant's exposure to the exposure already reserved by the human's live grants for that budget and period:
- If the total stays within the budget, the page shows "Reserves X of your Y remaining this month" and Allow is enabled.
- If it would exceed the budget, the page says so and Allow is disabled. The human can deny, or raise the budget in the wallet with a passkey tap and come back.
- A grant with unbounded exposure in a budgeted currency cannot be approved.
A reservation ends when the grant expires or is revoked. The budget is counted per human, across every service and every node, because only the home node sees all of a human's grants. It needs no spend report from services, since each service enforces its own grant's limits. Reserving the maximum is conservative by design. A later version may let services return unused amounts with signed receipts.
5.3 Organisation budgets#
- Employer side. An organisation node (§7) applies the reservation of §5.2 with budgets set by administrators: per member, per team, per operator, and for the whole organisation. A member cannot raise them. The page shows the tightest remaining budget.
- Provider side. An authority policy rule (ABY-1 §5) MAY carry
budget: { "max", "currency", "per": "day" | "week" | "month" }. The service counts the amounts it accepts under that rule (all grants, all approvers, for that policy'sorgor tenant) and refuses a request over budget with403 budget_exceeded. It needs no new approval, because more approvers cannot fix a budget. - Tenant budgets. A provider MAY set a budget on a capability of a tenant (§3.3), with the same members and an optional
tz. Both kinds count the same way:- The period is the calendar day, ISO week or month in
tz(IANA, default UTC; ABY-3 §2). - The amount is the request's value at the route's
amount_field, in the budget'scurrency. A request on a budgeted route without an amount in that currency is refused with403 budget_exceeded: amounts are never converted (§5.1), and an amount that cannot be counted must not pass uncounted. - A request the service would answer with a challenge (ABY-2 §6) is refused with
403 budget_exceededinstead when the budget cannot take it, so nobody is asked for an approval that cannot succeed. - A request refused for any reason is not counted. The count is shared by every instance of the service.
- A rule's count follows the rule, not the policy's signature. A policy signed again with the same rule (
cap,amount,group, and the budget'scurrency,perandtz), keeps the rule's count for the period.
- The period is the calendar day, ISO week or month in
- Policy lifetime. An authority policy (ABY-1 §5) lives at most 365 days (
exp - iat), and its signer signs it again past half its life. A verifier MAY accept the immediately previous policy JWS of the same scope (the service, or one tenant), by its ownjtiandpolicy_hash, until that policy's ownexp, only when itsrulesandgroupsare identical to the current one's: approvals made under it stay valid through a renewal. Any change of content supersedes it at once.
6. Acting for an organisation (mandate)#
When a human approves for their employer, the service needs to know that this person may act for that company. Their own identity is not enough.
Mandate. The employer issues a JWS, typ: aby-mandate+jwt, signed by a key in keys of the employer's /.well-known/allowedby. That file MAY hold only org and keys.
{
"v": 1,
"iss": "https://initech.example",
"jti": "01JC0…",
"iat": 1761700000,
"exp": 1764292000,
"home": "nodes.initech.example",
"keys": [ "<JWK thumbprint (RFC 7638) of the human's passkey public key>" ],
"role": "Accounts payable clerk",
"caps": [ { "cap": "invoices:approve", "constraints": { "amount": { "max": "10000.00", "currency": "EUR", "per": "call", "field": "/total" } } } ],
"audiences": [ "https://api.globex.example" ]
}expis at most 30 days afteriat. The organisation node renews mandates automatically while the member is active (§7.2), so a mandate needs no status list.keysbinds the mandate to the human's passkeys, andhometo their home node.capsandaudiences, when present, cap what grants under the mandate may allow.
In the grant. The home node adds to the core acting_for: { "org": "https://initech.example", "mandate": "<compact aby-mandate+jwt>" } and caps the grant's exp at the mandate's exp. Because acting_for is in the core, the human signs that they act for Initech. The page shows "for Initech SA (verified)" from Initech's profile (§2).
Verification. On a route with mandate: true, or whenever acting_for is present, the verifier checks:
- the mandate signature with a key from the
orgorigin's/.well-known/allowedby, fetched and cached like an authority policy; iss == acting_for.org,exp, andhome == human.reg.iss;- that the thumbprint of
human.reg.keyis inkeys; - that the grant's capabilities attenuate
caps, when present (ABY-3 §3); - that its audience is in
audiences, when present.
A service creating an approval for such a route sets mandate: true in the request (AMH-1 §3), so the page asks the human to approve for their organisation. Failure, or a missing mandate on a mandate: true route, gives 401 mandate_required. The service then authorises the organisation (the tenant in §3.3) and not just the person.
acting_for is not authority. A mandate says the employer lets this person act for it. An authority policy (ABY-1 §5) says the provider's customer requires these approvers for this amount. A route may require both.
7. Fleet management#
An employer with many staff and many agents runs an organisation node, a home node (OAID-7 §4) operated by or for the employer, with an admin console. It is the home node of every member for their work identity. A member may also keep a personal home node. The approval page always says which identity is approving, "as yourself" or "for Initech".
7.1 Console roles#
| Role | Can |
|---|---|
| Owner | Everything, including the org keys and the organisation profile |
| Admin | Members, teams, policies, budgets, operators, revocation |
| Team manager | See their team's grants and pending approvals; revoke them |
| Auditor | Read everything, export; change nothing |
Every console action is logged. Admin actions need a passkey tap at level 2. Changes to policies, budgets or keys need two admins.
7.2 Members (humans)#
-
Provisioning. Members and teams are synchronised from the company directory with SCIM 2.0 (
/scim/v2/Usersand/scim/v2/Groupson the organisation node), for example from Microsoft Entra ID, Okta or Google Workspace. -
Enrolment. The member signs in once with the company's SSO (OpenID Connect) and creates a passkey. That gives level 1. Level 2 or 3 is reached as usual through an eIDAS identity provider (OAID-7 §5): a company directory is never an eIDAS level. The node issues
human.regand a mandate (§6) for the member's role. -
Teams. Teams are SCIM groups. They can feed the
groupsof the provider-side authority policies the company owns (ABY-1 §5), so "finance-approvers" follows the directory. -
Leavers. SCIM deprovisioning, or an admin, triggers three things:
- revocation of every grant signed under the member's registrations (revocation target
{ "reg" }, ABY-1 §9); - revocation of the registrations themselves;
- an end to mandate renewal.
Within one status refresh (≤ 60 s for serious actions), no service accepts that member's grants.
- revocation of every grant signed under the member's registrations (revocation target
-
Absence. Deputies are expressed in authority groups and quorum (ABY-1 §5), not in the protocol.
7.3 Agents#
- Allowed operators. The organisation keeps an allowlist of
operator.ids, with a minimum custody tier for each. Members can approve only agents from listed operators. The node refuses other approval requests with403 capability_deniedbefore the human is asked. - Company agents. When the employer runs its own agents, it is the operator: its domain is
operator.id, verified by DNS (OAID-2 §5), at custody tier 1 or above. - Inventory. The console lists every agent (passport
sub, operator, runtime, tier), what it may do (its live grants), for whom, and its last use as reported by members' wallets.
7.4 Policies#
The organisation sets these once and the organisation node applies them before any grant is offered to a member:
| Policy | Example |
|---|---|
| Audiences | Allowlist or blocklist of services: "only our ERP, bank and CRM" |
| Operators | Allowlist with minimum custody tier (§7.3) |
| Levels | A minimum level per class across all services, for example level 2 for every write-hard |
| Lifetimes | Maximum standing period per class, for example 7 days for write |
| Budgets | Per member, team, operator and organisation, per currency and period (§5.3) |
| Internal approval | Above an amount, a second member (for example the member's manager) must also tap before the node countersigns. This is the employer's own control. Services see a normal grant. |
| Disclosure | Attributes members may never disclose for work, for example birth_date |
Policies only narrow. They never let a member approve something a service's route map would refuse.
7.5 Operations#
| Situation | Action |
|---|---|
| Member leaves | Revoke target { "reg" } for each registration, automatic from SCIM (§7.2) |
| Agent vendor incident | Revoke target { "operator" } for every member, then remove the operator from the allowlist |
| Agent key leaked | Revoke target { "kid" } |
| Stop using a service | Revoke target { "audience" } for every member, then block the audience |
| Mandate change (new role) | Issue a new mandate. Grants under the old one end at its exp or are revoked. |
7.6 Audit and reporting#
The organisation node exports events as JSON lines, one per event, to the company's SIEM. Event types:
approval.created,approval.approved,approval.denied;grant.revoked,grant.expired;budget.reserved,budget.released;member.enrolled,member.removed;policy.changed,operator.blocked.
Each event carries the ids (aid, gid, member, operator, audience), the class, level, amounts, time and console actor. It never carries disclosed attributes.
Reports include:
- live grants per member, agent and service;
- reserved budget against limits;
- denials and "not me" reports;
- agents that are unused or close to their limits.
An evidence pack for one grant contains the grant, its log inclusion proof, the approval record and the policy in force. An auditor can check it offline.
8. Privacy between employer and employee#
- The organisation node sees only grants approved with the work identity. It never sees the member's personal home node.
- Team managers see their team's grants. Nobody in the console sees disclosed attributes.
- Members see in their wallet every policy, budget and mandate that applies to them.
- The employer is the controller of work identity records. When a member leaves, the identity verification record is erased after the period in the employer's policy. Log commitments are kept (OAID-1 §10).
9. Security considerations#
- A profile without proof could claim any name, so unverified profiles show nothing but the hostname.
- Budgets reserve the maximum exposure, so an agent cannot exceed a budget whatever it does, even across many services that never talk to each other.
- Mandates are short-lived and bound to passkeys. A stolen mandate is useless without the passkey, and a leaver's mandate dies within 30 days even if revocation failed.
- Two-admin changes and level 2 admin taps keep a single compromised admin account from widening policies or creating mandates silently.
- Authority policies (ABY-1 §5): a service counts each co-approver's verified credential once, but decides group membership from the approver's pairwise
id, which only the creating home node vouches for, by countersigning the grant. The service trusts that node, the trust anchor it already relies on for the primary human, to bind each approver'sidto the credential that signed (ABY-1 §10).
Change log#
Every change to this document adds a row here and increments its version (README, Versioning).
| Version | Date | Change |
|---|---|---|
| 0.2.7-draft | 2026-11-29 | §3.3: tenant overrides are keyed by capability, so apply from level 1 (a level-0 route has none, ABY-3 0.2.14 §4.1); a members-only tenant refuses its level-0 routes with 401 mandate_required. |
| 0.2.6-draft | 2026-11-28 | §5.3: tenant budgets; for both kinds, the period in tz, the refusal of an amount that cannot be counted, the refusal before a challenge, one count for every instance, and a rule's count that survives the policy's re-signing; §9: the trust in the creating home node for each co-approver's id; §5.3 Policy lifetime: at most 365 days, re-signed past half its life, the immediately previous policy of identical rules and groups acceptable until its own exp, any change of content superseding it at once. |
| 0.2.5-draft | 2026-10-29 | Approval requests for mandate routes carry mandate: true (CHANGES §19). |
| 0.2.4-draft | 2026-10-29 | New document: organisation profile, provider configuration and tenants, personal data, budgets, mandates, fleet management (CHANGES §18). |