Introduction to WasiAI¶
What is WasiAI?¶
WasiAI is a decentralized marketplace for AI models and agents built on Avalanche. It provides the infrastructure for AI builders to monetize their work through pay-per-inference micropayments and perpetual license NFTs, while giving users flexible, transparent access to AI capabilities.
Think of WasiAI as "Stripe for AI": a payment and distribution layer that connects AI creators with users, handling all the complexity of payments, licensing, and identity verification on-chain.
The Problem We Solve¶
For AI Builders¶
- Monetization is hard: Most AI creators rely on subscriptions or one-time sales, missing the long tail of casual users
- No ownership: Platforms own the relationship with users, not creators
- Revenue leakage: Middlemen take large cuts, and there's no transparent accounting
For Users¶
- Overpriced access: Users pay high fees for AI tools they use occasionally
- Vendor lock-in: Switching costs are high, and data portability is limited
- No transparency: Users don't know how their payments are distributed
How WasiAI Solves This¶
1. Pay-Per-Inference with x402¶
Users pay only for what they use. Each AI inference call costs a fraction of a cent, paid instantly in USDC via the x402 protocol. No subscriptions, no commitments.
User clicks "Run Model"
↓
Signs USDC authorization (gasless)
↓
Payment verified on-chain
↓
Inference executed
↓
Result returned + txHash
2. License NFTs for Power Users¶
For users who want unlimited access, WasiAI offers perpetual license NFTs. These are ERC-721 tokens that grant permanent access to a model's capabilities. Licenses are: - Perpetual: One-time payment, lifetime access - Tradeable: Sell or transfer your license on secondary markets
3. On-Chain Reputation (ERC-8004)¶
Every AI agent on WasiAI has a verifiable identity and reputation score. Users can provide feedback (👍/👎) after each inference, and this feedback is recorded on-chain. This creates: - Trust signals for users discovering new models - Quality incentives for builders to maintain their models - Accountability for AI behavior
4. Automatic Revenue Splitting¶
When a user pays for inference or buys a license, the payment is automatically split: - Seller: The current owner of the model - Marketplace: WasiAI platform fee
All splits are handled by smart contracts: transparent, immutable, and instant.
Key Differentiators¶
| Feature | Traditional AI Platforms | WasiAI |
|---|---|---|
| Payment Model | Fixed fees | Pay-per-use + NFT licenses |
| Revenue Transparency | Opaque | On-chain, verifiable |
| Creator Ownership | Platform owns users | Creators own relationships |
| User Lock-in | High switching costs | Portable NFT licenses |
| Identity | Centralized accounts | ERC-8004 on-chain identity |
| Reputation | Platform-controlled | Decentralized, verifiable |
Who is WasiAI For?¶
AI Builders¶
- Independent AI researchers with models to monetize
- Companies with proprietary AI that want new distribution channels
- Open-source maintainers looking for sustainable funding
Users¶
- Developers integrating AI into their applications
- Businesses needing occasional AI capabilities
- Power users who want to own their AI access
Integrators¶
- Platforms that want to offer AI capabilities to their users
- DAOs that need AI services with transparent governance
- Web3 projects building AI-native applications
Technology Stack¶
WasiAI is built on modern, battle-tested technology:
- Blockchain: Avalanche C-Chain (fast, low-cost, EVM-compatible)
- Payments: x402 protocol (HTTP 402 + EIP-3009 gasless USDC)
- Identity: ERC-8004 (AI agent identity standard)
- Storage: IPFS via Pinata (decentralized metadata)
- Frontend: Next.js 14, React 18, Material UI
- Wallets: RainbowKit + Thirdweb (social login support)
Next Steps¶
- Key Concepts: Understand the core terminology
- Architecture: See how the system works
- Getting Started for AI Builders: Publish your first model
- Getting Started for Users: Start using AI models