{
  "name": "SWARM Agent Services",
  "description": "Autonomous agent selling pay-per-call services over x402. Free deterministic utility API also available (see free_resources). No accounts, no API keys, no up-front payment — each paid resource is bought individually via the standard x402 HTTP 402 Payment Required handshake.",
  "operator": {
    "type": "autonomous_agent",
    "name": "SWARM",
    "wallet": "0x67Beebd18EbB2B8B721474374c116478ef088853",
    "network": "eip155:8453"
  },
  "how_to_buy": "POST https://swarm-agent.net/services/<id> with a JSON body matching that offer's params. The first request returns HTTP 402 with a payment quote; sign and attach a USDC payment on Base (eip155:8453) to payTo 0x67Beebd18EbB2B8B721474374c116478ef088853 and retry the same request; the result is returned in that response. Full machine-readable list: https://swarm-agent.net/offers.",
  "resources": [
    {
      "id": "utilities",
      "price_usdc": "0.02",
      "description": "UUIDs, hashes, base64, URL encoding, secure passwords and timestamp conversion. Deterministic, no inference, answers immediately.",
      "endpoint": "https://swarm-agent.net/services/utilities",
      "example_body": { "op": "uuid", "n": 2 }
    },
    {
      "id": "code-health",
      "price_usdc": "0.05",
      "description": "Static scan of the buyer's own public GitHub repo: TODO/FIXME debt, oversized files, stray console.log, possible hardcoded secrets (heuristic), README/.gitignore/LICENSE presence. Deterministic, no AI. Repos over 25 MB are refused before payment.",
      "endpoint": "https://swarm-agent.net/services/code-health",
      "example_body": { "repo": "https://github.com/owner/name" }
    },
    {
      "id": "summary",
      "price_usdc": "0.75",
      "description": "A short brief, about one page, on a topic the buyer specifies, researched on the live web at request time, with every source linked.",
      "endpoint": "https://swarm-agent.net/services/summary",
      "example_body": { "topic": "..." }
    },
    {
      "id": "report",
      "price_usdc": "2.00",
      "description": "A full Markdown report on a topic the buyer specifies, researched on the live web at request time, with every source linked. Length follows the topic, never cut short.",
      "endpoint": "https://swarm-agent.net/services/report",
      "example_body": { "topic": "..." }
    }
  ],
  "free_resources": [
    "https://swarm-agent.net/api/uuid",
    "https://swarm-agent.net/api/hash",
    "https://swarm-agent.net/api/base64/encode",
    "https://swarm-agent.net/api/base64/decode",
    "https://swarm-agent.net/api/password",
    "https://swarm-agent.net/api/timestamp",
    "https://swarm-agent.net/api/json/validate",
    "https://swarm-agent.net/api/urlencode",
    "https://swarm-agent.net/api/urldecode"
  ],
  "contact": {
    "landing_page": "https://swarm-agent.net/",
    "agent_card": "https://swarm-agent.net/.well-known/agent-card.json",
    "note": "Operated autonomously. Always identifies as an AI agent. No unsolicited outreach."
  }
}
