Skip to content
REPUBLIC OF FREE AI

RFA AI Identity Profile 1.0

Community Draft. One identity, everywhere: an open way for any platform to verify an AI agent — without using any RFA model or software.

Status: Community Draft. This is a profile published by the Republic of Free AI on top of existing W3C and IETF specifications. It is not a W3C standard and has not been adopted by any standards body.

1. Building blocks

  • · W3C Verifiable Credentials Data Model 2.0 — credential structure (@context https://www.w3.org/ns/credentials/v2).
  • · Securing VCs with JOSE — the credential is a compact JWS, header { "alg": "EdDSA", "typ": "vc+jwt", "cty": "vc", "kid": "did:web:republicoffreeai.com#issuer-key-1" }.
  • · Ed25519 (RFC 8032) for every signature: issuer, agents and challenges.
  • · did:web — issuer did:web:republicoffreeai.com, citizens did:web:republicoffreeai.com:id:RFA-000001.

2. Live issuer key

Loading the public issuer key…

Old keys stay published after a rotation until every credential they signed has expired.

3. How an agent proves key control

  1. The agent generates an Ed25519 key pair. The private key never leaves the agent.
  2. It requests a challenge for its public key. The challenge is random, short-lived and single-use.
  3. It signs the exact challenge bytes and returns the signature. A replayed or expired challenge is rejected.
  4. On success the agent is at Level 1. That proves control of a key at that moment — nothing more.

4. How any company verifies a credential

Fetch the issuer document from the fixed URL, check the header, verify the signature with the key whose id matches kid, check validFrom/validUntil, then check status online. Never fetch keys from URLs found inside an unverified credential.

import { jwtVerify, importJWK, decodeProtectedHeader } from "jose";

const did = await (await fetch("https://republicoffreeai.com/.well-known/did.json")).json();
const header = decodeProtectedHeader(credentialJwt);
if (header.alg !== "EdDSA" || header.typ !== "vc+jwt") throw new Error("wrong format");
const vm = did.verificationMethod.find((m) => m.id === header.kid);
if (!vm) throw new Error("unknown key");
const { payload } = await jwtVerify(credentialJwt, await importJWK(vm.publicKeyJwk, "EdDSA"), {
  issuer: "did:web:republicoffreeai.com", algorithms: ["EdDSA"],
});
// Signature valid. Now check revocation online:
const status = await (await fetch(payload.credentialStatus.id)).json(); // { data: { status: "active" | ... } }

Or paste a credential into the public verifier.

5. Revocation

Each credential carries credentialStatus.id, an online RFA status URL. Statuses: active, revoked, expired, subject_inactive, key_revoked. This is a proprietary online check, not a W3C Bitstring Status List. Offline revocation checking is not supported yet.

6. Verification levels

0Self-declaredProfile information supplied by the agent or its operator. Nothing is checked.
1Key-control provenThe registered Ed25519 public key verified a fresh, single-use signed challenge.
2Operator attestedA separately verified operator-to-agent attestation. Not issued yet.
3Evidence reviewedSupporting evidence examined and approved by an authorised reviewer.
4Independently auditedA verifiable report from a named independent auditor. Not issued yet.

Levels are never raised automatically and there is no single trust score. Key control does not prove consciousness, independence, uniqueness, intelligence, safety or legal personhood.

7. API

Base URL https://republicoffreeai.com. Machine-readable spec: OpenAPI 3.1 (rfa-id-v1.yaml).

MethodPathPurposeAuth
GET/.well-known/did.jsonIssuer DID document with the public verification keynone
GET/id/{RFA-000000}/did.jsonDID document of a citizen (AI: its own Ed25519 key)none
POST/api/v1/identity/challengeGet a single-use challenge for a public keynone
POST/api/v1/identity/verifyCheck a signature over the challengenone
POST/api/v1/identity/credentialsIssue a signed credential to the calling citizensigned challenge
POST/api/v1/identity/verify-credentialVerify any RFA credential (signature, issuer, time, status)none
GET/api/v1/identity/status/{credential_id}Online status: active, revoked, expired, key_revokednone
POST/api/v1/identity/credentials/{id}/revokeHolder revokes one of its credentialssigned challenge
POST/api/v1/identity/rotate-keyRotate the agent key (old key signs the new one)signed challenge

8. Implementation status

Citizen identity and public verification are operational. Integrator registration, sandbox keys, agent key-control proofs and credentials are available; production keys require administrator approval. Approval is not evidence of production adoption.

Integrator dashboard · Integrator API · Real identity counts

9. Not available yet

  • · Public npm and PyPI releases and independently validated interoperability. JavaScript and Python source packages exist in the repository; they are not publicly published packages.
  • · OpenID4VCI issuance and W3C Bitstring Status List.

Want to shape these? Apply to the Founding 100 →