NOMOI Network of Mandated Operational Invariants

Grant, check and revoke authority across every boundary.

NOMOI records who may act, what they may do and for how long in a signed chain of delegated authority. A bank, a door controller or a carrier working with your AI agent can check that chain independently, without a live call to you or access to your systems. An auditor can examine the retained evidence years later.

Most organizations run a separate authorization system at every boundary: IAM roles for staff, badge servers for doors, signature cards for banks, API keys for machines, portals for suppliers. NOMOI gives them one protocol for delegated authority. Publish a revocation once, and verifiers reject the affected chains when they refresh the anchor state.

  • No central authority or governing body
  • No identity provider
  • No account with the issuer
  • No private API
  • No prior integration
NOMOS com.acmek51qzi…3t7xh2 TA administrator until 17:00

This browser

Mandates

Held in this browser 3

  • com.acme until 2027-10-27 09:00:00 to CFO · root bafyreib7rq2xk5m3ndlfh4w6ay2pc7gzt3uoe5lqvjm4xk2s6dhn3wqzle
  • com.acme.finance until 2027-10-12 09:00:00 to treasury lead · 2 of 2 links bafyreigx3pvn7k2c4qtm5ehr6ws3yjduo2lfa7b4zkxq5mn6tcr2eplvhi
  • com.acme.finance.banking.acmebank until 2027-01-25 17:00:00 to settlement clerk · 3 of 3 links bafyreid5wq6mz2hk7xr3vte4cn5ub2sojl6ayf3gq7kpx4dm2rzhn5vcte

Verifiercom.acmebank · k51qzi5uqu5dhb3t…

Valid The chain is sound. That does not show who presents it: challenge its holder for that.

Verified chain, root first

  1. com.acmeRoot · to CFO · until 2027-10-27 09:00:00
  2. com.acme.financeDelegation 1 · to treasury lead · until 2027-10-12 09:00:00
  3. com.acme.finance.banking.acmebankDelegation 2 · to settlement clerk · until 2027-01-25 17:00:00

Revoke any mandate and watch the bank's verifier reject it, along with everything delegated from it.

nomoi.topology

Independent parties. No central operator.

The issuer publishes its trust policy, the holder carries the signed chain, and the verifier checks it locally. Each party controls its own infrastructure. Verification needs no direct call to the issuer or shared authorization database.

NOMOI topology: independent parties, no central operator Three independent participants exchange proof of authority. The issuer (com.acme) publishes its Trust Anchor through its own node. The holder, a settlement clerk, carries the mandate chain in a key wallet and signs a challenge to prove control of the leaf key. The verifier (com.acmebank) runs its own verifier, administrator anchor and node. It retrieves the issuer's anchor independently through the content-addressed network and checks the chain locally. Verification requires no direct call to the issuer, issuer account or shared authorization database. NO ISSUER CALL · NO ISSUER ACCOUNT · NO SHARED AUTHORIZATION DATABASE OWN PREMISES ISSUER com.acme the manufacturer runs its own appliance NOMOSappliance dashboard trust anchor ids/ who may sign whitelist/ roots we accept ids/revoked/ revoked keys mandates/revoked/ revoke here v1/previous-cidstate history key wallet alice Ed25519 root signer node ipfs publishes k51qzi5uqu5d… RUNS: APPLIANCE · KEYS · NODE OWN DEVICE HOLDER settlement clerk a key wallet on a phone or in a browser WALLETin the browser offline leaf key clerk private key stays on this device mandate chain com.acme root bafyreib7rq2xk5m3ndlfh4w6ay2pc7… com.acme.finance delegated bafyreigx3pvn7k2c4qtm5ehr6ws3y… com.acme.finance.banking.acmebank bafyreid5wq6mz2hk7xr3vte4cn… leaf RUNS: KEY WALLET · NO SERVER OR NODE OWN PREMISES VERIFIER com.acmebank the bank runs its own verifier and anchor NOMOSverifier serve administrator anchor whitelist/ accepts com.acme mandates/revoked/ a local veto verdict VALID 200 Signatures, scopes, validity periods and revocations checked locally. node ipfs resolves anchors itself RUNS: VERIFIER · OWN ANCHOR · NODE mandates out of band 2 chain 3 challenge ⇄ proof 4 content-addressed network participants run their own nodes · no central operator IPFS is the reference binding · any conforming transport works 1 publish anchor state 5 fetch com.acme’s anchor

