Architecture
ASG Agent Cloud is designed for reliability, scale, and security.System Overview
Components
Gateway
The Gateway is your primary entry point:- Handles MCP protocol (Streamable HTTP + SSE)
- Routes tool calls to services
- Enforces rate limits and authentication
Billing Service
The Billing Service manages payments:- Generates quotes
- Verifies on-chain payments
- Issues receipts
- Handles refunds
Control Plane
The Control Plane manages execution:- Run/Step state machine
- Budget enforcement
- Idempotency and deduplication
- Loop detection
Compute Layer
Four compute services, all with the same payment model:| Service | Use Case |
|---|---|
| Inference | AI completions (100+ models) |
| Serverless | Async jobs (Python/Node) |
| GPU Pods | Dedicated GPU instances |
| Sandbox | Isolated code execution |