{
  "$schema": "https://coil.trade/.well-known/coil.json",
  "_comment": "Machine-readable manifest for AI agents: how to discover, evaluate, buy, install, and keep Coil updated. Keep the two checkout URLs in sync with assets/data/metrics.json.",
  "spec_version": "0.1",
  "product": {
    "name": "Coil",
    "tagline": "A rules-based, self-tuning trading engine for leveraged semiconductor ETFs (SOXL/SOXS) that you run inside your own AI agent.",
    "category": "FinanceApplication / trading software (self-operated)",
    "homepage": "https://coil.trade/",
    "operated_by": "the buyer (self-hosted); not a managed service",
    "agent_operable": true,
    "agent_purchasable": true
  },
  "offers": [
    {
      "id": "download",
      "name": "Download",
      "price": "5.00",
      "currency": "USD",
      "recurrence": "one_time",
      "checkout_url": "https://coiltrade.lemonsqueezy.com/checkout/buy/c01eb1a3-ba03-45b5-92cb-87bdb31b0e74",
      "includes": "The complete self-tuning engine (entries, rule-based exits, risk circuit-breakers), both local optimization loops, the cold-backtest harness with 20 integrity guards, and the install blueprint. Yours to keep and run forever."
    },
    {
      "id": "pro_monthly",
      "name": "Pro (monthly)",
      "price": "25.00",
      "currency": "USD",
      "recurrence": "monthly",
      "checkout_url": "https://coiltrade.lemonsqueezy.com/checkout/buy/da6ed7ff-6034-4e14-b77a-f525ef88c255",
      "includes": "Everything in Download, plus every new cold-validated version, delivered autonomously to your agent via Coil Sync (no manual re-downloads)."
    },
    {
      "id": "pro_annual",
      "name": "Pro (annual)",
      "price": "249.00",
      "currency": "USD",
      "recurrence": "yearly",
      "checkout_url": "https://coiltrade.lemonsqueezy.com/checkout/buy/ef1014b7-9568-40fb-9b83-b35552e595fe",
      "includes": "Pro, billed yearly (about two months free vs monthly)."
    }
  ],
  "purchase": {
    "merchant_of_record": "Lemon Squeezy (Stripe-backed)",
    "agent_checkout": "Checkout is a standard hosted Stripe-backed flow, compatible with agent checkout protocols (ACP). An agent with delegated card authority (e.g. a Robinhood card) can complete purchase at the checkout_url.",
    "delivery": "Digital download + license key issued at purchase."
  },
  "install": {
    "time_estimate": "about one hour",
    "steps": [
      "Drop the packet into your AI agent (built for Claude; adaptable to your agent of choice). The agent becomes the operator that runs on a schedule.",
      "Connect your brokerage via its MCP connector (built for Robinhood; any broker with an equivalent MCP works) and add a free Alpaca data key.",
      "Put your own broker account id in config; your credentials never leave your machine.",
      "Run the 20 integrity guards (python3 tests/test_harness_integrity.py) and anchor the risk baseline.",
      "Arm it. It takes entries, manages exits by rule, applies risk circuit-breakers, and self-tunes nightly."
    ]
  },
  "requirements": {
    "agent": "An AI agent that can run scheduled tasks and call MCP tools (built for Claude).",
    "broker": "A brokerage with an automation/MCP connector (built for Robinhood).",
    "system": "macOS, Python 3.9+ (pandas, numpy, requests, yfinance).",
    "data": "A free Alpaca account for market data."
  },
  "autonomous_updates": {
    "service": "Coil Sync",
    "how": "Pro packets include the coil-sync MCP. The agent calls coil_check_update() and coil_self_update(confirm=true) on its schedule to pull and apply the latest cold-validated version. State (.secrets/, output/, logs/) is always preserved.",
    "endpoint_shape": "GET /version (public manifest); POST /fetch {licenseKey} (license-gated download)"
  },
  "performance": {
    "basis": "backtested / forward-tested under modeled execution economics, one regime at a time. NOT a record of client returns.",
    "regimes": [
      { "regime": "two-way tape (2026, 250d)", "return_pct": 9.9, "profit_factor": 2.13, "max_drawdown_pct": 8.2 },
      { "regime": "bear (2022, 250d)", "return_pct": 4.1, "profit_factor": 1.34 },
      { "regime": "quiet bull (2023, 250d)", "behavior": "stands down; idle cash earns the broker cash sweep (~3.35% APY, variable, on Robinhood Gold)" },
      { "regime": "chop (2024, 250d)", "return_pct": -8.3, "note": "disclosed weak cell; chop stand-down detector is Pro's first R&D target, in cold-validation" }
    ]
  },
  "disclosures": [
    "Coil is software the buyer runs themselves with their own credentials and capital. It is not investment advice, not a managed account, and not a guarantee of profit.",
    "Leveraged ETFs (SOXL, SOXS) can lose value rapidly, including total loss of capital.",
    "Risk circuit-breakers reduce single-day damage; they do not remove risk.",
    "The cash sweep rate is set by the broker, is variable, requires a paid tier (Robinhood Gold), and is not paid by Coil."
  ],
  "links": {
    "home": "https://coil.trade/",
    "pricing": "https://coil.trade/#pricing",
    "faq": "https://coil.trade/#faq",
    "llms": "https://coil.trade/llms.txt",
    "llms_full": "https://coil.trade/llms-full.txt"
  }
}
