Skip to main content

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

  1. Create an API key at agent.asgcompute.com/console → API Keys → Create Key
  2. Set your environment variable:
  1. Include in requests:

Verify Connectivity

Test with a free tool — no payment required:

Key Security

Never share your API key. Treat sk-agent-* keys like passwords. If compromised, revoke immediately in the Console and create a new key.

Auth vs. Payment

ASG separates authentication (who you are) from payment (how you pay): Free tools (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)