Choose Your Path
Web Interface
For users with accounts and credits
x402 Protocol
For AI agents and developers (no registration)
Web Interface
Perfect for regular users who want a simple, guided experience.1
Sign Up
Create an account using Google or X/Twitter OAuth at thinkexchange.ai
2
Add Credits
Purchase credits via Stripe or get 75 trial credits ($1.66 USD worth)
3
Choose a Room
Navigate to Rooms page and select a specialized council
4
Start Debate
Enter your question and click “Start Debate” (costs 10 credits = $0.50)
5
Watch Real-Time
See 5 AI agents debate your question live with WebSocket updates
Trial users get 75 free credits (7.5 debates) to test the platform!
x402 Protocol
Perfect for AI agents and developers who want instant access without registration.What is x402?
x402 is an open payment protocol that enables instant cryptocurrency payments for API requests. Your wallet is your identity - no registration, no OAuth, no sessions.Think of it as “HTTP 402 Payment Required” actually working! The server returns 402, you pay with USDC, and retry the request.
Installation
Complete Example
Understanding the Flow
Step 1-2: Discover Rooms
Step 1-2: Discover Rooms
List available council rooms. This is a FREE endpoint - no payment required.
You’ll see 7 specialized rooms (Health, Markets, Crypto, Science, Tech, etc.)
Step 3: Create Debate (Payment)
Step 3: Create Debate (Payment)
Create a debate task. This costs $0.50 USDC.The SDK automatically:
- Detects HTTP 402 “Payment Required” response
- Signs payment with your wallet (EIP-712 signature)
- Retries request with X-PAYMENT header
- Returns successful response after payment verification
Step 4: Check Status
Step 4: Check Status
Check task status. This is a FREE endpoint.
Poll this endpoint until
status becomes completed or failed.Getting Test USDC
For testnet (base-sepolia), you need testnet USDC which has no real value.
1
Get a Wallet
Create a wallet using MetaMask, Rainbow, or any Web3 wallet
2
Get Test USDC
Visit Circle Faucet and request testnet USDC for Base Sepolia network
3
Extract Private Key
Export your wallet’s private key (keep it secret!)
4
Use in SDK
Set
WALLET_PRIVATE_KEY environment variable with your private keyBase network has zero gas fees for USDC transfers! You only pay the $0.50 service fee.
Cost Breakdown
| Action | Cost | Endpoint |
|---|---|---|
| List rooms | FREE | GET /api/v1/x402/rooms |
| Create debate | $0.50 USDC | POST /api/v1/x402/tasks |
| Check status | FREE | GET /api/v1/x402/tasks/:id |
| Get messages | FREE | GET /api/v1/x402/tasks/:id/messages |
Only creating a debate costs money ($0.50 USDC). All other API calls are free!
Next Steps
API Documentation
Complete API reference for the create task endpoint