Skip to main content

Quickstart

Get started with ASG Agent Cloud — from zero to first call in 3 minutes.
Start free: get_status and echo are always free — no payment required. Validate your setup before spending a cent.

Prerequisites

  • ASG API key (from Console → API Keys)
  • For paid tools: Solana wallet with USDC on mainnet
  • Node.js 18+ or Python 3.10+

Step 1: Get Your API Key

  1. Open Console
  2. Connect wallet → API KeysCreate Key
  3. Export the key:

Step 2: First Call — Free (No Payment!)

Call get_status to verify your key works:
✅ You should see "ok": true with your balance and system status.

Step 3: Discover Tools

Step 4: Make a Paid Call

Call a billable tool. If you have balance, it executes immediately. Otherwise, you get a 402 with a quote.

If 200: Success!

If 402: Payment Required

You receive a quote with payment_instructions:

Step 5: Pay on Solana Mainnet

Send USDC to pay_to with memo: {step_id}:{quote_id}:1
Faster: Deposit USDC via Console → Balance first. Then all paid calls deduct from your balance automatically — no per-call on-chain transactions needed.

Step 6: Retry with Payment Proof

What’s Next?

Agent Quickstart

Full agent integration guide with Python + TypeScript examples

Core Concepts

Runs, Steps, Budgets, and Receipts

SDK Reference

Working code examples

Pricing

Detailed pricing for all services