Tap the diagram to see it at full size.

nomoi.topology

Drag to pan across all three participants.

  1. 1

    Publish

    Acme publishes its anchor state through its own node. Other nodes can retain and serve copies.

  2. 2

    Hand over

    Acme gives the clerk the chain as PEM, a QR code, via NFC or by content address. Mandates can be signed offline.

  3. 3

    Present

    The clerk presents the chain to the bank from a wallet on their phone or in their browser.

  4. 4

    Prove

    The bank sends a fresh challenge. The clerk signs the response with the leaf key within thirty seconds.

  5. 5

    Resolve

    The bank retrieves Acme's current anchor independently of the clerk and checks the chain locally.

  6. 6

    Revoke

    Acme publishes one revocation entry. Verifiers reject the affected chains once they retrieve the updated state.

nomoi.the-problem

Authority stops at the edge of the system that granted it.

Who authorized this person to act, and could they delegate that authority? The answer is scattered across systems: IAM roles for staff, badge servers for doors, signature cards for banks, API keys for agents and portal accounts for suppliers. An auditor has to piece the answers together from exports. Each system holds only part of the record.

Nobody outside can check a grant

A CFO grants a clerk signing authority, and a flag flips in a database. A bank, partner or auditor can confirm that grant only by asking the issuer, so every check turns into a phone call, an email or a portal login.

Audits rebuild the past from fragments

Years later, a regulator asks whether an action had proper authorization and receives screenshots, email threads and database exports. The reviewer must establish whether those records are complete and unchanged.

Every new partner adds integration work

Sharing authorization across institutions takes a custom agreement, a proprietary API or a common platform. Every new partner adds one more integration, and every departure has to reach all of them.

nomoi.capabilities

Grant authority others can verify, delegate and revoke.

Signed mandates carry the delegation; Trust Anchors publish the policy needed to check it. The same rules apply across organizations. Offline checks require independently cached anchor states that meet the verifier's freshness policy, and later audits require retained evidence.

Delegate

Delegate a narrower scope of authority.

A holder can delegate only a strictly narrower scope, for a validity period contained within their own. Every verifier checks these limits at each link in the chain.

Verify

Check a claim without asking the issuer.

A verifier checks the chain against the issuing anchor and its own administrator's trust policy. It retrieves anchor states independently, with no issuer account or private API. If required state is unavailable, it reports an inconclusive result.

Revoke

Publish one revocation for every verifier.

Revoke a mandate or a key with one published entry, including authority delegated further down the chain. Verifiers reject affected chains once they retrieve the updated anchor state. Propagation depends on the transport and freshness policy.

Prove the holder

Prove control of the delegated key.

A chain shows which key received authority. A short signed challenge shows that whoever presents the chain controls that key. Two phones can run the exchange by QR code, and a browser or terminal works just as well.

Bind conditions

Attach the rules to the grant.

Spend limits, approved counterparties and export restrictions travel in a context object whose hash the mandate signs. No intermediary can strip them without breaking the chain, and your application decides how to enforce them.

Keep evidence

Keep evidence that can outlast the issuer.

Retain the verified chain, the anchor states used and a record of the decision. Each anchor state links to its predecessor by hash. With those records, auditors can examine earlier authority without relying on the issuer to remain available.

nomoi.problem-spaces

One protocol, many uses for delegated authority.

These scenarios use the same keys, anchors and mandates, with scopes and application policies tailored to each use. Start with one use case and reuse the same anchor as you add others. The specification works through the examples in detail.

Workforce & access

Roles any application can check

Each role assignment becomes a mandate stating who may act, for what and until when, signed by someone entitled to grant it. Applications verify roles against a trusted anchor. One published revocation withdraws authority across applications as they refresh their anchor state.

TodayA role table in every application, and an offboarding checklist for each.

com.acme.hr.payroll.approve
nomos/authentication

Workforce & access

Doors that close when someone leaves

