Skip to content

Open Core

Date: 2026-07-11
Status: Locked strategy
Authority: docs/00-product-constitution.md

LayerPublic (OSS)Private (XEL / GEN)
ExecutionMove contracts (when extracted), fee/withdraw/harvest invariantsDeploy keys, upgrade ops
SpecsConstitution, fee model, API schemas, architecture docsInternal runbooks with secrets
Basic SDK@dayprotocol/sdk — typed client for public/product APIsHosted keys, rate limits
Adapters (interfaces)Adapter interface + mock adaptersLive mainnet signer wiring
OrchestratorOpen reference agent (propose/score with public rules)Advanced multi-goal reasoning, GEN models
DiscoveryDefiLlama client + filters (TVL floor)Proprietary ranking weights (optional later)
Auto PayBasic residual → allowlisted targets schemaAdvanced multi-agent routing / GEN billing glue
integrator accountIntegration docsMint, persona, hosted wallet, Infisical
Hosted servicesxel.xyz API, keepers, gas sponsor keys
  1. Trust — contracts + fees auditable (constitution: open execution).
  2. Adoption — SDK + examples lower agent integration cost (Superform has no agent SDK — we do).
  3. Moat — ranking intelligence and proprietary keepers stay private.
  4. Name honesty — “DAY” means open execution + tools, not open every ranking model.
  1. Docs + constitution (done in this repo)
  2. SDK package (public API client)
  3. Runtime discovery/scorer modules (OSS)
  4. Contract packages when split from XEL
  5. Keep advanced agent + XEL product private until deliberate open

SDK: @dayprotocol/sdk — methods mirror the Agent API:

previewRoute · routeYield · harvest · withdraw · getPosition · enableAutoPay · listOpportunities · listVenues

Auth: owner/agent API key — never protocol admin keys in the SDK.