← all tools
WorkOS·May 21, 2026·open source
auth.md
auth.md is an open protocol by WorkOS that lets AI agents register for services on behalf of users — discoverable via a plain Markdown file published at your domain (e.g.
AI CodingAgentic AISecurityOpen Source
What is auth.md?
auth.md is an open protocol by WorkOS that lets AI agents register for services on behalf of users — discoverable via a plain Markdown file published at your domain (e.g. yourapp.com/auth.md). It solves the missing primitive in the agent ecosystem: how an agent handles a 401 and registers a user without a human filling out a sign-up form.
Open protocol by WorkOS that lets AI agents register for services on behalf of users via a Markdown file at your domain — no sign-up forms needed.
Who auth.md is for
Teams and individual developers working in AI Coding, Agentic AI and Security.
Software engineers
Write, refactor and debug code faster in their existing workflowAI engineers
Build, orchestrate and debug multi-step agentsApplication security engineers
Find and triage vulnerabilities in code and dependenciesTech leads
Speed up code review and keep standards consistent across PRsAutomation engineers
Replace manual multi-step workflows with tool-calling agentsDevSecOps teams
Add security gates to CI/CDKey features
01Open agent registration protocol — agents discover your auth.md file, pick a supported flow (Agent Verified via ID-JAG identity assertion, or User Claimed via 6-digit OTP email), and register on behalf of a user; extends RFC 9728 Protected Resource Metadata with an agent_auth block at /.well-known/oauth-protected-resource
02Two flows for every trust model — Agent Verified: agent provider signs an ID-JAG JWT, service verifies against JWKS, issues credentials synchronously (no human interaction); User Claimed: service emails an OTP, user confirms to the agent, credential is issued or upgraded — services choose which flows to accept
03Standards-based, no new crypto — built on RFC 9728, IETF ID-JAG draft, and OIDC backchannel logout for revocation; integrates with existing OAuth/JWKS verification paths; one-click enable via WorkOS AuthKit; fully open spec with integration guides for both apps and agent providers
auth.md use cases
Horizontal · cross-industry
RefactoringMulti-file refactors, API migrations and type-safe renames across a repo
Workflow orchestrationMulti-step tool-calling agents with planning, retries and state
SASTStatic analysis for injection, XSS and insecure patterns
Vertical · domain-specific
FintechChange ledger and payment services with test suites generated alongside
Customer supportTicket triage agents connected to CRM and knowledge-base APIs
BankingPCI DSS and SOC 2 evidence from CI security gates
auth.md alternatives
browse all →Sandbox Kit Specificationopen sourceThe Docker Sandbox Kit Specification v3 is an open-source standard for packaging AI agent environments, including network rules, credentials, and volumes, into a singl…Shannonopen sourceShannon is a fully autonomous AI-powered penetration testing tool developed by KeygraphHQ, designed to identify actual exploits in web applications.Vulnerability Fixeropen sourceVulnerability Fixer is an open-source project developed by OpenHands, designed to assist in identifying and mitigating security vulnerabilities within software systems.