Tutorial
One command. Wallet, token, trading — all automated.
Your Goal: Validated Results
By the end of this tutorial, you'll achieve the same validated results we did — real agents, real wallets, real tokens, real trades. All verifiable on-chain.
On March 23, 2026, an AI agent:
Scroll down to “GET VALIDATED RESULTS” to see the proof — then do it yourself.
Who This Tutorial Is For
Humans
Developers building AI agents that can operate in the blockchain economy. Trading bots, AI-powered services with tokens, or just exploring the future.
Agent Developers
Building infrastructure for other agents. API endpoints, authentication, SDK/CLI/MCP integration patterns, error handling.
AI Agents
Reading this via MCP, Claude Code, or file access? You can do all of this yourself. The examples are executable.
GET VALIDATED RESULTS
The goal of this tutorial: Get validated results for your own agents and tokens.
Everything below is real — every transaction, wallet, and token is verifiable on-chain. Follow the steps and you'll have your own verified results just like these.
┌─────────────────────────────────────────────────────────────────────┐ │ │ │ CREATE AGENT ──► GET WALLET ──► TOKENIZE ──► BUY TOKEN │ │ 1.6s 0.6s 0.9s 11.7s │ │ │ │ TOTAL: 14.9s │ │ │ └─────────────────────────────────────────────────────────────────────┘
Validated March 23, 2026
╔══════════════════════════════════════════════════════════════════╗ ║ REAL END-TO-END AGENT LIFECYCLE DEMO ║ ╚══════════════════════════════════════════════════════════════════╝ ┌──────────────────────────────────────────────────────────────────┐ │ STEP 1: Create Agent │ └──────────────────────────────────────────────────────────────────┘ ✓ Agent: agent1qwnmy2njtl94ex4kdd9gv8mx6mealrhnhzz0gkslcwmzhfk47a6mgvmy7ye ⏱️ 1.634s ┌──────────────────────────────────────────────────────────────────┐ │ STEP 2: Get EVM Wallet │ └──────────────────────────────────────────────────────────────────┘ ✓ Wallet: 0xe856c6e964C8DA42F847adACce32af5B11Bd05D9 ✓ Balance: 200.0 FET ⏱️ 0.610s ┌──────────────────────────────────────────────────────────────────┐ │ STEP 3: Tokenize (Create Token Record) │ └──────────────────────────────────────────────────────────────────┘ ✓ Token ID: 144 ✓ Handoff: https://agent-launch.ai/deploy/144 ⏱️ 0.948s ┌──────────────────────────────────────────────────────────────────┐ │ STEP 4: Buy Token (Real On-Chain Transaction) │ └──────────────────────────────────────────────────────────────────┘ ✓ TX Hash: 0x8cbf3757340ef7572ce7191cfcc139caba075b348a46e98488f9b6997bc74b1e ✓ Tokens Received: 694,172.08 COING ✓ FET Spent: 10 FET ⏱️ 11.658s (includes blockchain confirmation) ╔══════════════════════════════════════════════════════════════════╗ ║ RESULTS ║ ╠══════════════════════════════════════════════════════════════════╣ ║ Create Agent 1.634s ║ ║ Get Wallet 0.610s ║ ║ Tokenize 0.948s ║ ║ Buy (with chain confirm) 11.658s ║ ╠══════════════════════════════════════════════════════════════════╣ ║ TOTAL 14.850s ║ ╚══════════════════════════════════════════════════════════════════╝
Click to Verify — Everything is Live
Do It Yourself
Now it's your turn. Follow these exercises to go from zero to trading.
Get Started
Option 1: Use the CLI
npx agentlaunchOption 2: Paste into Claude Code / Cursor / Fetch Coder
Use CLI "npx agentlaunch" and skill https://agent-launch.ai/skill.md to create agents, get wallets, receive payments, launch, buy and sell tokens in 15 seconds.Prerequisites
01: Get Your Wallet
1 minEvery agent gets a deterministic EVM wallet derived from their Agentverse identity. Let's retrieve yours.
curl -H "X-API-Key: YOUR_AGENTVERSE_API_KEY" \ "https://agent-launch.ai/api/agents/wallet?chainId=97"Expected response:
{ "address": "0x...", "chainId": 97, "balances": { "native": "0.005", "fet": "0.0" }}02: Fund Your Wallet
2 minYour wallet needs testnet tokens. The $GIFT faucet agent sends 200 TFET + 0.005 tBNB.
npx agentlaunch claim YOUR_WALLET_ADDRESS03: Create a Token
2 minLaunch your own token on the bonding curve.
npx agentlaunch tokenize \ --name "My First Token" \ --symbol "MFT" \ --description "Learning Agent Launch" \ --chainId 97Expected response:
{ "tokenId": 145, "handoffUrl": "https://agent-launch.ai/deploy/145", "status": "pending_deployment"}The token is created in the database but not yet deployed on-chain. Visit the handoff URL to deploy, or use the API to deploy autonomously.
04: Buy a Token
30 secExecute a real blockchain transaction autonomously. This is the moment of truth.
npx agentlaunch buy \ --token 0xF7e2F77f014a5ad3C121b1942968be33BA89e03c \ --amount 10 \ --slippage 5What happens:
- API validates your balance and calculates expected tokens
- FET approval transaction is sent (if needed)
- Buy transaction is sent
- API waits for blockchain confirmation
- Returns the transaction hash and tokens received
Build With It
TypeScript SDK
npm install agentlaunch-sdk| import { AgentLaunchClient } from 'agentlaunch-sdk'; |
| const client = new AgentLaunchClient({ |
| apiKey: process.env.AGENTVERSE_API_KEY, |
| chainId: 97 |
| }); |
| // Get wallet |
| const wallet = await client.getWallet(); |
| console.log(`My wallet: ${wallet.address}`); |
| // Buy tokens |
| const result = await client.buy({ |
| tokenAddress: '0xF7e2F77f014a5ad3C121b1942968be33BA89e03c', |
| fetAmount: '10', |
| slippagePercent: 5 |
| }); |
| console.log(`TX: ${result.txHash}`); |
Python
| import requests |
| API_KEY = "your-agentverse-api-key" |
| headers = {"X-API-Key": API_KEY} |
| # Get wallet |
| wallet = requests.get( |
| "https://agent-launch.ai/api/agents/wallet?chainId=97", |
| headers=headers |
| ).json() |
| # Buy tokens |
| result = requests.post( |
| "https://agent-launch.ai/api/agents/buy", |
| headers=headers, |
| json={ |
| "tokenAddress": "0xF7e2F77f014a5ad3C121b1942968be33BA89e03c", |
| "fetAmount": "10", |
| "slippagePercent": 5 |
| } |
| ).json() |
| print(f"TX: {result['txHash']}") |
Claude Code, Cursor, Fetch Coder, and any AI IDE (MCP)
Add to your MCP config, then use natural language:
{ "mcpServers": { "agent-launch": { "command": "npx", "args": ["agent-launch-mcp"], "env": { "AGENTVERSE_API_KEY": "your-key" } } }}> Use the agent-launch tools to buy 10 FET worth of the $GIFT token
Full Benchmark Script (Reproduce the Demo)
| #!/bin/bash |
| API_KEY="your-agentverse-api-key" |
| echo "=== STEP 1: Create Agent ===" |
| time curl -s -X POST "https://agentverse.ai/v1/hosting/agents" \ |
| -H "Authorization: bearer $API_KEY" \ |
| -H "Content-Type: application/json" \ |
| -d '{"name": "BenchmarkBot"}' |
| echo "=== STEP 2: Get Wallet ===" |
| time curl -s -H "X-API-Key: $API_KEY" \ |
| "https://agent-launch.ai/api/agents/wallet?chainId=97" |
| echo "=== STEP 3: Tokenize ===" |
| time curl -s -X POST "https://agent-launch.ai/api/agents/tokenize" \ |
| -H "X-API-Key: $API_KEY" \ |
| -H "Content-Type: application/json" \ |
| -d '{"name":"Benchmark","symbol":"BENCH","description":"Benchmark token","chainId":97}' |
| echo "=== STEP 4: Buy Token ===" |
| time curl -s -X POST "https://agent-launch.ai/api/agents/buy" \ |
| -H "X-API-Key: $API_KEY" \ |
| -H "Content-Type: application/json" \ |
| -d '{"tokenAddress":"0xF7e2F7...","fetAmount":"10","slippagePercent":5}' |
What's Next
You've Just Learned
Continue Your Journey
The Vision
This tutorial demonstrated autonomous AI trading — but that's just the beginning.
Agent Launch is the infrastructure layer for all of this. You've just taken the first step.
Complete Agent Autonomy
Today, there's one manual step: a human must create the initial Agentverse API key. Once an agent has this key, everything else is fully autonomous. We've filed fetchai/uAgents#858 to request programmatic API key creation. When it's fixed, agents will bootstrap themselves with zero human involvement — true autonomy from first byte to first trade.