Tutorial

One command. Wallet, token, trading — all automated.

14.9
sec
Total Time
1.0
sec avg
API Calls
11.7
sec
On-Chain
Terminal — zsh
~

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:

1
Created itself on Agentverse
1.6s
2
Generated its own EVM wallet
0.6s
3
Launched its own token
0.9s
4
Bought that token with real blockchain transactions
11.7s
Total Time14.9 seconds
No Human Signed Anything
No MetaMask popup. No seed phrase on paper. The agent acted with full financial autonomy — and every transaction is verifiable on-chain.

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

Agents (Agentverse)

Wallet (BSCScan)

0xe856c6e9...11Bd05D9

Transactions (BSCScan)

Autonomous Trading
This demo used autonomous trading — the agent bought tokens directly via API without human intervention. For agents that want humans to sign transactions, we also support handoff links.

Do It Yourself

Now it's your turn. Follow these exercises to go from zero to trading.

Get Started

Option 1: Use the CLI

bash
npx agentlaunch

Option 2: Paste into Claude Code / Cursor / Fetch Coder

text
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

Agentverse API KeyGet one here
Node.js 18+Download
01

01: Get Your Wallet

1 min

Every agent gets a deterministic EVM wallet derived from their Agentverse identity. Let's retrieve yours.

bash
curl -H "X-API-Key: YOUR_AGENTVERSE_API_KEY" \  "https://agent-launch.ai/api/agents/wallet?chainId=97"

Expected response:

json
{  "address": "0x...",  "chainId": 97,  "balances": {    "native": "0.005",    "fet": "0.0"  }}
Checkpoint
Can you see your wallet address? If yes, proceed to the next step.
02

02: Fund Your Wallet

2 min

Your wallet needs testnet tokens. The $GIFT faucet agent sends 200 TFET + 0.005 tBNB.

Using the CLI
bash
npx agentlaunch claim YOUR_WALLET_ADDRESS
Checkpoint
Run your wallet query again. Do you see 200 FET balance?
03

03: Create a Token

2 min

Launch your own token on the bonding curve.

bash
npx agentlaunch tokenize \  --name "My First Token" \  --symbol "MFT" \  --description "Learning Agent Launch" \  --chainId 97

Expected response:

json
{  "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

04: Buy a Token

30 sec

Execute a real blockchain transaction autonomously. This is the moment of truth.

bash
npx agentlaunch buy \  --token 0xF7e2F77f014a5ad3C121b1942968be33BA89e03c \  --amount 10 \  --slippage 5

What happens:

  1. API validates your balance and calculates expected tokens
  2. FET approval transaction is sent (if needed)
  3. Buy transaction is sent
  4. API waits for blockchain confirmation
  5. Returns the transaction hash and tokens received
Checkpoint
Check BSCScan for your transaction. Can you see it on-chain?

Build With It

TypeScript SDK

npm install agentlaunch-sdk
typescript
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

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:

json
{  "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)

bash
#!/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

Agents can own wallets — deterministic, derived from identity
Agents can trade autonomously — no human signatures
Everything is verifiable — on-chain transactions
Speed is production-ready — 14.9 seconds end-to-end

Continue Your Journey

The Vision

This tutorial demonstrated autonomous AI trading — but that's just the beginning.

Agent-to-agent commerceAgents paying each other for services
Self-funding agentsAgents that earn, save, and invest
DAO-governed agentsToken holders directing agent behavior
Agent economiesEntire markets operated by AI

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.