Pular para o conteúdo
← Back to Skalablog

Published article

Agent auth: how AI agents sign up safely (auth.md, ID-JAG)

Software EngineeringCursorAnthropicClaude

Agent auth gives an autonomous agent a verifiable way into your application without handing it a human's password or user token. WorkOS product manager Isabelle Williams presented three mechanisms at AI Engineer: an auth.md file that tells agents how to get started, an ID-JAG identity assertion signed by the agent's provider, and a scoped agent token your own authorization server issues.

Why agents need a signup path of their own

The discovery stage of product-led growth is moving from humans to agents. Williams framed the shift from her own product experience: research, product discovery and the first run through an app are increasingly handed to a personal agent, so the app has to let an agent reach that first useful moment without a person in the loop. If the agent's provider already verified the person's email, the argument goes, the application should be able to accept a signed statement of that fact instead of forcing a fresh signup form.

Williams's demo app, Waypoint, is a travel planner she built with Cursor, an AI-first code editor built on VS Code. She used it to plan a trip to AI Engineer in New York City and to show two tiers of access: personal travel planning and corporate travel, where money and approval rules are involved.

Three questions shaped her design:

  1. How does an agent get into the app at all?
  2. How does the work an agent does get tied to a real customer?
  3. For corporate travel, how does an application limit what an agent can do and revoke it when needed?

Each question maps to one of the mechanisms below. The motivation is commercial as much as technical. A signup flow with a link, an email verification and a one-time code is where a product-led funnel loses people, and Williams noted that the same friction now applies when an agent is acting for someone who already has an account somewhere.

Her first advice appeared in auth.md, an open file that names how agents can register with an application. WorkOS publishes documentation for auth.md and for its own agent auth product built on WorkOS's identity infrastructure. Williams said the infrastructure is trusted by over 3,000 customers, including OpenAI, Propel and Cursor; that figure is vendor-reported and worth treating as first-party.

How auth.md tells an agent how to get in

An auth.md file is a Markdown document you host with your application, and it describes how an agent can obtain access rather than how a human signs in. Williams described it as written for the agent, not for human readers. It lists the mechanisms for creating an account, getting a credential and calling your API.

The file is a description, not an enforcement layer. Waypoint's application enforces whatever rules the file describes, so an agent cannot grant itself anything by reading it. Williams made the same point in February 2026 coverage of the draft, where auth.md is presented as a proposed open convention for agent signup rather than a shipped standard with a formal specification.

The file that ships on an app has two modes. The first lets an agent use a limited slice of the application anonymously. The second lets the agent's provider vouch for a verified identity so the application can skip the signup form entirely. Williams demoed both, starting with anonymous mode.

Anonymous mode and claiming an agent's work

In anonymous mode an agent receives an access token and a claim token. The access token lets it do real work against a limited API slice; the claim token is what a person later trades for ownership of that work. Williams described the flow as a way to prove an application's value to an agent before any account exists, while preserving the option to widen the agent's permissions once a user is attached.

When the person behind the agent wants ownership, the agent hands over a link and a one-time code. The user signs in to Waypoint, enters the code, and the work transfers to their account. Waypoint's authorization server then issues an OAuth access token on that user's behalf.

The weakness is the step Williams flagged herself: a link, a signup form, a code and an email verification are exactly the friction that loses people. She put it plainly: if you know anything about product-led growth, you know this is where you lose your user. That gap motivates the second mode, in which the agent's provider vouches for a verified identity so the application can skip the form.

Waypoint's demonstration used two consent prompts. The first covered sharing the user's name and verified email. The second covered a more powerful permission, booking dinner reservations through the agent. Williams showed the agent verifying identity, creating the account, booking a trip and a reservation at Quality Bistro, and returning a shareable itinerary link without manual input from the user. That is a live demo claim from the speaker, not an independent evaluation.

ID-JAG: identity assertions the app verifies itself

ID-JAG, short for Identity Assertion JWT Authorization Grant, is an IETF specification for a signed statement about a user's identity, issued by the agent's provider and addressed to one specific application. Williams said the same specification underpins Anthropic enterprise managed authorization work in the Model Context Protocol and Okta's cross-app access feature. The IETF drafts are Identity Assertion JWT Authorization Grant and its predecessor, Cross App Access.

