LG Salles

AI, sales, marketing and development

IA

AI agent authentication: put auth.md to the test

November 23, 2026

Video by WorkOS · Original title: “Unlock Autonomous AI Agents with auth.md, Michael Grinich | MCP Night: Agent Mode Keynote”Subscribe to the channel

Why it matters

An agent can build an application and still hand the keyboard back when it needs a hosting account. Someone opens a browser, verifies an identity, creates credentials, and brings the workflow back to the terminal. Repeat that across several vendors and account setup becomes a noticeable part of the work.

WorkOS presents auth.md as a way to give agents an explicit registration path. I find the operational question more useful than the promise of uninterrupted automation: can the agent get started while leaving clear ownership, bounded access, and a workable exit? The keynote demonstrates a successful journey through cooperating services. The evaluation plan below adds the failure cases and measurements I would want before depending on that journey.

Key points

  • 07:48 The runtime needs isolation, permissions, and scoped credentials. Registration therefore belongs inside a larger operating environment whose boundaries must already make sense.
  • 08:58 Feedback loops and human review remain necessary components. The autonomy described in the talk includes mechanisms for checking outcomes and reviewing consequential decisions.
  • 12:32 Agents begin selecting infrastructure vendors. That makes integration friction commercially relevant: a service may lose a prospective user while an agent is assembling the application.
  • 16:02 Registration is presented as a missing primitive. Offering an API to existing customers leaves a gap if a new customer must navigate a browser-only signup process first.
  • 18:24 Michael introduces auth.md as an open proposal rather than an IETF-ratified standard. Teams evaluating it should account for an approach that can still evolve.
  • 20:12 Discovery covers accepted identity proofs, permissions, free-tier constraints, and account ownership. Those details help an agent determine where it can proceed and where it needs help.
  • 23:13 The Cloudflare demonstration uses an Acme identity and an ID-JAG. Its success relies on an established trust relationship between the participating systems.
  • 25:00 Firecrawl receives a separate assertion intended for that service. The example shows how a workflow can add another provider without having a person manually supply each API key.
  • 30:37 The proposal stays focused on establishing the initial service relationship. Registration and credential issuance leave additional authorization decisions for the application to enforce.
  • 31:47 Payments are described as future work. A successful signup and API call establish different capabilities from autonomous purchasing.

How to apply

Give AI agent authentication a specific acceptance target

My starting task would be deliberately small: create a disposable demo environment, deploy an application with synthetic data, and return a review URL. Before running it, assign a person or team that must be able to administer the resulting account after the agent session ends.

Track account creation, identity recognition, and permission enforcement as separate outcomes. A working deployment establishes that one operation succeeded. You still need evidence that the account belongs to the intended owner and that unrelated resources remain inaccessible.

The Markdown file supplies discoverable instructions. In the current documentation, structured OAuth metadata remains authoritative for discovery details. Hosting an auth.md document requires the corresponding service implementation behind it. Official file format.

Select a flow supported by both participants

The launch demonstration is useful context, but implementation should follow the current documentation. The agent verified path uses an identity assertion supplied by a participating provider. A custom agent built on a model API does not automatically gain the ability to issue those assertions. Agent verified documentation.

The user claimed path lets a person sign in to the service and confirm a code surfaced by the agent. It supports environments without an ID-JAG-capable provider. The service can allow restricted anonymous access first or require the claim before issuing the identity assertion. User claimed documentation.

I would use whichever path the actual service and agent environment already support. Building identity-provider infrastructure simply to recreate the stage demo would make the evaluation much larger before establishing whether registration friction is a meaningful problem.

Extend the demo with a failure matrix

Decoding the JWT on stage explains what it contains. Trust in an implementation also requires cryptographic verification and the receiving service's own policy decisions. ID-JAG remains an active IETF Internet-Draft, so record the revision your integration follows. ID-JAG specification.

This is the initial acceptance matrix I would propose:

| Attempt | Expected evidence | |---|---| | Register with an accepted identity | Account belongs to the intended owner | | Submit an assertion with an invalid signature | Access is rejected | | Submit an assertion intended for another service | Audience mismatch is rejected | | Request an extra permission | Issued access stays within service policy | | Call the API after revocation | Access stops within the pilot's defined window | | Run the setup task again | Existing account is recognized or duplication is handled explicitly | | End the agent session | The responsible person can administer the account |

Repeated registration deserves its own test. An agent that creates another account whenever it retries may appear productive while leaving an administrative mess. Decide how the service recognizes an existing user and project before increasing execution frequency.

For the revocation case, write down what is being revoked and how quickly that must affect API access. Otherwise, two teams can report a passing test while measuring different parts of the credential lifecycle.

Compare saved attention with integration effort

Run the same task through manual setup and the proposed registration flow. Ten attempts per path would be a useful exploratory sample for finding recurring interruptions. That sample would provide an initial operational comparison rather than evidence of reliability at scale.

Record human minutes, completed registrations, duplicate accounts, and recovery time after an interrupted attempt. Include the initial engineering work as well. A polished success path can save minutes per run while requiring enough maintenance to overwhelm those savings at low volume.

A simple planning calculation is monthly time saved = monthly executions × human minutes saved per execution. Compare that estimate with expected monthly maintenance and the initial implementation investment. Replace assumptions with measured values as the pilot progresses.

If a team performs this setup twice a quarter, a clear manual procedure may remain economical. If it provisions isolated environments throughout the day, reducing signup interruptions becomes a more substantial opportunity. The frequency of the task should influence the investment.

Require an account handoff as part of completion

Have the agent produce a completion record containing the selected service, account identifier, responsible owner, granted permissions, created resources, and revocation path. Store credential references rather than secret values in that record or the task history.

Set an explicit spending boundary before the pilot. For example, allow free-tier experimentation and require the agent to stop when a paid commitment appears. A Brazil-based team consuming services billed in foreign currency can then evaluate registration separately from its purchasing decision.

My expansion criterion would be a completed task, recoverable failures, and successful account handoff with less human intervention. Until all three work, I would keep the experiment bounded. The account should remain understandable and manageable after the impressive terminal session is over.

Resources mentioned

  • auth.md · Proposta aberta apresentada no vídeo; site oficial com documentação e acesso à implementação de referência.
  • ID-JAG · Internet-Draft da IETF usado como base para as declarações de identidade; ainda sujeito a alterações.
  • Cloudflare Workers (paid) · Plataforma de publicação usada na demonstração; oferece faixa gratuita e cobrança conforme plano e uso.
  • Wrangler CLI · CLI usada para publicar a aplicação; o uso dos serviços Cloudflare pode gerar cobrança.
  • Firecrawl (paid) · Serviço de extração de conteúdo web demonstrado; oferece créditos gratuitos e planos pagos.
  • Web Design Museum · Acervo consultado na demonstração para buscar referências de design retrô.
  • WorkOS AuthKit (paid) · Produto apresentado como opção de integração do cadastro de agentes; possui faixa gratuita e recursos comerciais.