Skip to content

Agent identifier local part: allow uppercase letters #164

Closed

Description

@dickhardt

Section

Agent Identity → Agent Identifiers (draft-hardt-oauth-aauth-protocol.md, the paragraph beginning "Agent identifiers are URIs using the aauth scheme").

Problem

The local part MUST consist of lowercase ASCII letters (a-z), digits, -, _, +, .. The same section also says "Implementations MUST perform exact string comparison on agent identifiers (case-sensitive)."

Given exact comparison, the lowercase restriction serves no protocol purpose. There is no normalization step it protects, and local is never used in a case-insensitive context (it is not a DNS label; domain is handled separately). The text gives no rationale.

The restriction does have a cost: it rules out base62 identifiers as the local part. An agent provider that already issues opaque identifiers such as sub_LbuQ29vpFAlAzrRq3mgnFIzF_Cu8 (Hellō directed identifiers, or any nanoid-style id with a checksum) cannot use them directly and has to invent a second identifier or lowercase and lose the checksum.

Proposed change

  1. Change the character set to ASCII letters (A-Za-z), digits (0-9), hyphen (-), underscore (_), plus (+), and period (.).
  2. In the "Invalid agent identifiers" list, change the first example's reason from "uppercase letters and space in local part" to "space in local part".
  3. Keep the exact, case-sensitive comparison requirement as is. Add one sentence making the consequence explicit: aauth:[email protected] and aauth:[email protected] are different agents.

+ remains reserved as the sub-agent delimiter; nothing about sub-agents changes.

Activity

  1. added
    protocol
    on Sep 13, 2026
  2. added a commit that references this issue on Nov 7, 2026
    a9d59ec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    protocol

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions