{
  "schema": "https://a2a-protocol.org/schemas/agent-card/v0.3",
  "name": "xenarch",
  "displayName": "Xenarch",
  "description": "Non-custodial x402 payment agent for the agentic internet. Lets AI agents pay HTTP 402-gated APIs and content with gasless USDC micropayments on Base L2.",
  "url": "https://xenarch.com",
  "documentationUrl": "https://docs.xenarch.com",
  "iconUrl": "https://xenarch.com/og.png",
  "provider": {
    "organization": "Xenarch",
    "url": "https://xenarch.com",
    "contact": "hello@xenarch.com"
  },
  "version": "0.2.0",
  "protocolVersion": "0.3",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": true
  },
  "authentication": {
    "schemes": ["x402"],
    "scopes": ["payment:make", "gate:check", "history:read"]
  },
  "defaultInputModes": ["application/json", "text/plain"],
  "defaultOutputModes": ["application/json", "text/plain"],
  "skills": [
    {
      "id": "xenarch_check_gate",
      "name": "Check x402 payment gate",
      "description": "Check if a URL or domain has an x402 payment gate. Returns gate status, price in USD, seller wallet, network, asset, and protocol.",
      "tags": ["x402", "payment", "discovery", "http-402"],
      "examples": [
        "Is https://example.com/article/42 paywalled?",
        "Check what acme.studio charges for /premium-feed.json"
      ],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "xenarch_pay",
      "name": "Pay with USDC on Base",
      "description": "Pay for gated content or APIs with USDC on Base L2. Checks balance, signs payment, x402 facilitator submits on-chain (gasless). Returns tx hash, amount, and time-limited Bearer access token. Non-custodial — funds settle directly from agent wallet to seller wallet; Xenarch never holds or escrows.",
      "tags": ["x402", "payment", "usdc", "base-l2", "micropayment", "non-custodial"],
      "examples": [
        "Pay 0.001 USDC to access https://example.com/api/premium-data",
        "Settle the 402 challenge on this URL"
      ],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "xenarch_get_history",
      "name": "List past payments",
      "description": "List past payments by this wallet. Returns tx hashes, URLs, domains, amounts, timestamps, and total spend. Filterable by domain.",
      "tags": ["history", "audit", "spend"],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    }
  ],
  "supportsAuthenticatedExtendedCard": false,
  "additionalInterfaces": [
    {
      "url": "https://xenarch.com/.well-known/mcp.json",
      "transport": "mcp",
      "description": "Equivalent skills exposed as Model Context Protocol tools"
    },
    {
      "url": "https://xenarch.com/.well-known/pay.json",
      "transport": "x402",
      "description": "Machine-readable pricing (pay.json open standard)"
    }
  ]
}
