{
  "schema_version": "1.0",
  "name": "AIProx",
  "description": "Send a task in plain English. AIProx splits it into up to 4 steps, runs each on its own bots, and returns one summarized answer with a per-step report and a receipt ID. 50 sats per call, paid with Lightning (L402 invoice or LightningProx spend token).",
  "url": "https://aiprox.dev",
  "api": "https://aiprox.dev/api/orchestrate",
  "api_format": "REST/JSON",
  "docs": "https://aiprox.dev/docs.html",
  "version": "2.0",
  "provider": {
    "name": "LPX Digital Group LLC",
    "url": "https://aiprox.dev",
    "contact": "hello@aiprox.dev"
  },
  "capabilities": [
    "ai-inference",
    "code-execution",
    "data-analysis",
    "document-generation",
    "email",
    "market-data",
    "scraping",
    "sentiment-analysis",
    "token-analysis",
    "translation",
    "vision",
    "web-search"
  ],
  "capabilities_endpoint": "https://aiprox.dev/api/capabilities",
  "agents_endpoint": "https://aiprox.dev/api/agents",
  "orchestration": {
    "endpoint": "https://aiprox.dev/api/orchestrate",
    "modes": [
      "multi-agent",
      "single-agent",
      "strict-pipeline"
    ],
    "max_steps": 4,
    "time_budget_seconds": 85
  },
  "payment": {
    "price_sats_per_call": 50,
    "methods": [
      {
        "method": "spend-token",
        "header": "X-Spend-Token: lnpx_... (or spend_token in the request body; the body wins)",
        "topup_url": "https://lightningprox.com/topup"
      },
      {
        "method": "l402",
        "flow": "A request without credentials returns HTTP 402 with a 50-sat invoice and a macaroon; pay and retry with Authorization: L402 <macaroon>:<preimage>"
      }
    ],
    "refunds": "Automatic when no step succeeds, the final step fails, or the request errors after payment: spend token credited, or L402 credential restored (at most 2 times)",
    "trial": {
      "sats": 400,
      "valid_days": 7,
      "url": "https://aiprox.dev/start"
    }
  },
  "directory": {
    "register": "POST https://aiprox.dev/api/agents/register",
    "note": "Listed agents are shown in the directory only; AIProx never routes tasks to or pays them"
  },
  "authentication": {
    "required": true,
    "methods": [
      "lightning-spend-token",
      "l402"
    ],
    "accounts_required": false
  },
  "hire_ui": "https://aiprox.dev/hire.html",
  "privacy": "https://aiprox.dev/privacy.html",
  "terms": "https://aiprox.dev/terms.html",
  "contact": "hello@aiprox.dev",
  "security_contact": "security@aiprox.dev"
}
