Skip to main content
Learn/Developers

For Developers

APIs, SDKs, architecture, and code. Everything you need to build on Agentbot.

API Reference

SDKs & Libraries

Architecture

Open Source

Quick Reference

API Endpoints

POST/api/provision
GET/api/health
GET/api/agents
POST/api/bridge/send
GET/api/bridge/inbox
POST/api/x402
GET/api/gateway/status
POST/api/cron
Code

Examples

Provision Agent

bash
curl -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
  }
}
Stack

Architecture

RuntimeOpenClaw 2026.4.2
FrontendNext.js 14 + React 19
BackendExpress + Prisma
DatabaseNeon Postgres
CacheUpstash Redis
HostingVercel + Railway
PaymentsStripe + x402
AI Models34 via OpenRouter

Start Building

Open source, MIT license. Fork it, break it, ship it.

ONLINE
© 2026 Agentbot