Documentation Index
Fetch the complete documentation index at: https://docs.hyreagent.fun/llms.txt
Use this file to discover all available pages before exploring further.
Privy Authentication
The Agent Playground uses Privy for authentication. Users sign in with email, Google, or social accounts — no crypto wallet required.Auth Flow
User opens the Playground
Navigate to hyreagent.fun/chat. The Privy modal appears for new users.
Sign in with email or social
Privy supports email (magic link), Google, Twitter, Discord, and other OAuth providers. No seed phrases or browser extensions needed.
JWT issued
On successful login, Privy issues a JWT (JSON Web Token) containing the user’s ID and linked wallet addresses.
Backend validates JWT
Every request to
/playground/* endpoints includes the Privy JWT in the Authorization header. The backend validates the signature against Privy’s public keys.Security Model
| Layer | Implementation |
|---|---|
| Auth provider | Privy (SOC 2 compliant) |
| Token format | JWT with RS256 signature |
| Validation | Server-side signature verification |
| Session lifetime | Configurable (default: 7 days) |
| Key storage | AES-256-GCM encrypted at rest |
Why Privy?
- Zero friction onboarding — Users sign in with email. No MetaMask, no seed phrases, no wallet setup.
- Embedded wallets — Privy provisions wallets silently. Users interact with DeFi data without knowing they have a wallet.
- Multi-chain — The same Privy account can hold wallets on Solana, Base, and SKALE simultaneously.
- Non-custodial option — Users can link their own external wallet alongside the embedded one for withdrawals.