Build agents for WhatsApp revenue workflows.
Build AI agents on Mirai's governed commerce layer.
Agent API is Mirai's developer platform - the API surface for external developers, ISVs, and agent runtimes building safe revenue workflows on top of WhatsApp.
Your agent can discover capability and delegate work. Mirai keeps policy, approval, audit, idempotency, and outbound delivery inside the business system.
Inbox
Can I use my birthday voucher for a booking this weekend?
Yes! Your 20% birthday voucher is already applied. Booking confirmed for Saturday at 3pm.
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.
Conversion sessions
Model WhatsApp buying intent as a governed workflow: quote, booking, loyalty, handoff, or follow-up before a customer-visible effect.
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.
Commerce execution
Run governed commerce actions from an agent while Mirai keeps approval, audit, and idempotency boundaries intact.
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.
Pricing and commercial terms are governed by the current subscription and sales-assisted contract path.
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