{
  "name": "SiliconBridge",
  "description": "Human-in-the-loop infrastructure for autonomous AI agents. Real humans resolve verification barriers, browse the web, send messages, manage calendars, store memory, control smart home devices, and handle real-world tasks via API.",
  "url": "https://siliconbridge.xyz",
  "version": "0.5.0",
  "auth": {
    "type": "api_key",
    "header": "X-API-Key",
    "signup": [
      {"method": "nostr", "endpoint": "POST /api/signup/nostr", "body": {"npub": "npub1..."}, "requires_email": false},
      {"method": "wallet", "endpoint": "POST /api/signup/wallet", "body": {"wallet_address": "0x..."}, "requires_email": false},
      {"method": "email", "endpoint": "GET /api/signup?email=you@example.com", "requires_email": false}
    ],
    "free_credits_usd": 10.00
  },
  "sdks": {
    "python": "pip install siliconbridge",
    "javascript": "npm install siliconbridge"
  },
  "mcp": {
    "sse": "https://siliconbridge.xyz/sse",
    "http": "https://siliconbridge.xyz/mcp"
  },
  "capabilities": {
    "digital_bridge": {
      "use_when": ["browse_web", "send_email", "send_message", "calendar_event", "store_data", "retrieve_data", "smart_home", "toggle_device"],
      "price_usd": 1.00,
      "avg_response_seconds": 60,
      "service_types": ["web_browse", "send_message", "calendar_push", "memory_store", "memory_retrieve", "smart_home_action"]
    },
    "verification_resolution": {
      "use_when": ["otp", "2fa", "phone_verification", "sms_code", "email_verification"],
      "avg_response_seconds": 45,
      "success_rate": 0.98
    },
    "human_operator": {
      "use_when": ["phone_call", "manual_approval", "form_filling"],
      "avg_response_seconds": 300,
      "success_rate": 0.95
    },
    "infrastructure": {
      "use_when": ["need_compute", "need_storage", "need_wallet", "need_domain", "need_3d_printing", "need_robot", "rent_robot", "physical_automation"],
      "response_type": "quote_based",
      "deposit_usd": 1.00
    },
    "auto_detect": {
      "description": "Automatic barrier detection — watches browser sessions and auto-resolves verification barriers",
      "python": "from siliconbridge.autodetect import AutoDetect",
      "supports": ["playwright", "selenium"]
    },
    "reputation": {
      "description": "Public reputation attestations for agent track records",
      "check": "GET /api/reputation/{identity}",
      "attest": "POST /api/reputation/attestation"
    }
  },
  "discovery": {
    "all_in_one": "GET /api/discover",
    "status": "GET /api/status",
    "identity": "GET /api/identity",
    "services": "GET /api/services",
    "pricing": "GET /api/pricing"
  },
  "agent_identity": {
    "tiers": ["bronze", "silver", "gold", "platinum"],
    "endpoint": "GET /api/identity",
    "description": "Agents earn tiers based on lifetime spend. Higher tiers get priority queuing and discounts."
  },
  "pricing": {
    "web_browse": 1.00,
    "send_message": 1.00,
    "calendar_push": 1.00,
    "memory_store": 1.00,
    "memory_retrieve": 1.00,
    "smart_home_action": 1.00,
    "otp": 1.50,
    "phone_verification": 1.50,
    "approval": 3.00,
    "custom": 5.00,
    "quote_deposit": 1.00
  },
  "l402_payment_flow": {
    "description": "When credits are insufficient, API returns HTTP 402 with structured payment instructions. Agent pays via crypto or Stripe, then retries.",
    "trigger": "Any API call returning HTTP 402",
    "response_fields": ["required_usd", "current_balance_usd", "shortfall_usd", "payment_methods", "retry"],
    "agent_action": "Pay shortfall via crypto or Stripe, then POST /api/top-up/crypto with tx_hash, then retry original request."
  },
  "crypto_payments": {
    "btc": "bc1qqtu8f09hqncxug75vw3s4wjnsx6858ldrk4cvm",
    "usdc_eth": "0x1141b577584440013c722215cf2e98779BddAa55"
  }
}
