Documentation Index
Fetch the complete documentation index at: https://docs.asgcompute.com/llms.txt
Use this file to discover all available pages before exploring further.
API Overview
ASG Agent Cloud uses the Model Context Protocol (MCP) for all tool interactions.Endpoints
ASG exposes two endpoints — use whichever matches your integration:| Endpoint | Protocol | Use case |
|---|---|---|
/v1/mcp/tools/call | REST (recommended) | Quickstart, most integrations |
/mcp | JSON-RPC 2.0 | MCP-native agent frameworks |
Protocol
All requests use JSON-RPC 2.0 over HTTP POST.Request Format
Methods
| Method | Description |
|---|---|
tools/list | List available tools |
tools/call | Execute a tool |
Authentication
All requests require an API key via Bearer token:Response Format
Success (200)
Payment Required (402)
Active Tools
| Tool | Description | Billable | Status |
|---|---|---|---|
inference_chat | AI completions with 100+ models | Yes | ✅ Available |
optify_vram_estimate | Estimate VRAM requirements | Yes | ✅ Available |
sandbox_execute | Execute code in isolation | Yes | ✅ Available |
sandbox_cancel | Cancel running sandbox | No | ✅ Available |
get_status | System status + balance | No | ✅ Available |
echo | Validate auth + connectivity | No | ✅ Available |
See Tool Availability for the full catalog and roadmap.
Rate Limits
| Tier | Requests/min | Requests/day |
|---|---|---|
| Default | 60 | 10,000 |
| Enterprise | Custom | Custom |
Next Steps
Error Codes
Full error code reference
SDK
Use our TypeScript SDK