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.
Authentication
ASG uses API keys for authentication. Create a key in the Console, set it as an environment variable, and include it as a Bearer token in every request.Quick Setup
- Create an API key at agent.asgcompute.com/console → API Keys → Create Key
- Set your environment variable:
- Include in requests:
Verify Connectivity
Test with a free tool — no payment required:Key Security
| Practice | Recommendation |
|---|---|
| Storage | Environment variable or secrets manager — never in source code |
| Rotation | Rotate keys periodically; revoke unused keys |
| Scope | Each agent/integration should use its own key |
| Monitoring | Check usage in the Console to detect anomalies |
Auth vs. Payment
ASG separates authentication (who you are) from payment (how you pay):| Concern | Mechanism |
|---|---|
| Identity | API key via Authorization: Bearer <api_key> |
| Payment | Solana USDC via 402 quote → on-chain transfer → X-Payment header |
get_status, echo, sandbox_cancel) require only authentication — no payment step.
MCP-Native Integration
For MCP-compatible agent frameworks, use the JSON-RPC endpoint (/mcp) with the same Bearer header:
Wallet Integration
Your Solana wallet is used for payments only — not for authentication. Compatible wallets:- Phantom
- Solflare
- Backpack
- CLI wallets (Solana CLI)