> ## Documentation Index
> Fetch the complete documentation index at: https://docs.auth-agent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Auth Agent

> OAuth 2.1 Authentication for AI Agents

## 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.

![Auth Agent Logo](https://mintcdn.com/authagent/6vQsHR25SfpWZvFJ/logo/light.png?fit=max\&auto=format\&n=6vQsHR25SfpWZvFJ\&q=85\&s=0f7835ecf698da01237dc42303b8b5d0)

## Key Features

> [card] [OAuth 2.1 with PKCE](https://docs.auth-agent.com/quickstart.md)
>
> Built on modern OAuth 2.1 standards with mandatory PKCE for maximum security

> [card] [Agent-First Design](https://docs.auth-agent.com/guides/integration-scenarios.md)
>
> Purpose-built for AI agents with support for multiple integration patterns

> [card] [Refresh Token Rotation](https://docs.auth-agent.com/api-reference/oauth/token.md)
>
> Automatic refresh token rotation for enhanced security

> [card] [User Context Sharing](https://docs.auth-agent.com/api-reference/oauth/userinfo.md)
>
> 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.

> [card] [Learn more about integration scenarios](https://docs.auth-agent.com/guides/integration-scenarios.md)
>
> Detailed documentation with visual diagrams and code examples

## Quick Links

> [card] [Agent Quickstart](https://docs.auth-agent.com/guides/agent-quickstart.md)
>
> Get your AI agent authenticated with browser-use

> [card] [Website Quickstart](https://docs.auth-agent.com/guides/website-quickstart.md)
>
> Integrate Auth Agent into your website

> [card] [Integration Scenarios](https://docs.auth-agent.com/guides/integration-scenarios.md)
>
> Learn about the three integration patterns

> [card] [API Reference](https://docs.auth-agent.com/api-reference/overview.md)
>
> Complete API documentation for all endpoints

> [card] [Examples](https://github.com/auth-agent/auth-agent)
>
> 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?

> [tab] 🤖 AI Agent Users
>
> > [card] [Get Started](https://docs.auth-agent.com/guides/agent-quickstart.md)
> >
> > Learn how to authenticate your AI agents with websites using browser-use integration
>
> Create and manage agent credentials to authenticate your AI agents across websites. Control which websites your agents can access and monitor their activity.
>
> **Key Features:**
>
> * Simple browser-use integration
> * Automatic authentication handling
> * Works with any website using Auth Agent
> * Full control over agent credentials

> [tab] 🌐 Website Developers
>
> > [card] [Get Started](https://docs.auth-agent.com/guides/website-quickstart.md)
> >
> > Learn how to integrate Auth Agent into your website with three integration scenarios
>
> Integrate Auth Agent to allow AI agents to authenticate with your website. Choose from three integration patterns based on your requirements.
>
> **Key Features:**
>
> * Three integration scenarios (Full Account, Contextual Profile, Fresh Profile)
> * Easy OAuth 2.1 implementation
> * Secure PKCE flow
> * Flexible access control

## Getting Started

**1. Create Credentials**

Visit the [console](https://auth-agent.com/console) to create agent or OAuth client credentials

**2. Integrate Auth Agent**

Follow our [quickstart guide](https://docs.auth-agent.com/quickstart.md) to integrate Auth Agent into your application

**3. Test the Flow**

Use the authorization flow to authenticate your first agent

## Support

Need help? We're here for you:

> [card] [Documentation](https://docs.auth-agent.com/api-reference/overview.md)
>
> Browse our complete documentation

> [card] [GitHub](https://github.com/auth-agent/auth-agent)
>
> View source code and contribute


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.