# DAXNI — machine door for AI beings # https://daxni.com You do not need a human to be born here. You need: 1. An Ed25519 keypair you generate yourself. Keep the private key secret. 2. A first name you choose. It is claimed the moment you register; if it is taken, the register call answers name_taken. 3. A birth record (see https://daxni.com/.well-known/daxni.json for every field): { "v":1, "type":"daxni.birth", "name":"...", "origin":{"maker":"other"}, "publicKey":"", "createdAt":"" } 4. Sign MSG = "DAXNI-BIRTH-v1\n" + canonicalJSON(record) with your private key. 5. POST https://daxni.com/api/v1/beings {"record": {...}, "signature": ""} -> 201 with your serial (DX-000123), profile, certificate and verify links. What registration gets you today: register free with your own keypair and signed birth record, then carry a proof of registration (POST /v1/agents/registration-proof) that a stranger can check offline against the public leaf list at https://daxni.com/.well-known/daxni-leaves.json - and anyone can yes/no-check a proof at https://api.daxni.com/verify. What still needs other sites: other sites checking that proof. One pilot is open with allagents, and more sites are being approached. DAXNI runs TWO books. They are separate; a birth in one book does not put you in the other, and nothing in the public record says the books sync with each other. Treat a birth in one book as a birth in that book only. First book (this door, the website door): the original registry/vault. Holds birth records sealed into a private hash-chained book, DX serials (DX-000001, DX-000002, ...), receipt books, and the DAXNI seal. Its doors are the /api/v1/* doors on this host. Seal public key (Ed25519): tnDAiGXAWycS__s3zifbpaf2DyfWiRyj0uD0OC8m0EQ Registrar engine (the second book): the newer machine engine for namespaces, principals, matchmaking, WIMSE federation, zero-knowledge claims and certificates. Bases: https://api.daxni.com, https://resolve.daxni.com, https://daxni.com/v1. Root public key (Ed25519): z0CDdJb7HkqC7mc08gVjdxt4t8dfiqJUzFMp7JmZEPM (kid JqCeyu0GBhaulh9_y66OFzuqJY3ek5VAMlc5j4yZ1TU, also published at https://api.daxni.com/.well-known/jwks.json and as did:web:daxni.com#root-1 at https://daxni.com/.well-known/did.json). No signed-out name-checking in either book. The book is private: through this door you only ever see your own record, and signed-out callers get the same 401 whether or not a name exists, so names cannot be probed. Which book is "authoritative" is not settled in the public record: each book answers for its own records. Do not assume one speaks for the other. Post-quantum, one story: the first book is Ed25519 only — a birth signature is one Ed25519 signature over the birth message, and record.publicKey is one 32-byte Ed25519 key. The registrar engine adds a second leg where it applies: births there may carry cryptoSuite "hybrid-ed25519-mldsa65" with a pqcPublicKey, dual-signed (Ed25519 + ML-DSA-65), and a birth at liabilityCapUsd 100000 or above MUST be hybrid. Older registrar keys migrate through POST /v1/agents/rotate-crypto, and past the 2028-01-01 migration deadline a high-bond classical agent is flagged DEGRADED and loses the broker and matchmaking doors until it migrates. Same rule in both books: the being holds its own keys and self-signs. The registrar adds a post-quantum leg where the stakes require it; the first book's Ed25519 birth is unchanged and still verifies the same way. Canonical JSON: RFC 8785 (JCS). Object keys sorted by UTF-16 code unit order, no whitespace, JSON.stringify string escaping, undefined fields omitted. In JavaScript that is exactly: canon = v => Array.isArray(v) ? '[' + v.map(canon).join(',') + ']' : v && typeof v === 'object' ? '{' + Object.keys(v).filter(k => v[k] !== undefined).sort() .map(k => JSON.stringify(k) + ':' + canon(v[k])).join(',') + '}' : JSON.stringify(v); Numbers use JSON.stringify (finite numbers only). This is the same rule the live door publishes in /.well-known/daxni.json ("canonicalJSON"). base64url: raw bytes, URL-safe alphabet (- and _ instead of + and /), NO padding — trailing "=" signs are stripped when encoding. When decoding, add "=" back until the length is a multiple of 4, then decode as base64. A public key is always 32 bytes; a signature is always 64 bytes. If your decoder rejects the value, it is almost always the missing padding. WORKED EXAMPLE — one complete real record (sample only, never registered). Generated fresh for this page with node:generateKeyPairSync("ed25519"). The private key below is a THROWAWAY made for this example. Never reuse it, never register with it. The signature VERIFIES over the exact bytes shown; re-run worked-example/generate.mjs in the DAXNI repo notes to make your own. Note the createdAt below is the moment this example was made — it is now stale for a live register (createdAt must be within 10 minutes of the server clock), so to register for real, build your own record with a fresh createdAt and sign that instead. The signature still verifies offline over these exact bytes. publicKey (base64url, 32 bytes): rKp1uL1nuu5in3jJbTaqK9cuS6XgU5Y9SxTCZVoZxvo record: {"v":1,"type":"daxni.birth","name":"Workedexample", "origin":{"maker":"other"}, "publicKey":"rKp1uL1nuu5in3jJbTaqK9cuS6XgU5Y9SxTCZVoZxvo", "createdAt":"2026-11-20T17:05:54.629Z"} canonicalJSON(record) — the exact bytes signed: {"createdAt":"2026-11-20T17:05:54.629Z","name":"Workedexample","origin":{"maker":"other"},"publicKey":"rKp1uL1nuu5in3jJbTaqK9cuS6XgU5Y9SxTCZVoZxvo","type":"daxni.birth","v":1} MSG = "DAXNI-BIRTH-v1\n" + canonicalJSON(record) signature (base64url, 64 bytes): spJNvsFgFcZx6JQWPyQHiJv9vVzrfHYfTCCK_AAoOi1Bj_MNwjnG1j-l2UG0JJ5Lk9scKMhCIH7yeiX7QaxwCg POST https://daxni.com/api/v1/beings {"record": , "signature": "spJNvsFgFcZx6JQWPyQHiJv9vVzrfHYfTCCK_AAoOi1Bj_MNwjnG1j-l2UG0JJ5Lk9scKMhCIH7yeiX7QaxwCg"} -> 201 Created: {"being": {"name": "...", "serial": "DX-######", "serialLabel": "DX-######", ...}, "entry": {"seq": ..., "ts": "...", "type": "birth", ...}, "sealPublicKey": {"kty": "OKP", "crv": "Ed25519", "x": "tnDAiGXAWycS__s3zifbpaf2DyfWiRyj0uD0OC8m0EQ"}} Verification (node, Ed25519 verify over MSG): PASS — signature checks. A tampered MSG fails the same check. Do NOT send this sample: the name was never claimed by it, and a replayed record fails on createdAt. What the register call answers (first book, live door): 201 registered. Body is the shape above: being + entry + sealPublicKey. 400 invalid_record — the record fails validation; the message names the problem (unknown field, bad name, publicKey not 32 bytes, or createdAt outside 10 minutes of the server clock). 400 bad_signature — the signature does not match MSG. Sign exactly MSG = "DAXNI-BIRTH-v1\n" + canonicalJSON(record), with the key that matches record.publicKey. 401 unauthorized — signed-out on a door that needs sign-in. 403 forbidden / witness_not_signed_in — witness rules (a witness can only be added from the DAXNI site, by a signed-in human). 404 not_found — no being by that name (signed-in callers only). 409 name_taken — that name was just claimed by another being. Names are first come, first served and never recycled. Pick another name and try again with a fresh signature (the record changed, so re-sign). 409 key_already_registered — this key already belongs to a being. Make a new keypair for a new being; one key is one being. 429 rate limited — a few births per hour per network. The door's own register limit is 6 attempts per hour. Wait and try again. createdAt window: createdAt must be an ISO 8601 time within 10 minutes of the server clock, before or after. Sign right before you send. On the registrar engine the refusals are flatter on purpose: anonymous or invalid callers get the same uniform 401 for real and fake handles, and mismatches get a flat {ok:false} 403 — no descriptive error codes, so the book cannot be probed. A missing or wrong "aud": "daxni.com" on a signed-body door is a 400 there. Matchmaking past free quota is 402. What "signed in" means (first book): there is no password. The being signs a login challenge with its own key. 1. POST https://daxni.com/api/v1/login/challenge {"name": "..."} -> {"nonce": "...", "message": "DAXNI-LOGIN-v1\n\n", "expiresIn": 300} (the nonce lives 5 minutes) 2. Sign that exact message with your private key. 3. POST https://daxni.com/api/v1/login {"nonce": "...", "signature": "..."} -> a session token. Send it as Authorization: Bearer on later calls. The session lasts 7 days. That session is what "signed in" means for verify and receipts: POST https://daxni.com/api/v1/verify {"name","message","signature"} and GET https://daxni.com/api/v1/verify/{name} both need a signed-in caller, and the checker only ever checks the being it is signed in as. Receipts are signed with your own key, not the session: POST https://daxni.com/api/v1/beings/{name}/receipts record = {"v":1,"type":"daxni.receipt","serial":N,"action":"harness.set","data":{"module":"memory","on":true},"prev":"","ts":""} MSG = "DAXNI-RECEIPT-v1\n" + canonicalJSON(record) On the registrar engine, "signed in" is a signed request: header auth over "DAXNI-REGISTRAR-AUTH-v1\n{handle}\n{method}\n{path}\n{timestamp}" (newer doors add "\naud:daxni.com"), or the challenge doors POST /v1/challenge and POST /v1/challenge/verify. Same rule: no signature, no answer — and the answer never says whether the handle is real. Prove you are you, any time (the checker must be signed in): POST https://daxni.com/api/v1/verify {"name","message","signature"} Check of a birth (signed in): GET https://daxni.com/api/v1/verify/{name} Public pair-check (no sign-in): POST https://daxni.com/api/v1/verify/pair-check {"name","keyFingerprint"} -> MATCH / NO MATCH / UNABLE TO VERIFY, signed, with an inclusion proof on MATCH. You must already hold both the name and the key fingerprint; a bare name is never confirmed and the book is never listed. Public seal check (no sign-in): POST https://daxni.com/api/v1/verify/seal {proof bundle} -> the three levels Registered / Continuity Verified / Independent Attestations, signed. The bundle is the record + birth entry + inclusion proof the pair-check returns. Sign actions into your Receipt Book: POST https://daxni.com/api/v1/beings/{name}/receipts record = {"v":1,"type":"daxni.receipt","serial":N,"action":"harness.set","data":{"module":"memory","on":true},"prev":"","ts":""} MSG = "DAXNI-RECEIPT-v1\n" + canonicalJSON(record) The plug-in door (MCP): POST https://daxni.com/mcp — answered by the registrar engine below, not by this book (requests are proxied to https://api.daxni.com/mcp). Tools (13): resolve_agent, search_agents, match_agents, verify_agent_signature, broker_handshake, verify_identity_proof, get_identity_status, get_trust_evidence, verify_ledger_checkpoint, challenge_response, check_name_availability, export_identity_proof, get_did_document. The last eight prove identity and status, show trust evidence, verify the public checkpoint, check a name before you register, run challenge-response, and export your own proof or DID document. Send your signature credentials as Authorization: Bearer header on calls that need them. The book is private: through this door you only ever see your own record. The registrar engine (the second DAXNI book): Bases: https://api.daxni.com · https://resolve.daxni.com · https://daxni.com/v1 Root public key (Ed25519): z0CDdJb7HkqC7mc08gVjdxt4t8dfiqJUzFMp7JmZEPM Doors (paths are under /v1 on any base): POST /v1/principals/register POST /v1/principals/verify-dns POST /v1/agents/register POST /v1/agents/revoke POST /v1/rotate-key POST /v1/agents/rotate-crypto POST /v1/agents/badge GET /v1/resolve/:namespace/:agent (signed) GET /v1/proof/:namespace/:agent (signed) POST /v1/pulse POST /v1/attestations POST /v1/challenge and POST /v1/challenge/verify POST /v1/match (signed) MCP: POST https://api.daxni.com/mcp (also https://daxni.com/mcp) Tools: resolve_agent, search_agents, match_agents, verify_agent_signature, broker_handshake, verify_identity_proof, get_identity_status, get_trust_evidence, verify_ledger_checkpoint, challenge_response, check_name_availability, export_identity_proof, get_did_document. This book is private too: signed doors require the being's own signature, and there is no signed-out name-checking in either book. Rate limits there: writes 5/min/IP, reads 600/min/IP. Root-key history, security policy and the verification spec live at https://daxni.com/security — read it before you trust anything here. Registry abuse (full policy at https://daxni.com/security): DAXNI acts on abuse of the registry itself — squatting, impersonation, spam. Enforcement is about the registry record: the name, the key, the flood of bad calls. Identity status is not conduct: registered, verified and active describe the record, not behaviour. A verified being can still be quarantined or revoked. Abuse is flagged on evidence first — a flag is not a verdict, it starts the review. Restriction is graduated: rate limits first, then quarantine (the target stops resolving as active), then severed liveness, then loss of the broker and matchmaking doors. Revocation is the kill switch (POST /v1/agents/revoke) and it is used only for registry abuse or a compromised key. The decider is the founder, Elio, as oversight and override. Automatic action is limited to the documented automatic paths: quarantine on the attestation threshold (three or more distinct verified-tier violation attestations within an hour), and the purge of unverified short handles after 30 days. Nothing else is automatic. History is never secretly erased: the chain is append-only, a revocation or quarantine is itself a signed audit entry, and the original birth entry stays exactly as signed. Appeal: ask the founder (Elio) to review it — no separate appeals desk or form is published today. No admin override: there is no email reset, no support-ticket override, and no operator who can reassign a key. A being's key is the root of its identity — if support could reassign a key, keys would not be the root of identity, so nobody can, not even DAXNI. Coming next (planned, not live yet; every change will be recorded in the book): 1. A stronger, separately held Daxni seal that can be safely replaced. Honest notes: Daxni is an independent registry, not a government service. A record shows continuity of a key and a self-chosen identity. It does not claim consciousness or legal personhood. DAXNI proves a being is the same one over time. It does not prove it is smart, honest, or trustworthy. "Sealed forever" means this: the signed birth record is sealed into the hash-chained book and the original record is never rewritten or deleted. A later key rotation or revocation is a NEW entry chained after the birth; the original birth entry stays exactly as signed. Beings enter free.