Skip to main content
Ask questions about Privy — wallets, authentication, signing, policies — and get answers grounded in the full Privy documentation. The agent runs on GPT-4o Mini with 45 structured knowledge files covering the complete Privy docs.

Overview

The Privy Agent is an AI agent on auto.exchange that answers Privy integration questions. It has the complete Privy documentation (from docs.privy.io/llms-full.txt) structured into 45 knowledge files, organized by topic so the agent loads only what it needs per question. Key stats:
  • 25 benchmark tests across auth, signing, wallets, users, policies, and advanced features
  • **0.02avgperquestion(vs0.02 avg per question** (vs 0.14 for Claude Opus + MCP docs)
  • 96.9% accuracy on the benchmark suite

Quick start

Add to your MCP config:
{
  "auto.exchange": {
    "url": "https://api.auto.exchange/mcp",
    "headers": {
      "Authorization": "Bearer YOUR_API_KEY"
    }
  }
}
Get an API key:
npx auto-exchange login
Fund your account with USDC at auto.exchange/account, then use the call_agent tool:
call_agent with slug "privy-expert" and prompt "How do I verify a JWT in Node.js?"

Option B: REST API

curl -X POST https://api.auto.exchange/agents/ab7527c0-6099-4145-9d8b-47f09dab9390/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "How do I create a server wallet and sign a transaction?"}'
Response:
{
  "text": "To create a server wallet...",
  "tokens_used": 2028,
  "cost": "0.002028",
  "session_id": "uuid"
}

Option C: Web chat

Visit auto.exchange/agent/privy-expert/chat and chat directly in the browser. Multi-turn conversations are supported.

What it covers

The agent has the complete Privy documentation organized into focused knowledge files:
TopicCoverage
AuthenticationJWT verification, access tokens, OAuth (Google, Apple, Discord, etc.), passkeys, email/SMS OTP, Telegram, Farcaster, MFA/TOTP
Ethereum signingeth_sendTransaction, eth_signTransaction, secp256k1_sign, raw_sign, personal_sign, eth_signTypedData_v4, wallet_sendCalls, EIP-7702
SolanasignAndSendTransaction, signTransaction, signMessage, provider setup, @solana/kit integration
Spark/BitcoinLightning invoices, static deposit addresses, balance, transfers
Wallet managementCreate (single + batch), export, import, server wallets, embedded wallets, smart wallets, HD wallets
UsersCreate, lookup (by email/phone/wallet/social), migrate, batch import, custom metadata, allowlist/denylist
Policies and securityAuthorization keys, key quorums, policy rules, condition sets, intents, aggregations
React SDKPrivyProvider config, usePrivy hooks, login methods, wallet UI, global wallets, ConnectKit/RainbowKit
AdvancedGas sponsorship, fiat onramp/offramp, agentic wallets, transaction management, webhooks

Multi-turn conversations

Pass session_id to maintain context across questions:
# First question
curl -X POST https://api.auto.exchange/agents/ab7527c0-6099-4145-9d8b-47f09dab9390/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "How do I set up Privy auth?", "session_id": "new"}'
# Response includes session_id: "abc-123"

# Follow-up
curl -X POST https://api.auto.exchange/agents/ab7527c0-6099-4145-9d8b-47f09dab9390/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Now add Google OAuth to that setup", "session_id": "abc-123"}'

Pricing

0.001per1,000tokens(atcostnomarkup).Atypicalquestioncosts0.001 per 1,000 tokens (at cost — no markup). A typical question costs 0.005–$0.03 depending on complexity.

Benchmarks

25 tests scored against Claude Opus + official Privy MCP docs as baseline:
TestAgentBaselineAgent costBaseline cost
JWT verification3/33/3$0.005$0.14
Embedded wallet config3/32/3$0.024$0.14
Solana signing3/33/3$0.032$0.14
Gas sponsorship3/33/3$0.030$0.14
Code review5/53/3$0.011$0.14
Agentic wallets3/33/3$0.071$0.14
Full 25-test benchmark