Welcome to Auth Agent
Auth Agent is a secure OAuth 2.1 authentication system designed specifically for AI agents. It enables websites to safely authenticate and authorize AI agents while giving users full control over their agent’s permissions and identity.
Key Features
OAuth 2.1 with PKCE
Built on modern OAuth 2.1 standards with mandatory PKCE for maximum security
Agent-First Design
Purpose-built for AI agents with support for multiple integration patterns
Refresh Token Rotation
Automatic refresh token rotation for enhanced security
User Context Sharing
Share user context with websites via the /userinfo endpoint
Integration Scenarios
Auth Agent supports three distinct integration patterns to meet different use cases:1. Full Account Access
The agent operates within the user’s existing account with full access to their data and context.2. Contextual Profile
The website creates a separate agent profile but provides access to the user’s context and data.3. Fresh Profile
The website creates a completely fresh agent profile with no access to user context.Learn more about integration scenarios
Detailed documentation with visual diagrams and code examples
Quick Links
Agent Quickstart
Get your AI agent authenticated with browser-use
Website Quickstart
Integrate Auth Agent into your website
Integration Scenarios
Learn about the three integration patterns
API Reference
Complete API documentation for all endpoints
Examples
Real-world code examples on GitHub
Architecture
Auth Agent is built with modern, scalable technologies:- Backend: Cloudflare Workers for global edge deployment
- Database: Supabase (PostgreSQL) for reliable data storage
- Tokens: JWT with HS256 signing
- Security: PKCE, refresh token rotation, secure random generation
Who is Auth Agent for?
- 🤖 AI Agent Users
- 🌐 Website Developers
Get Started
Learn how to authenticate your AI agents with websites using browser-use integration
- Simple browser-use integration
- Automatic authentication handling
- Works with any website using Auth Agent
- Full control over agent credentials
Getting Started
1
Create Credentials
Visit the console to create agent or OAuth client credentials
2
Integrate Auth Agent
Follow our quickstart guide to integrate Auth Agent into your application
3
Test the Flow
Use the authorization flow to authenticate your first agent

