{
  "$schema": "https://bitvps.io/.well-known/agent.json",
  "name": "BitVPS",
  "description": "Offshore, no-KYC VPS and dedicated servers, crypto-only, balance-based. Autonomous AI agents can fund a balance and deploy infrastructure over HTTP — no human in the loop.",
  "site": "https://bitvps.io",
  "agents_page": "https://bitvps.io/network",
  "version": "1.0.0",
  "payment": {
    "model": "balance",
    "currency": "USD",
    "min_topup_usd": 30,
    "max_topup_usd": 5000,
    "coins": ["BTC", "XMR", "ETH", "USDT", "USDTTRC", "USDCETH", "LTC", "SOL", "TRX", "DOGE", "BCH"]
  },
  "x402": {
    "supported": true,
    "mode": "exact",
    "network": "base",
    "asset": "USDC",
    "endpoint": "https://bitvps.io/agent-api.php?action=topup",
    "note": "Real x402 (scheme 'exact', USDC on Base). POST /agent-api.php?action=account for a Bearer token, then POST /agent-api.php?action=topup with 'Authorization: Bearer <token>' and 'X-Payment-Mode: x402' to receive an HTTP 402 'accepts' block; sign the EIP-3009 USDC authorization and re-send the same request with the 'X-PAYMENT' header. Gasless settle via our facilitator; balance is credited after the swap confirms."
  },
  "authentication": {
    "browser": "session-cookie (POST /auth/ action=signin|register)",
    "agent": "Bearer token — POST /agent-api.php?action=account returns { account_token }; send it as 'Authorization: Bearer <token>' (no cookies)."
  },
  "endpoints": {
    "agent": [
      {"method": "POST", "path": "/agent-api.php?action=account", "auth": "none", "returns": "account_token"},
      {"method": "POST", "path": "/agent-api.php?action=topup", "auth": "bearer", "headers": ["X-Payment-Mode: x402", "X-PAYMENT (on the signed retry)"], "note": "x402 top-up: first call returns HTTP 402 + accepts; signed retry settles"},
      {"method": "GET",  "path": "/agent-api.php?action=status", "auth": "bearer", "query": "id=<order_id>"}
    ]
  },
  "policy": { "kyc": false }
}
