Co-presented by AEON & SkillBoss β AI Agents pay per-call in USDT on BSC to invoke 200+ AI tool capabilities.
Zero API keys Β· Zero prepay Β· x402 protocol pay-per-call Β· Natural-language driven
Your AI agent is ready to work β now let it pay.
AEON and BNB Chain are launching the AI Agent Campaign, opening up a native payment rail for autonomous AI agents on BNB Chain. With BNB assets, your agent can now call LLMs, APIs, skills, and compute resources β and settle instantly on-chain.
How it works
Agents pay with BNB-native assets through AEON's infrastructure. Every API call, every model inference, every skill invocation β settled seamlessly, no human in the loop.
π $5 off every top-up during the campaign β pick any package (6 / 10 / 20 / 50 U), the discount applies automatically at aigateway wallet-topup. e.g. top up 10 U β pay 5 USDT, get 10 U.
Build agents that don't just think β but transact.
@aeon-ai-pay/aigateway is a unified CLI + Agent Skill. Through a single session-key wallet and the x402 protocol, it opens up SkillBoss's 200+ tool capabilities (image / video / audio / search / scraping / email / document / social data / UI generation, etc.) to AI Agents for pay-per-call invocation.
SkillBoss is a unified AI API + Agent Skills platform β a single API Key gives you access to models and tool capabilities from multiple providers, covering chat & reasoning, search, web scraping, image generation, video generation, audio, document processing, email, data services, and website / full-stack app deployment. Native support for Claude Code, Codex, Cursor, Windsurf, and other AI Agent tools.
| Dimension | Data |
|---|---|
| Public API endpoints | 359 |
| Service providers | 50 |
| Official Skill packages | 1 main + 4 sub: skillboss / skillboss-image / skillboss-video / skillboss-marketing / skillboss-cold-email |
| Skills Marketplace | 500+ ready-to-use skills |
Full capability surface: LLM / Chat Β· Embedding Β· Search Β· Scraping Β· Image Β· Video Β· Audio (TTS / STT) Β· Document Β· Social / Business Data Β· Email Β· Finance / Utility Β· Platform / Storage Β· Marketing / Cold Email Β· Full-stack App / Website Build & Deploy
| Entry | URL |
|---|---|
| API web catalog | https://www.skillboss.co/docs/api-catalog |
| API JSON catalog | https://www.skillboss.co/api-catalog.json |
| Skills marketplace | https://www.skillboss.co/skills |
| Skills index API | https://www.skillboss.co/api/skills/index |
| Skills search API | https://www.skillboss.co/api/skills/search |
| Agent install entry | https://www.skillboss.co/skill.md |
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI Agent (Claude Code / Cursor / Codex / Windsurf / ...) β
ββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ
β natural-language instructions
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β aigateway CLI (@aeon-ai-pay/aigateway) β
β sb tools βββ server catalog (model + tier + schema) β
β sb invoke βββ client-side inputs validation β
β βββ x402 phase 1 (402 response: live price) β
β βββ EIP-712 signing (session key, gasless) β
β βββ auto-download image / video / audio β
ββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ
β HTTP + x402
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AEON x402 Gateway (ai-api.aeon.xyz) β
β dynamic pricing by model.priceUnit Γ usage β
β proxies calls to SkillBoss upstream β
ββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SkillBoss (api.skillboss.co) β
β 50 vendors Β· 359 endpoints β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Category | Pricing Unit | Description |
|---|---|---|
image |
per_image |
Image generation / editing / upscaling / background removal |
video |
per_second |
Video generation (requires duration) |
tts |
per_1k_chars |
Text-to-speech / sound effect generation |
stt |
per_minute |
Speech-to-text (requires duration_minutes) |
search |
per_request |
Web search / map search |
scraper |
per_request |
Web scraping / structured extraction |
social_data |
per_request |
Social / business data |
sms |
per_request |
SMS / OTP / email verification |
document |
per_request |
Document parsing (PDF / DOCX β Markdown) |
ui_generation |
per_request |
UI / prototype / slide deck generation |
financial |
per_request |
Stock / forex / crypto / financial news |
news |
per_request |
News APIs |
utility |
per_request |
Domain / QR code / geo / dictionary and other utility APIs |
# Fetch the full catalog
aigateway sb tools
# Filter by category
aigateway sb tools --category image
aigateway sb tools --category video
# Filter by tier (price percentile within a category: price / balanced / quality)
aigateway sb tools --tier price
aigateway sb tools --category image --tier quality
# Look up a single model (with effectiveSchema)
aigateway sb tools --model <model_id>Response shape: categories[].models[]. Each model carries id / vendor / useCase / price / priceUnit / tier / optional inputsOverride. Each category carries agentTrigger / defaultInputsSchema.
- Node.js β₯ 25
- A WalletConnect-compatible mobile wallet (MetaMask / OKX Wallet / Trust Wallet, etc.)
- Your main wallet holds USDT (BEP-20) plus a small amount of BNB (for the first-time approve gas, ~$0.002)
npm install -g @aeon-ai-pay/aigateway
# Verify
aigateway --versionWhen you run npm install -g, the postinstall script already installs the skill into all detected agents. If something was missed, install it manually:
npx skills add AEON-Project/aigateway -g -y # install into all detected agents
npx skills add AEON-Project/aigateway -a claude-code -a cursor -a codex -g -y # install into specific agentsSupported: Claude Code, Cursor, Codex, OpenClaw, Gemini CLI, GitHub Copilot, Windsurf, Roo Code, 39+ more.
aigateway wallet-init # generates the session key at ~/.aigateway/config.json and prints address + balanceaigateway wallet-topup --amount 5After scanning the WalletConnect QR code, the main wallet signs 2 transactions: transfer USDT + a small amount of BNB to the session key; the session key then broadcasts a one-time ERC20.approve(facilitator, MaxUint256). After that, sb invoke is fully gasless EIP-712 signing end-to-end.
aigateway sb tools --category image # browse available models
aigateway sb invoke --model <model_id> --inputs '{"prompt":"..."}' # invokeImages / videos / audio are auto-downloaded into ~/aigateway-{images,videos,audio}/.
Every command accepts --app-id <id> (merchant ID, defaults to TEST000001) and emits a single JSON envelope line to stdout: { ok, command, version, data | error }.
| Command | Description | Key flags |
|---|---|---|
wallet-init |
Check / create the local session wallet (purely local β no QR, no on-chain action) | --app-id <id> |
wallet-topup |
WalletConnect USDT top-up (β₯5 USDT, presets 5/10/20/50) + first-time approve | --amount <usdt>, --private-key <key> |
sb invoke |
The only x402 paid invocation entry point β invoke any SkillBoss model | --model <id> (required), --inputs <json> (required), --output <dir>, --raw, --topup-amount <usdt> |
sb tools |
Fetch the model catalog from the server in real time (no cache) | --model <id> / --category <key> / --tier <price|quality|balanced> |
wallet-balance |
Show the session wallet's USDT + BNB balance | --private-key <key> |
wallet-gas |
Transfer BNB from the main wallet to the session key via WalletConnect | --amount <bnb> (default 0.001) |
wallet-withdraw |
Withdraw a single asset (USDT or BNB) from the session key back to the main wallet. The campaign reward portion is non-withdrawable. No args β interactive prompt. | --amount <n> + --token <USDT|BNB> (required together for non-TTY), --to <address> |
clean |
Uninstall the skill + global package and clear caches | β |
Global flags: --legacy-output (legacy JSON shape), --verbose, --quiet.
Usage-based pricing constraints (enforced by sb invoke client-side preflight):
video/ music: must includeduration(billed per second)stt: must includeduration_minutes(billed per minute)
- Session key: a locally generated private key (
~/.aigateway/config.json, mode 0o600). All paid calls are signed by this key, and the private key never leaves your machine. - Main wallet: your existing MetaMask / OKX / Trust wallet β only connected via the WalletConnect QR code, the main wallet's private key never touches the CLI.
- First-call balance threshold: wallet balance must be β₯ 1 USDT before invocation (
LOW_BALANCE_THRESHOLD). - Minimum top-up per session: β₯ 6 USDT (
MIN_TOPUP_USDT), presets 6 / 10 / 20 / 50. - One-time approve:
wallet-topupbroadcasts a singleERC20.approve(facilitator, MaxUint256)(consumes ~0.0003 BNB); all subsequent paid calls reuse the allowance β no further on-chain tx needed. - Gasless payments:
sb invokeis purely EIP-712 signing end-to-end; the server pays the gas for the on-chain USDT transfer. - Dynamic pricing: the server computes
priceUnit Γ inputs usagein real time:- Image:
per_image Γ num_outputs - Video / music:
per_second Γ duration Γ num_outputs - TTS:
per_1k_chars Γ len(text)/1000 - Transcription:
per_minute Γ duration_minutes - Embedding:
per_million_tokens Γ len(input)/4/1M - Others:
per_request Γ 1
- Image:
Reference
- docs/output-schema.md β Full envelope schema for every command
- docs/exit-codes.md β Exit code categories +
error.codeindex - docs/env-vars.md β
AIGATEWAY_SERVICE_URL/EVM_PRIVATE_KEY/ config fallback rules - docs/troubleshooting.md β Common issues
Recipes
- docs/recipes/integrate-in-agent.md β Node.js / Python subprocess wrapping
- docs/recipes/merchant-integration.md β Merchant onboarding (self-custody vs. managed wallet)
- docs/recipes/error-recovery.md β Recovery strategies by error code
Agent / IDE integration
- docs/ide-setup.md β Manual install templates for various IDEs
Release
- docs/release-process.md β Version sync, release, auto-upgrade
- CHANGELOG.md β Release history
import { spawn } from "node:child_process";
const child = spawn("aigateway", [
"--quiet",
"sb", "invoke",
"--model", "<model_id>",
"--inputs", JSON.stringify({ prompt: "a cyberpunk fox" }),
"--app-id", "MY_AGENT_001",
]);
let stdout = "";
child.stdout.on("data", (b) => { stdout += b; });
child.on("close", () => {
const env = JSON.parse(stdout.trim().split("\n").pop());
if (env.ok) {
console.log("Image saved:", env.data.downloaded[0].localPath);
console.log("Tx:", env.data.transaction);
} else {
console.error(`[${env.error.code}] ${env.error.message}`);
}
});Config lives at ~/.aigateway/config.json (file mode 600). The CLI ships with a default service URL (https://ai-api.aeon.xyz); for testing or a custom backend, override via environment variables:
AIGATEWAY_SERVICE_URLβ base URL of the x402 serviceEVM_PRIVATE_KEYβ override the saved session key (development use)
MIT