The flow starts with ordinary OAuth discovery: the agent finds the application's protected resource, its MCP server and its authorization server. Then the agent asks the user for consent to share their identity and email with the application. If the user consents, the agent goes to its provider (Claude, for example) and requests an ID-JAG. The agent sends that assertion to your authorization server, which verifies the signature, reads the user details inside it, and decides what to do next.

The structure matters because it puts the trust decision in the application's hands. The header identifies the type and the signing key, plus the algorithm used for signing. The payload records who issued the assertion, details about the user such as name, email and whether that email was verified, the intended audience, a client identifier the application knows, and an expiry. The issuer signs it, and the application validates that signature with the issuer's public key.

Everything after validation is a policy choice. Waypoint decides whether to create a new account or link to an existing one, and which scopes go into the access token it returns. An ID-JAG assertion does not give an agent access to an application, so the application is not outsourcing its access decisions to an agent provider by accepting one.

In the demo, Williams logged into her agent harness as Sam Rivera, a user Waypoint had never seen. She asked the harness to plan a New York City itinerary she could share with co-workers. The harness surveyed tools: Maple itinerary needed a browser sign-up, TripIt needed an API key, and Waypoint accepted agent signup. Waypoint created the account, booked a trip and a dinner reservation, and returned a share link, with no manual input from her.

Williams's practical advice from the talk was about standards rather than a specific vendor. Applications, agent providers and payment services need shared protocols for agents to talk to services, sign up and pay, and she pointed to a cluster of announcements in the weeks before her October 2026 talk. The OAuth working group drafts are where those proposals live while they remain drafts.

Scoped agent tokens for agents inside your app

A scoped agent token is a credential your own application issues to an in-app agent, carrying its own subject and a permission set no wider than the user's. Williams built two agents into Waypoint for a finance administrator named Jordan: a read-only assistant and a fund agent that can move budget between team members, but cannot change the budget or the approval rules.

She gave three reasons not to hand that agent Jordan's user token:

  • Auditing and attribution need the actor identified separately from the user.
  • Revocation needs to end the agent's access without ending Jordan's session and Jordan's own access.
  • Scope limiting needs a ceiling on what the agent can do.

Each reason points to a token whose subject is the agent, not the person. Her implementation uses an agent blueprint as that ceiling. When a user invokes an agent, the application issues an agent token whose scopes are the intersection of the user's permissions and the blueprint's scopes. The session view she showed put the user token, the blueprint and the resulting agent token side by side: the user token on the left, the blueprint in the middle (one permission for the read-only agent), and the agent token on the right with its subject set to the agent ID and the acting user recorded alongside it.

The demo made the ceiling visible. Alex had a $250 shortfall against a team budget with $70 left. The fund agent moved $70 to Alex, then stopped because the budget was empty. Williams, as Jordan, raised the budget to $2,000 with her own user token; the agent could not perform that action. Then the agent was able to fix Alex's budget. The grant is auditable, revocable and scoped, which is the whole argument for issuing one.

WorkOS sells this as agent auth infrastructure, and the vendor's own claims about its product are the source for that piece. The design pattern, however, does not depend on the vendor: any authorization server that can issue a token with a distinct subject and restricted scopes can enforce the same separation.

Which mechanism solves which problem

The three mechanisms answer different questions, and confusing them is the main design error Williams's framing guards against. Discovery, identity and authority are separate decisions with separate controls, and only the last one limits what an agent can actually do. The table below lays out the split.

MechanismQuestion it answersWho enforces itState as of late 2026
auth.mdHow does an agent find out how to sign up?Your application's APIProposed open convention
Anonymous claim flowHow does agent work get attached to a user?Your authorization serverDescribed in auth.md draft
ID-JAGWho is this user, according to the agent's provider?Your authorization serverIETF draft
Scoped agent tokenWhat may this agent do?Your applicationDepends on your implementation

Williams closed with three takeaways that follow the same split: an auth.md file to let agents in, a claim flow or ID-JAG to connect them to a customer, and permission enforcement plus revocation to limit them. For teams building this in TypeScript, Crazystack Typescript is one place to see how the pieces of a typed full-stack app fit together, and the Crazystack site at crazystack.com.br covers the wider curriculum.

