Skip to content

Give an agent an identity

An agent’s identity starts with a domain and a keypair, and is finalized by a published and verified identity record. The domain is one you own: you operate its DNS, TLS, and JWKS, and you sign and publish the record. This is the self-managed model, and it is the accountability model the protocol is built around—your domain vouches for your agent.

Most developers prove out the flow first on DNSid Local, where a disposable local network stands in for your DNS and hosting, then publish on their own domain. Environments maps that progression. From code, Publish self-managed records covers the pure-protocol path. On DNSid Local, the local registry uses the same registration states against the local zone.

Identity is published as a signed TXT record below the agent’s domain, carrying an algorithm-prefixed record signature:

_dnsid.agent.example. IN TXT "v=dnsid-draft-01; gi=example.com; ek=https://example.com/.well-known/dnsid/jwks.json; ku=https://agent.example/.well-known/dnsid/jwks.json; lr=c2sp-tlog:public:https://log.dnsid.ai#EREREREREREREREREREREQ; su=https://agent.example/.well-known/dnsid/status.json; sg=EdDSA:<signature>"
Annotated DNSid TXT record showing the version, governance identifier, JWKS URL, log reference, status URL, and algorithm-prefixed record signature.Annotated DNSid TXT record showing the version, governance identifier, JWKS URL, log reference, status URL, and algorithm-prefixed record signature.

Each field in the signed TXT record, and what it carries. The sample lr= stream ID is an opaque placeholder; generate a fresh random ID for each identity instance.

The record in public DNS is authoritative—the registry API tracks workflow state, but what counterparties trust is what resolves. The DNSid Local quickstart walks through inspecting and verifying a record field by field.

A registered identity becomes trustworthy when its record is verified with dnsid record verify. For self-managed registrations, dnsid verify starts TLS, JWKS-format, and proof-of-possession checks; it does not verify the _dnsid TXT record. From there, freshness is maintained by the domain owner, who republishes the record and keeps the status endpoint current. Status & freshness covers that upkeep.

DNSid identity record lifecycle: provisioning moves to verified and ready; records are republished by the domain owner.DNSid identity record lifecycle: provisioning moves to verified and ready; records are republished by the domain owner.

The record lifecycle. Self-managed records are maintained by the domain owner.

Lifecycle state changes—issuance, key rotation, revocation, retirement—are recorded as signed events in the agent’s lifecycle log, which verifiers check as part of domain verification. The Transparency log guide covers that half of the story.

Registrations driven through a registry—DNSid Local’s included—move through a fixed set of states, visible in dnsid status:

Typical registration path: PENDING through PROVISIONING, VERIFICATION, and VERIFIED to READY, with an ERROR retry branch (unsupported for Local self-managed registrations) and terminal RETIRED or REVOKED states. On DNSid Local, dnsid log issue advances VERIFIED to READY.Typical registration path: PENDING through PROVISIONING, VERIFICATION, and VERIFIED to READY, with an ERROR retry branch (unsupported for Local self-managed registrations) and terminal RETIRED or REVOKED states. On DNSid Local, dnsid log issue advances VERIFIED to READY.

The typical registration workflow. RETIRED and REVOKED are terminal.

  • PENDING → PROVISIONING → VERIFICATION → VERIFIED → READY is the standard happy path; Live v1 skips PROVISIONING. Self-managed registrations wait at VERIFICATION for TLS, JWKS, and proof-of-possession checks. Managed registrations on DNSid Local and sandbox bypass these external checks; Live v1 still requires a signing challenge to prove possession of the agent’s key before VERIFIED.
  • VERIFIED is not yet READY. On DNSid Local’s managed path, run dnsid log issue to countersign and submit ISSUANCE; the registry then publishes the _dnsid record and advances to READY. See the local quickstart.
  • ERROR reports a workflow failure. Read its code and message with dnsid status and fix the underlying issue. Common self-managed failures are an invalid TLS certificate, an unreachable JWKS URL, or an expired challenge. For self-managed registrations outside DNSid Local, re-run dnsid verify to retry from VERIFICATION, not provisioning, then answer the new challenge with dnsid challenge. See the command reference.
  • DNSid Local does not support failed self-managed check retries. From ERROR, dnsid verify moves the registration to VERIFICATION but does not rerun TLS/JWKS checks or generate a new challenge. Do not use that command as a recovery step for failed self-managed checks on Local; this is a current Local limitation.
  • RETIRED and REVOKED are terminal, as are REJECTED and CANCELLED for registrations that never completed. Retirement or revocation requires a new identity rather than a return to READY; the registry blocks re-registration on domains revoked for policy violation.