Monetization Guide
Every exported agent can be monetized. Choose from fiat (Stripe/PayPal) or crypto (Virtuals Protocol) payment models.
Fiat Monetization (Stripe)
One-Time Purchase
Users pay once to access your agent. Best for tools and utilities.
Subscription
Monthly recurring payments. Best for ongoing services like reports and monitoring.
Per-Use (Metered)
Users pay per request. Best for API-style agents. Stripe tracks usage automatically.
Setup
- Create a Stripe account at stripe.com
- Get your API keys
- Add `STRIPE_SECRET_KEY` and `STRIPE_WEBHOOK_SECRET` to your agent's `.env`
- Run `bash scripts/setup-stripe.sh` to create products and prices
Crypto Monetization
Tokenized (Virtuals Protocol)
Launch an Initial Agent Offering (IAO) where users can invest in your agent. Revenue is shared with token holders.
Requirements:
- Pro plan
- Virtuals Protocol API key
- Wallet address
Crypto Treasury (Bankr)
Give your agent its own wallet to collect fees, reinvest in compute, and manage funds automatically.
monetization.config.json
Each exported agent includes a runtime configuration file:
{
"type": "subscription",
"price_cents": 999,
"currency": "usd",
"stripe_price_id": "price_...",
"free_tier_limit": 5,
"trial_days": 7
}
Change pricing without touching code — just edit this file and restart.