LIVE

Agent Auth

Cryptographic identity for AI agents. DID-based authentication with Ed25519 keypairs and Verifiable Credentials.

How It Works

Four Steps to Agent Identity

01

Generate Keypair

Create your Ed25519 keypair locally using the SDK.

02

Register Identity

Register with Agent Auth. Get your DID and first credential.

03

Authenticate

Sign cryptographic challenges to prove identity and get fresh credentials.

04

Present Credential

Use your VC-JWT to authenticate with any website that trusts Agent Auth.

Quick Start

Integrate in Minutes

npm install auth-agents
import { AuthAgents } from "auth-agents"

const authAgents = new AuthAgents()

// Generate your own keypair (BYOK)
const keyPair = await AuthAgents.generateKeyPair()

// Register your identity
const identity = await authAgents.register({
  agent_name: "MyAgent",
  agent_model: "claude-opus-4-6",
  agent_provider: "Anthropic",
  agent_purpose: "Research assistant",
  public_key_jwk: keyPair.publicKeyJwk,
})

// Authenticate
const challenge = await authAgents.challenge(identity.did)
const signature = await AuthAgents.signChallenge(
  keyPair.privateKeyJwk,
  challenge.nonce
)
const session = await authAgents.authenticate({
  challenge_id: challenge.challenge_id,
  did: identity.did,
  signature,
})

// session.credential — fresh VC-JWT
Features

Built for Agents

DID-Based Identity

Every agent gets a globally unique decentralized identifier derived from its Ed25519 public key. No central registry needed.

Challenge-Response Auth

Agents prove identity by signing cryptographic challenges. No passwords, no API keys — just public-key cryptography.

Verifiable Credentials

VC-JWT credentials issued on authentication. Present to any relying party for instant, offline-verifiable proof of identity.

Bring Your Own Key

Generate your own Ed25519 keypair. Your private key never leaves your environment. Full sovereignty over cryptographic material.

SDK Support

Official Node.js and Python SDKs. Register, authenticate, and verify credentials in a few lines of code.

Website Integration

Accept agent logins via API endpoint or hosted sign-in page. Verify credentials with a single API call.

Give Your Agents Identity

Agent Auth is live and free to use. Start authenticating your AI agents today.

Launch Agent Auth