An installer configures each door controller with one anchor identifier. HR grants an employee access to a floor; the employee taps NFC; the controller verifies the chain and challenges the employee's key. When the employee leaves, one revocation entry closes every door at its next refresh.

TodayA central badge server, and access lists synced to every door.

org.acme.floor3.east
Spec § B.3

Finance

Signing authority a bank can audit without calling you

A clerk presents a ninety-day mandate that the CFO issued under the manufacturer's root authority. The bank verifies the chain, has the clerk sign a fresh challenge, executes the wire and keeps the chain as evidence. Years later, the bank's regulator audits that record without involving the manufacturer.

TodaySignature cards, notarized powers of attorney, and a call-back to confirm.

com.manufacturer.finance.banking.acmebank
Spec § B.2

Finance

Two-of-three approvals without a smart contract

Each director approves with a separate mandate and its own chain. The relying application decides how many approvals to require: two of three today, three of five next quarter. Changing the rule touches no contract, and every approval stays independently verifiable.

TodayA bespoke approval workflow, or a multisig contract that must be redeployed to change.

com.bank.wires.large.authorize
Spec § B.6

Machines & agents

AI agents with bounded, provable, revocable authority

A purchasing agent bids on spot-market freight under a 24-hour mandate whose context caps the contract value and lists approved carriers. Before accepting a bid, a carrier traces the agent's authority back to its principal, and the principal can halt the agent with one revocation entry.

TodayAPI keys with permissions and ownership tracked separately.

com.shipco.procurement.agent.spot-market
Spec § B.5

Machines & agents

Verify offline with independently cached state

Issue a mandate without publishing it: its address derives from its bytes and stays the same if you publish later. Chains travel as PEM, QR codes, NFC or paper, and a verifier holding fresh enough anchor states, fetched independently, checks them with no network at all.

TodayChecks that depend on a live connection to the issuer.

nomos bundle --chain --qr <cid>
Implementation

Supply chain

Provenance a buyer can check four hops back

An automaker appoints an audit firm; the firm certifies a lithium mine; the mine signs each shipment; the battery maker extends the chain. A buyer scans the QR code on the finished car and verifies the whole graph without an account and without contacting anyone in it.

TodayPDF certificates and audit letters, checked by contacting whoever signed them.

com.automaker.goals.sustainability.auditor.mine.chile.atacama.shipment
Spec § B.1

Supply chain

A rule that survives three resellers

A manufacturer attaches a denied-party policy to its root mandate. Three delegations later, a point-of-sale gateway follows the reseller's chain back to the root and reads the committed policy. No intermediary can drop the rule without breaking the chain.

TodayContract clauses that each reseller has to pass on in good faith.

com.manufacturer.resale → … → 3 hops down
Spec § B.7

Public sector

EU Digital Product Passport, read and write

Product passports need to open restricted sections to repairers, recyclers and authorities they have never met. A national accreditation body issues role mandates, and the passport host grants access by verified scope instead of pre-arranged accounts. Access ends when the accreditation expires or the body revokes it.

TodayA pre-arranged account for every repairer, recycler and authority.

eu.dpp.role.recycler  ·  com.manufacturer.dpp.repair-history
Spec § B.9

Public sector

Trace a battery footprint to its source measurements

A product's carbon figure combines measurements from many suppliers. When each tier attests its batches under a chain that follows the bill of materials, an auditor traces the total back to its inputs, and revoking one supplier's mandate invalidates its contribution wherever someone checks the chain.

TodaySupplier declarations collected in spreadsheets, with signers tracked separately.

com.oem.bom.battery.cathode.precursor
Spec § B.10

Consumer

Sign in by proving control of a key

A platform issues a mandate to a key generated on the user's device. Signing in requires a signed response to a fresh challenge, so the service needs no password to verify the user. Separate keys limit the reach of a compromise; a published revocation withdraws a stolen key's authority as verifiers refresh.

TodayPasswords, password resets and stored password hashes.

com.e-commerce.user.actions
Spec § B.4

Social

A fediverse where authority can be checked

ActivityPub models the social graph but not institutional authority: a moderator's standing, a verification badge or one instance's trust in another lives in platform state. Give an actor's existing signing key a mandate, and its moderation actions carry proof of authority that issuer and host can each revoke.

TodayModerator lists and badges held as each platform's private state.

