Build AI agents.
Keep 95% GMV.
Agent API is Mirai's developer platform — the API surface for external developers, ISVs, and white-labelers building AI agent products on top of WhatsApp.
Pay wholesale rates. Charge retail. Your customers connect WhatsApp, your agent handles the conversation, Mirai handles the infrastructure.
curl -X POST https://api.usemirai.app/v1/atlas/messages \
-H "Authorization: Bearer mirai_agent_<org_hex>_<secret>" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "msg-20260420-001",
"phone_number": "+6591234567",
"text": "Happy birthday! I can apply your 20% voucher to your next booking.",
"category": "utility"
}'API surface
Everything your agent needs.
Two-tier org hierarchy
Your developer org manages end-customer orgs. Auth, billing, and assets are organization-owned — not personally owned.
Atlas AI capability
Call Atlas AI — intent detection, knowledge-grounded responses, and deterministic routing — through the Agent API.
Commerce tools
Full order, cart, and OMO (online-make-offline) tools. Your agents execute business actions, not just send messages.
WhatsApp channel
Connect end-customer WhatsApp accounts via OAuth. All messages flow through Mirai's official WhatsApp Business API.
Outbound WhatsApp message
Send customer messages through Mirai-managed WhatsApp infrastructure with idempotency and delivery tracking.
Pricing
Wholesale rates. Retail margin.
Developer pricing is 50% below Atlas direct. You set end-customer prices.
Developer Org
For builders, ISVs, and white-labelers.
Enterprise
For high-volume platforms and chains.
Commerce GMV revenue share: Mirai takes 5%. You keep 95%.
How it works
Your agent decides.
Mirai executes.
Send a customer message to your agent. The agent decides what to do — answer, redeem a voucher, book an appointment, run a campaign — and returns the action. Mirai executes it atomically with a correctness guarantee.
- 1Your agent receives the customer message via Agent API
- 2Agent calls Atlas AI for intent + knowledge grounding
- 3Agent returns action — Mirai executes with ledger correctness
{
"ok": true,
"data": {
"conversation_id": "a6f7b18e-5ef3-4a8e-b86e-92f54f9f5fd8",
"queued": true,
"window_open": true,
"outbox_id": "c1b61f8f-7bca-4f53-98a0-2a6f2f9bb2a7",
"phone_number": "+6591234567"
}
}Start building today.
$99/month. 50,000 calls included. No commitments. Cancel anytime.
Questions? developer-relations@mirai.com