This video features Michael Grinich, founder of WorkOS, at MCP Night, where he outlines the transition from human-led AI development to autonomous agentic software. The presentation introduces auth.md, a new open specification designed to solve the critical problem of how AI agents register for and authenticate with web services without human intervention. By exploring the architecture of the 'Agent Harness' and demonstrating live agentic registration with partners like Cloudflare and Firecrawl, the video provides a roadmap for developers to make their applications 'Agent Ready.'
Key Takeaways
- Shift to Autonomy: AI agents are evolving from simple autocomplete tools to autonomous workers capable of running tasks for hours or days.
- The Harness Concept: Effective agents require more than just an LLM; they need a 'harness' consisting of runtime, tools, context, feedback loops, and human review systems.
- Registration Barriers: Existing sign-up flows (CAPTCHAs, email verification) are designed to block the very automated behavior that agents require.
- auth.md Specification: A proposed open standard for agent-native registration that allows agents to identify themselves and provision accounts autonomously.
- Agent Ready is the New Enterprise Ready: As agents become primary users, businesses must move away from browser-centric UIs toward API-first, agent-friendly architectures.
The Evolution of Agentic Coding
Grinich explains that the software industry has undergone a radical transformation in a very short period. Initially, AI in coding acted as an advanced autocomplete system where the human remained firmly in the loop, steering every line of code. However, as models have improved, we have entered the era of 'long-running agents.' These systems can take a high-level prompt, decompose a project into smaller tasks, and work independently for hours to build entire features or applications.
Companies like Ramp and Stripe are already leveraging this through internal tools like 'Inspect' and 'Minions.' These systems don't just suggest code; they generate pull requests, run tests, and deploy to production autonomously. At WorkOS, a similar system called 'Horizon' handles internal engineering tasks, allowing the team to operate at a scale previously impossible for a human-only workforce.
Building the Agent Harness
For an agent to be effective, it cannot exist as a standalone model. Grinich introduces the 'Harness,' which he compares to the chassis and fuel of a car, while the LLM is the engine. A robust harness requires five key components:
- Runtime: A secure, isolated environment where the agent can execute code.
- Tools: Access to external services like GitHub, CI/CD pipelines, and databases.
- Context: Deep knowledge of the codebase, product requirements, and previous team conversations.
- Feedback Loops: The ability to test its own work, review errors, and iterate based on results.
- Human Review: A mechanism for high-level oversight and final approval of intent and design decisions.
Solving the Registration Problem with auth.md
The most significant friction point identified in the video is 'Agent Registration.' Most websites are built to ensure users are human, utilizing CAPTCHAs, email verification links, and password managers—all of which act as roadblocks for autonomous agents. If an agent cannot sign up for a service, it cannot use it, which Grinich argues makes the service 'dead in the water' in the coming agentic economy.
WorkOS's solution, auth.md, is a markdown-based specification hosted at a well-known endpoint (e.g., yourservice.com/auth.md). It allows an agent to discover how to register, what identity proofs are required, and what scopes are available. Central to this is the ID-JAG (Identity Assertion JWT Authorization Grant), which allows a trusted identity provider (like WorkOS or a company's internal system) to vouch for an agent's identity, allowing a service provider like Cloudflare to provision an account instantly without a human ever seeing a login screen.
Practical Applications
Developers can begin applying these concepts by examining their current authentication and registration flows. To become 'Agent Ready,' teams should:
- Adopt the auth.md spec: Hosting an
auth.mdfile enables agents to discover and interact with your API autonomously. - Shift to API-first UI: Follow the lead of Salesforce’s 'Headless 360' where the API is treated as the primary user interface, ensuring all functionality is accessible via MCP or CLI.
- Implement ID-JAG: Use JWT-based identity assertions to allow machine-to-machine account provisioning, reducing the need for manual API key generation.
- Build Autonomous Code Factories: Create internal harnesses that allow AI agents to handle repetitive debugging and deployment tasks, freeing up human engineers for architectural design.
Frequently Asked Questions
What is the difference between MCP and auth.md?
While the Model Context Protocol (MCP) focuses on how agents exchange context and call tools, auth.md focuses specifically on the registration and authentication flow. MCP assumes an agent already has access; auth.md provides the mechanism for the agent to get that access autonomously.
Why can't we just use traditional OAuth for agents?
Traditional OAuth usually requires a 'User-Agent' (a browser) and a human to click 'Allow.' Autonomous agents often operate in head-less environments where no human is present to provide consent in real-time. Auth.md replaces this interactive consent with pre-delegated identity assertions.
Is auth.md a formal web standard?
Currently, auth.md is an open specification and a set of principles rather than a standard ratified by bodies like the IETF. Grinich describes it as a 'set of ideas' intended to be implemented and improved upon by the developer community to eventually form a standard for agentic registration.
How do agents handle payments if they sign up autonomously?
While the current focus of auth.md is on registration and free-tier access, the speaker notes that the next evolution will involve agents being able to transact and pay for services. This would likely involve the agent having access to a scoped digital wallet or corporate procurement account authorized through the same identity harness.