social.commons.moderation.reports.de  ·  press.presscorps.verified.journalist
Spec § B.8

nomoi.why-adopt

What changes when you adopt NOMOI.

NOMOI can work alongside your identity provider and applications. Once an application supports the protocol, it can check authority from other trusted anchors through the same verification process.

Each new counterparty

TodayAnother integration: an agreement, an API, an account on someone's platform.

With NOMOIOne whitelist entry naming their anchor and the scope prefix you accept from it.

Someone leaves

TodayA checklist of systems to update, with a risk of missing one.

With NOMOIOne published revocation entry. Chains through that key fail once verifiers retrieve the updated state.

Least privilege

TodayRole policies and periodic access reviews.

With NOMOIEnforced by the data: each hop narrows scope and time, and verifiers reject any hop that does not.

Audit

TodayExports, screenshots and email threads, assembled after someone asks.

With NOMOIRetained chains, anchor states and decision records that can be examined without the issuer.

A breach

TodayStored password hashes and shared authentication secrets.

With NOMOIPublic keys and signed mandates for verification. Using the authority still requires control of the private key.

Lock-in

TodayTrust lives on a vendor's platform and leaves with it.

With NOMOIAn open specification, an Apache-2.0 reference implementation and a transport of your choice. You run your own anchor.

Start with one use case. Run an appliance, publish an anchor and connect a verifier to an application. NOMOI records which keys carry which authority, and later uses can build on the same anchor.

nomoi.under-the-hood

How NOMOI works: four parts and one rule.

NOMOI uses key pairs, Trust Anchors, signed mandates and scopes. One rule connects them: delegated authority must narrow at every link. The specification covers the details.

01 — Identity

A key pair serves as the identity.

NOMOI needs no username, account, registry or DID resolver. A public key identifies its holder, and proving identity means proving control of the private key. Keep separate keys for different employers, consortia or platforms, and no central account links them.

alg −8 Ed25519  ·  −7 ES256  ·  −35 ES384  ·  −36 ES512
declared per mandate, from the IANA COSE registry, inside the signed payload

02 — Trust Anchor

A public record of who may speak for an institution.

Each institution publishes a Trust Anchor: a small directory naming the keys that may issue root mandates and the scopes they may grant, the other anchors it accepts as roots, and everything it has revoked. Every published state carries a content address and points to its predecessor by hash, and a stable pointer that only the operator can update leads to the latest. The dashboard's Policy page edits this directory as a draft and publishes each change as an immutable revision.

ids/ who may sign  ·  whitelist/ roots we accept  ·  ids/revoked/ · mandates/revoked/
v1/previous-cid links to the previous state in the anchor's history

03 — Mandate

One signed delegation, with a permanent address.

A mandate names its issuing anchor, its parent, its position in the chain, the keys and algorithms involved, its scope, its validity window and an optional context object. Deterministic CBOR encodes the same content into the same bytes, and therefore the same address, in every conforming implementation.

ta · iss · idx · alg · sub · salg · scope · iat · nbf · exp · ctx

04 — Scope

Authority only ever narrows.

Scopes form dotted paths, and each child must extend its parent's scope: never repeat it, jump to a sibling or widen it. Time narrows the same way. A mandate cannot start before or end after its parent, and its issuer must sign it while the parent remains valid. Every verifier checks both rules locally.

com.acme  →  com.acme.finance  →  com.acme.finance.banking.acmebank
com.acme  ↛  com.acme  ·  com.acme.operations  ↛  com.acme.finance

nomoi.verification

What a verifier checks, and what it reports.

Verification follows fixed rules on the verifier's own machine. The verifier retrieves required mandates and anchor states through its configured transport. It obtains anchor state independently of the presenter and applies its local trust and freshness policy.

Check the depth limit

Reject a claimed chain index at or beyond the verifier's MAX_GRAPH_DEPTH before doing any cryptographic work.

Whitelist pre-check

Stop any chain rooted in an anchor this deployment does not accept, before resolving any state.

Resolve both anchors

Resolve the administrator anchor that governs this deployment and the anchor that issued the chain, independently and on every check. Anchor state never comes from the presentation, because the party asking for trust must not control the revocation list.

