AI Agent Orchestration
Authentication, streaming execution, credit billing, CMS storefront, and push notifications — all in one platform. Connect your existing auth system and ship in days.
Execute agents synchronously, stream tokens via SSE, or fan out batch jobs. Client-fulfilled tools let device-native data flow into the LLM loop.
Exchange an external JWT for a short-lived ephemeral key. Workspace API keys for server-to-server calls. Scoped to specific agents.
Two-bucket credit system: subscription credits reset on renewal; consumable credits accumulate. RevenueCat webhooks sync subscription state automatically.
# 1. Exchange your Firebase JWT for an ephemeral key
curl -X POST https://api.athena.example/auth/external/{workspace_id} \
-H 'Content-Type: application/json' \
-d '{"provider":"firebase","token":"$FIREBASE_JWT"}'
# 2. Execute an agent (streaming)
curl -X POST https://api.athena.example/agents/{agent_id}/execute/stream \
-H 'X-API-Key: eak_...' \
-H 'Content-Type: application/json' \
-d '{"message":"Summarize my last 7 days of expenses"}'