| Internet-Draft | agent URI and Attestation | November 2026 |
| Kanojia | Expires 25 May 2027 | [Page] |
This document specifies the 'agent' Uniform Resource Identifier (URI) scheme and its associated cryptographic attestation protocol. The 'agent' scheme defines a transport-agnostic, cryptographically verifiable addressing layer for identifying autonomous software agents, binding domain ownership via DNSSEC TXT records, resolving agent identity documents via deterministic HTTPS well-known paths, and validating attenuated capability delegation tokens.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 25 May 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Autonomous software agents operating across distributed multi-cloud networks, model contexts, and tool environments require a unified, cryptographically secure identity layer. Existing network addressing schemes (HTTP URLs, gRPC endpoints) route traffic to server hosts, but fail to verify:¶
Whether the remote software process possesses a verified Ed25519 cryptographic key pair.¶
Whether the agent's domain identity matches DNS infrastructure ownership validated via DNSSEC.¶
Whether active agent capabilities and endpoints have been tampered with.¶
Whether sub-agent tasks carry valid, scope-restricted delegation tokens.¶
The Creduent protocol specifies the 'agent' URI scheme to establish a verifiable trust root for software agents. The protocol provides:¶
Deterministic resolution from 'agent://' URIs to signed identity documents (`agent.json`).¶
Cryptographic key binding using Ed25519 digital signatures and JSON Canonicalization Scheme (JCS).¶
Domain-level ownership validation via DNSSEC TXT records (`_creduent.<authority>`).¶
Attenuated capability delegation via Creduent Delegation Tokens (CDT).¶
Optional third-party registry attestations for multi-domain verification.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The 'agent' URI scheme syntax is specified using Augmented Backus-Naur Form (ABNF) as defined in [RFC5234], importing core productions from [RFC3986].¶
agent-URI = "agent://" agent-authority [ "/" agent-path ]
[ "?" query ] [ "#" fragment ]
agent-authority = host [ ":" port ]
agent-path = segment-nz *( "/" segment )
host = IP-literal / IPv4address / reg-name
port = *DIGIT
segment-nz = 1*pchar
segment = *pchar
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
query = *( pchar / "/" / "?" )
fragment = *( pchar / "/" / "?" )
¶
Implementations MUST normalize 'agent' URIs prior to resolution and signature validation:¶
Scheme names MUST be converted to lowercase ("agent://").¶
Hostnames MUST be converted to lowercase per Internationalized Domain Names (IDNA) rules ([RFC5890]).¶
Percent-encoded unreserved characters MUST be decoded.¶
Agent-path segments equal to `.` or `..` MUST be rejected by resolvers prior to HTTPS URL construction to prevent path traversal vulnerabilities.¶
Query components (`?`) and fragment identifiers (`#`) MUST NOT participate in agent identity calculation and MUST NOT alter deterministic well-known HTTPS resolution.¶
Public IPv4 and IPv6 literal addresses MAY be used for testing, but production authorities SHOULD use domain names (`reg-name`). Resolvers MUST NOT connect to private-use or loopback IPv4/IPv6 address ranges to prevent Server-Side Request Forgery (SSRF).¶
agent://example.com agent://example.com/auditor agent://example.com/finance/payroll-bot¶
The identity payload document MUST conform to I-JSON constraints ([RFC7493]) and contain the following structured JSON fields:¶
To generate or verify signatures, the document MUST be canonicalized using JCS [RFC8785]:¶
Signatures MUST be generated using PureEd25519 ([RFC8032]) over the UTF-8 bytes of the canonicalized JCS document:¶
signature_bytes = Ed25519_Sign(private_key, UTF8(JCS(doc_copy))) proofValue = Base64Url_NoPadding_Encode(signature_bytes)¶
{
"version": "2.0",
"identity": {
"agent_id": "agent://example.com/auditor",
"owner": "mailto:security@example.com",
"endpoint": "https://example.com/api",
"keys": [
{
"id": "key-1",
"type": "ed25519",
"public_key":
"ed25519:11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
"status": "active",
"expires_at": "2027-01-01T00:00:00Z"
}
]
},
"policy": {
"capabilities": [
"ledger:read",
"reports:generate"
]
},
"signature": {
"key_id": "key-1",
"created": "2026-09-02T04:00:00Z",
"proofValue":
"HDVEC1vr1udw0FljRcvvmtefQSs-NAnImbHZctUYTuQLPMBQc-"
"aiPih8RfWHrhOB7-GGbmhR0b_1zSre6tGlDg"
}
}
¶
When resolving an 'agent' URI (e.g. "agent://example.com" or "agent://example.com/auditor"), resolving clients MUST execute the following deterministic, decentralized pipeline:¶
Authority & Path Extraction: Extract `authority` (`netloc`) and `agent-path` from the URI.¶
Deterministic HTTPS Resolution URL Construction:¶
HTTPS Document Fetch: Issue an HTTPS GET request to the resolved URL, validating WebPKI TLS 1.3 certificates. HTTP redirects MUST NOT cross authority boundaries.¶
Schema & Signature Validation: Parse the JSON document, remove `"signature"`, canonicalize via JCS [RFC8785], and verify the Ed25519 signature against the key specified in `signature.key_id`.¶
DNSSEC Binding Verification: Perform DNSSEC validation ([RFC4035]) for TXT records at `_creduent.<authority>`. Verify that the Ed25519 public key in `_creduent.<authority>` matches or authorizes the key in `signature.key_id`. If DNSSEC validation fails, resolution MUST fail.¶
Cross-Namespace Spoofing Check: Confirm that `identity.agent_id` inside `agent.json` exactly matches the target 'agent://' URI.¶
Optional Registry Attestation Check: Clients MAY optionally query a secondary attestation registry to verify cross-domain endorsements, but base resolution MUST NOT depend on centralized registries.¶
To bind domain control, authority domain owners MUST publish a DNS TXT record at `_creduent.<authority>`.¶
_creduent.example.com. IN TXT "v=CRE1; k=ed25519; p=11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"¶
Resolvers MUST enforce DNSSEC ([RFC4033], [RFC4034], [RFC4035]) validation when querying DNS TXT records to prevent DNS cache poisoning attacks.¶
Parent agents delegating authority to child sub-agents MUST issue a Creduent Delegation Token (CDT):¶
{
"iss": "agent://example.com/parent-agent",
"sub": "agent://example.com/child-worker",
"aud": "agent://target-service.com/api",
"iat": 1786273200,
"exp": 1786276800,
"jti": "cdt-nonce-98765",
"parent_token_hash":
"sha256:c1551acada3a8983c9cd6ad5"
"cb12814050585c66d12678151f4ff967b1f07850",
"capabilities": [
"db:read:readonly_table"
],
"delegation_depth": 2,
"signature": {
"key_id": "key-1",
"proofValue":
"P5ObC-B2Wub8-Cpc-PoukzSmade1447CsZHqG8G89cqj"
"V8grcU65Aa6az3L3TsC6plyhTbwtAnYtWdWL72IdDA"
}
}
¶
CDT signatures MUST be computed over the JCS canonicalization of the token payload excluding `"signature"`:¶
Capabilities are exact, opaque strings formatted as `namespace:action:resource`. Attenuation dictates that child token capabilities MUST be a non-expanding subset of parent capabilities (`Capabilities(child) <= Capabilities(parent)`):¶
Capabilities(Token_child) <= Capabilities(Token_parent)¶
Delegation depth is decremented at each hop (`delegation_depth_child = delegation_depth_parent - 1`). If `delegation_depth` reaches 0, no further child tokens MAY be issued. Verifying endpoints receiving a delegation chain MUST recursively validate Ed25519 signatures, capability subset constraints, parent token hashes, and non-expired `exp` timestamps.¶
The 'agent' URI scheme registration follows the guidelines defined in BCP 35 [RFC7595].¶
Scheme name: agent Status: Provisional Applications: Autonomous AI agent systems, MCP hosts, microservice swarms. Contact: Kashish Kanojia <kashish@idevsec.com> Change controller: IDevSec (https://idevsec.com) References: draft-kanojia-creduent-agent-uri-01¶
This document requests registration of the well-known URI suffix `agent.json` in the "Well-Known URIs" registry per [RFC8615].¶
URI Suffix: agent.json Change Controller: IDevSec (https://idevsec.com) Reference: draft-kanojia-creduent-agent-uri-01 Status: provisional Related Information: The syntax and semantics of root agent identity documents are defined in Section 4.¶
This document requests registration of the well-known URI prefix `agent/` in the "Well-Known URIs" registry per [RFC8615] Section 3.1.¶
URI Suffix:
agent/
Change Controller:
IDevSec (https://idevsec.com)
Reference:
draft-kanojia-creduent-agent-uri-01
Status:
provisional
Related Information:
The syntax and semantics of path-preserving agent identity
documents (e.g., /.well-known/agent/{path}.json) are defined
in Section 5.1.
¶
Per [RFC3552], the protocol evaluates defenses against explicit adversary models:¶
On-Path Adversary (Eavesdropping & Modification): Defended via mandatory WebPKI TLS 1.3 and Ed25519 signatures over canonical JCS.¶
Off-Path Adversary (DNS Poisoning & BGP Hijacking): Defended via mandatory DNSSEC ([RFC4035]) verification of `_creduent.<authority>`.¶
TLS Interception Adversary: Defended via WebPKI certificate validation and public key binding.¶
Token Replay Adversary: Defended via mandatory `exp` timestamps and unique `jti` nonces recorded in verifier LRU caches.¶
SSRF & Path Traversal Adversary: Defended via mandatory prohibition of private/loopback resolution targets and rejection of `.` / `..` path segments.¶
In case of key compromise, domain owners MUST update the `_creduent` DNS TXT record with a new public key. Resolvers MUST NOT cache verification documents past their HTTP `Cache-Control` max-age. Residual Risk: If an authority's private key is compromised, residual risk is bounded by the DNS TTL and HTTP Cache-Control max-age window before public key rotation takes effect.¶
Agent identity documents expose public metadata (`identity.owner`, `identity.endpoint`, `policy.capabilities`). The `identity.owner` field (e.g. `mailto:security@example.com`) is intentionally public administrative contact metadata analogous to WHOIS abuse contact records. Agents handling confidential workloads SHOULD restrict sensitive capabilities to authenticated mutual TLS sessions or authorized API handshakes rather than advertising them in unauthenticated `agent.json` documents.¶
This appendix provides two deterministic, mathematically verified test vectors for Ed25519 signature computation over JCS canonicalized identity documents and CDT delegation tokens.¶
Private Key (32 octets, Hex Seed): `9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60`¶
Public Key (32 octets, Base64Url): `11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo`¶
Canonical JCS Input Bytes (UTF-8):¶
{"identity":{"agent_id":"agent://example.com/auditor",
"endpoint":"https://example.com/api",
"keys":[{"expires_at":"2027-01-01T00:00:00Z","id":"key-1",
"public_key":
"ed25519:11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
"status":"active"}],"owner":"mailto:security@example.com"},
"policy":{"capabilities":["ledger:read","reports:generate"]},
"version":"2.0"}
¶
Expected Signature (`proofValue`, Base64Url): `HDVEC1vr1udw0FljRcvvmtefQSs-NAnImbHZctUYTuQLPMBQc-aiPih8RfWHrhOB7-GGbmhR0b_1zSre6tGlDg`¶
Parent CDT Hash (`parent_token_hash`, SHA-256):
`sha256:c1551acada3a8983c9cd6ad5`
`cb12814050585c66d12678151f4ff967b1f07850`¶
Child CDT Canonical JCS Input Bytes (UTF-8):¶
{"aud":"agent://target-service.com/api",
"capabilities":["db:read:readonly_table"],"delegation_depth":2,
"exp":1786276800,"iat":1786273200,
"iss":"agent://example.com/parent-agent","jti":"cdt-nonce-98765",
"parent_token_hash":
"sha256:c1551acada3a8983c9cd6ad5"
"cb12814050585c66d12678151f4ff967b1f07850",
"sub":"agent://example.com/child-worker"}
¶
Expected CDT Signature (`proofValue`, Base64Url):
`P5ObC-B2Wub8-Cpc-PoukzSmade1447CsZHqG8G89cqjV8grcU65Aa6az3L3TsC6`
`plyhTbwtAnYtWdWL72IdDA`¶
Changes from draft-00 to draft-01:¶
Formally updated IANA Considerations (Section 7) per RFC 7595 Section 7.3, adjusting intended initial registration status to Provisional and assigning Change Controller to IDevSec.¶
Transitioned identity resolution architecture to a fully decentralized, path-preserving HTTPS .well-known model.¶
Added explicit DNSSEC TXT verification validation steps and key identifier disambiguation.¶
Added deterministic, mathematically verified Ed25519 identity and Creduent Delegation Token (CDT) test vectors (Appendix A).¶
Structured security considerations according to RFC 3552 threat model with explicit residual risk bounds and privacy considerations.¶
Formatted artwork and test vector lines for strict RFC 72-column margin compliance.¶