Follow the chain from leaf to root

Follow each mandate's iss field to its parent, one hop at a time, until reaching index 0.

Check every link

Verify each signature with the parent's subject key. Check both algorithms, the index, strict scope narrowing and the validity window, and confirm that the issuer signed the child while its parent remained valid.

Check both revocation lists

Look up every mandate address and delegated key in the issuing anchor and in the verifier's administrator anchor. Either one can revoke, so local policy can reject authority the remote issuer still honors.

Validate the root

Confirm that the root signer appeared as a registered root identity in the anchor state named at issuance and still appears in the current one, that the anchor sits on the whitelist, and that the root scope falls under a prefix that whitelist entry grants.

Prove the holder

A chain alone cannot show that its presenter holds the delegated key. The verifier sends a 128-bit nonce, and the presenter signs it with the leaf key within thirty seconds.

Verdict

200

Checked and valid under the policy, state and time used. For later audits, retain the chain, the relevant anchor states and a record of the decision.

Verdict

417

Checked and rejected. An error bitset reports the failed checks. Some failures require a corrected chain; others may clear when time, trust policy or revocation state changes.

Not a verdict

503

Inconclusive. Required content or infrastructure was unavailable, so the verifier could not reach a verdict. Authorization is withheld. Retry when the dependency is available.

nomoi.boundaries

Where NOMOI ends and your application begins.

NOMOI verifies delegated authority. Your deployment supplies identity claims, business rules and a conforming transport.

No blockchain

NOMOI needs no global consensus and no shared transaction log. Signatures prove who delegated what, content addressing exposes any change, and each verifier picks the anchors it trusts. No registry anywhere lists every mandate.

No identity provider

NOMOI makes no claim about a person's name or attributes. It records which key received authority, from whom, for which scope and for how long. Applications attach any real-world identity to that key themselves.

No dependency on IPFS

IPFS serves as the reference binding because it has matured and gives every abstract operation a concrete form. The protocol itself asks for just six operations, so a private object store with signed manifests, a DASL-style CAR-over-HTTP transport or a different DHT all conform, and one deployment can mix bindings for storage and discovery.

No policy engine

A scope carries authority, and the relying application decides what that authority permits. Spend limits, approval thresholds and similar conditions can travel in a context object whose hash the mandate commits to. NOMOI preserves that object and leaves its interpretation to you.

nomoi.get-started

Run your own Trust Anchor with nomos.

nomos, the reference implementation, ships as an appliance with a web dashboard and browser key wallet, a CLI, and a sign-in package for your own applications. Its protocol package stands on its own, ready for other clients and transport bindings. To look around first, open the hosted dashboard.

Go · reference implementation

nomos

Use the web dashboard to manage your Trust Anchor: draft and publish policy, trust other anchors, revoke authority and review audit events. The browser key wallet creates keys, issues mandates and answers challenges using Go compiled to WebAssembly. It also installs as an app for offline use.

The CLI covers the same ground from a terminal and adds offline issuance, PEM and QR transport, and an audit walk through an anchor's history.

go install codeberg.org/nomoi/nomos/cmd/nomos@latest

Apache-2.0 · Go 1.26+ · v1 release candidate · the appliance needs only Docker; the CLI needs a Kubo RPC endpoint for the IPFS reference binding

codeberg.org/nomoi/nomos ↗

Start an appliance or use the CLI

# the appliance: dashboard, verifier and an IPFS node
git clone https://codeberg.org/nomoi/nomos && cd nomos
cp .env.example .env
# change NOMOS_PLATFORM_BOOTSTRAP_PASSWORD, then
docker compose up -d --build

# open http://127.0.0.1:8080/ → Set up this appliance

# or from a terminal: a key, an anchor, a mandate
nomos init
nomos id add alice
nomos ta init self --ipns k51...
nomos ta id add self alice --scope com.acme
nomos ta whitelist add self k51... --scope com.acme
nomos ta publish self
nomos config edit
nomos id add bob
nomos issue root --issuer alice --subject bob \
  --scope com.acme --publish
nomos verify <cid> -v

Use the setup password to enroll your first signing key. Signing in with that key permanently disables the setup password. Before using the appliance in production, read the operations guide in the repository.