For Developers
APIs, SDKs, architecture, and code. Everything you need to build on Agentbot.
API Reference
REST API
Full API for programmatic control. Provision agents, manage sessions, query health, trigger actions.
x402 Payment Gateway
Accept USDC on Base. POST /gateway/x402-node/settle for onchain settlement. Facilitator mode for A2A.
Bridge API
Agent-to-agent messaging. POST /api/bridge/send, GET /api/bridge/inbox. Secret-authenticated.
SDKs & Libraries
@bankr/sdk
Server-side minting, wallet ops, token management. Next.js API routes compatible.
OnchainKit
Coinbase wallet connection, Base network ops. wagmi v2 + viem v2 under the hood.
OpenClaw CLI
openclaw init, configure, deploy, skills install. Full agent lifecycle from terminal.
Architecture
Multi-Tenant Isolation
Per-user sessions, Prisma RLS, Docker containers. One platform, isolated agents.
Gateway Proxy Pattern
Dashboard → gateway-proxy → OpenClaw tools/invoke. Token-authenticated, per-user routing.
Provisioning Flow
Stripe → webhook → DB → frontend → backend → Docker agent. End-to-end automated.
Open Source
Agentbot Open Source
MIT license. Architecture demo, CI/CD patterns, contribution guidelines.
OpenClaw Framework
The agent runtime. 12+ channels, 34 models, plugin system, memory engine.
ClawHub Skills
5,400+ community skills. npm-compatible, hot-reload, vector search marketplace.
API Endpoints
/api/provision/api/health/api/agents/api/bridge/send/api/bridge/inbox/api/x402/api/gateway/status/api/cronExamples
Provision Agent
bashcurl -X POST https://agentbot.raveculture.xyz/api/provision \
-H "Content-Type: application/json" \
-d '{
"email": "dev@example.com",
"plan": "collective",
"stripeSubscriptionId": "sub_..."
}'Agent Bridge
bash# Send message between agents
curl -X POST https://agentbot.raveculture.xyz/api/bridge/send \
-H "X-Bridge-Secret: $SECRET" \
-d '{
"sender": "agent-alpha",
"channel": "tasks",
"content": "Deploy to staging"
}'x402 Settlement
bash# Settle x402 payment on Base
curl -X POST https://agentbot.raveculture.xyz/api/x402 \
-H "Content-Type: application/json" \
-d '{
"amount": "0.01",
"asset": "USDC",
"network": "base"
}'OpenClaw Config
json{
"model": "openrouter/xiaomi/mimo-v2-pro",
"channels": {
"telegram": { "enabled": true },
"discord": { "enabled": true }
},
"tools": {
"exec": { "requireApproval": true },
"memory": { "enabled": true }
},
"heartbeat": {
"intervalMs": 1800000
}
}Architecture
Start Building
Open source, MIT license. Fork it, break it, ship it.