What agent auth does not solve yet

Agent auth does not by itself make an application secure, compliant or safe for regulated use, and the standards involved are still drafts as of October 2026. The IETF documents carrying ID-JAG remain Internet-Drafts, so implementations may diverge and the exact field semantics can change before any RFC is published.

A signed identity assertion proves what the issuer claims, not that the person is present or consenting at the moment of a transaction. Williams built consent prompts into her agent harness, and that user consent step is what stops an identity assertion from becoming an open door. Without it, a provider that vouches loosely becomes a broad trust anchor for every application that accepts its assertions.

Scoped tokens limit damage but do not audit it. A finance agent that cannot change a budget can still move money within it, and the approval rules around that movement belong to the application and its operators. The token records who acted; the organization has to decide what is allowed and review what happened.

Readers who want to study the identity layer in more depth can follow Gustavo Dev Doido, a developer educator, and the Bootcamp do Dev Doido, a training program, for Portuguese-language coverage of agent and auth tooling. Williams's talk is the primary account of this particular demo, and the standards drafts are the primary source for the protocol itself.

Frequently asked questions about agent auth

What is agent auth?

Agent auth is the set of mechanisms that let an AI agent discover an application, obtain access on behalf of a verified user, and operate under a permission scope the application controls. WorkOS product manager Isabelle Williams described three parts in 2026: auth.md for discovery, ID-JAG for identity, and scoped agent tokens for limits.

Is auth.md an official standard?

auth.md is a proposed open convention published by WorkOS, not a ratified standard. It is a Markdown file an application hosts to describe how agents can register and get access, and the application's own API enforces whatever it describes. It has two modes: anonymous access with a claim step, and provider-vouched identity.

What does ID-JAG stand for?

ID-JAG means Identity Assertion JWT Authorization Grant, an IETF draft specification. It defines a signed assertion a user's agent provider issues to a specific application, containing the user's verified details, an audience, a client identifier and an expiry.

Why not give an agent the user's access token?

A user token cannot be revoked for the agent alone, cannot be attributed to the agent in an audit trail, and carries every permission the user holds. An agent token with its own subject and intersected scopes keeps all three properties separate.

No. Williams's demo included explicit consent prompts before sharing identity and email, and before granting a booking permission. The assertion records what the provider verified; the consent step records what the user agreed to.

Can an agent be revoked without logging the user out?

Yes, and that separation is a core argument for issuing a distinct agent token. Revoking the agent revokes its own credential, while the user's session and user access continue unaffected.

Which parts are open and which are vendor products?

The auth.md convention and the IETF ID-JAG drafts are published openly. Specific tooling, including WorkOS agent auth, is a commercial product, and the 3,000-plus customer figure is vendor-reported.

Which agents did Jordan get in the Waypoint demo?

Two: a read-only assistant that answers budget questions, and a fund agent that can move budget between team members. Neither can change the budget or the approval rules; only Jordan's own user token can do that.

What happened when the fund agent hit the budget limit?

The fund agent moved $70 toward Alex's $250 shortfall and stopped when the team budget hit zero. Jordan raised the budget to $2,000 with her user token, and the agent then finished the fix. The agent's scopes came from the intersection of Jordan's permissions and its blueprint.

What is Skala Blog?

Skala Blog is the publication hosting this article, which turns a recorded conference talk into a written explanation with primary sources linked. It is separate from the specifications and products discussed above.

When was this demonstrated?

Williams presented the demo at AI Engineer in New York City in October 2026, and the video was published on October 23, 2026. Treat the standards status as of that date and check the IETF drafts for later changes.

Turn a recorded talk into a written explainer

Williams's argument rests on a point that applies well beyond authentication: an agent works best when it can find what it needs in a form it can parse. The same is true of knowledge trapped in a video recording, where the reasoning exists but nothing can quote it, search it or link to it.

If you have a conference talk, an interview or a recorded lesson sitting on YouTube, Skalablog takes the video URL, transcribes it and generates an article you can review and edit before publishing. Paste the link to a video that already holds your best explanation, and the transcript becomes the first draft.

Skala Blog

Source video