Auth and Payments for AI Apps
One wallet, every app. No popups, no seed phrases—payments your users never think about.
How it works
Three steps to add payments to any AI app. Your users never touch a wallet.
Add the SDK
A few lines of code. AgentFish handles auth, wallet creation, and payments — all in one package.
import { AgentFish }
from '@agentfish/react'
<AgentFish appId="your-app-id">
<YourApp />
</AgentFish>Users Sign Up and Fund
Users create an AgentFish wallet once. No extensions, no seed phrases. Fund with USDC and they're ready.
const wallet = await agentfish
.wallets.create({ userId })
// Reusable across every app
// Fund once, use everywherePayments Just Work
Your app charges users via x402. They see what they paid, get refunded the difference. Zero popups.
const response = await agentfish
.pay(0.03, "api.example.com")
// User sees: "Paid $0.03"
// No approve button. Ever.Built for AI Apps
Everything developers and users need for seamless AI payments.
Invisible Payments
x402-native from the ground up. Your app charges, users see what they paid. No popups, no approve buttons.
Spending Controls
Per-transaction and daily limits. Users set their own boundaries. You stay in compliance.
One Wallet, Every App
Non-custodial by design. Users own their keys, create a wallet once, and reuse it across every integrated app.
Developer First
TypeScript SDK and React components. Auth, wallets, and payments in a single integration.
Full Transparency
Users see every charge and refund in real time. Developers get a dashboard with analytics and logs.
Built on Solana
Sub-second settlement, near-zero fees, USDC stablecoins. Fast enough for real-time AI interactions.
Start Building
Add payments to your AI app in minutes. Your users will never know they're on-chain.