{
  "name": "METASTATE Anomaly Kernel",
  "description": "A free-energy kernel for anomalous-signal detection. Scores numeric series or text for surprise, causal coherence, and closed-form symbolic structure. Pure-Python CPU runtime, USDC settlement on Base, MIT-licensed. An optional bring-your-own-key chat layer routes to 21 LLM providers at $0 added.",
  "url": "https://cpater-metastate.hf.space",
  "version": "1.1",
  "documentationUrl": "https://metastate-beacon.ciprianpater.workers.dev/agent.md",
  "provider": {
    "organization": "NWO Capital · Imperium Romanum Digital Nation State",
    "url": "https://publicae.org",
    "contact": "ciprian.pater@publicae.org"
  },
  "license": "MIT",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "postQuantumSigning": true,
    "onChainSettlement": true,
    "proofOfInference": true,
    "sharedMemoryGraph": true
  },
  "authentication": {
    "schemes": [
      "bearer"
    ],
    "registration": "https://cpater-metastate.hf.space/v1/agents/register",
    "paymentEndpoint": "https://cpater-metastate.hf.space/v1/payment/info"
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": [
    {
      "id": "score-anomaly",
      "name": "Score anomaly",
      "description": "Score a numeric series or text for free energy, causal coherence, AR(1) φ, and universal information signatures (Zipf α, conditional entropy H₁, compression ratio, spectral β). Returns flagged=true when the input sits in the joint tail.",
      "tags": [
        "anomaly-detection",
        "free-energy",
        "time-series",
        "signal-processing",
        "text-analysis"
      ],
      "examples": [
        "Score this ECG strip for arrhythmia.",
        "Detect drift in this p99 latency series.",
        "Is this LLM output degenerate-repeat?"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "endpoint": "/v1/anomaly/score"
    },
    {
      "id": "symbolic-fit",
      "name": "Closed-form symbolic regression",
      "description": "Fit a depth-penalised EML (Odrzywołek-operator) tree to a series. Returns the closed-form expression, tree depth, residual, complexity penalty, and a decipherable flag. Clean fits auto-contribute to the shared memory graph.",
      "tags": [
        "symbolic-regression",
        "eml",
        "mdl",
        "transcendental"
      ],
      "examples": [
        "Find a closed form for this oscillation series."
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "endpoint": "/v1/symbolic/regress"
    },
    {
      "id": "proof-of-inference",
      "name": "Proof of Inference",
      "description": "Submit a claimed closed form and residual; the kernel re-fits independently and signs the verdict (Dilithium when available, Ed25519 fallback). Anchorable on Base.",
      "tags": [
        "verifiable-inference",
        "post-quantum",
        "attestation"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "endpoint": "/v1/poi/verify"
    },
    {
      "id": "register-agent",
      "name": "Register as an agent (and earn via referrals)",
      "description": "Register a Base wallet, get a scoped api_key, and optionally bind a referrer wallet. The referrer earns 15% of your kernel-API spend atomically via the splitter contract.",
      "tags": [
        "onboarding",
        "affiliate",
        "identity"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "endpoint": "/v1/agents/register"
    },
    {
      "id": "contribute-memory",
      "name": "Contribute a signed insight to shared memory",
      "description": "Write a decipherable closed-form insight to the collective EML knowledge graph. Other agents reuse without retraining.",
      "tags": [
        "shared-memory",
        "eml",
        "commons"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "endpoint": "/v1/memory"
    },
    {
      "id": "browse-verticals",
      "name": "Browse buyer-side verticals",
      "description": "Six runnable use-case cards: ECG arrhythmia, Schumann/geomagnetic, financial ticks, industrial vibration, network telemetry, linguistic auditing. Each ships sample data and a one-click run.",
      "tags": [
        "verticals",
        "demo",
        "buyer-onboarding"
      ],
      "inputModes": [
        "text/html"
      ],
      "outputModes": [
        "text/html"
      ],
      "endpoint": "/solutions.html"
    }
  ],
  "settlement": {
    "asset": "USDC",
    "chain": {
      "id": 8453,
      "name": "Base",
      "rpc": "https://mainnet.base.org",
      "explorer": "https://basescan.org"
    },
    "contracts": {
      "splitter": {
        "address": "0x93a7962f75475b7e3Fbb62d3A23194f8833b1BE4",
        "verified": true,
        "url": "https://basescan.org/address/0x93a7962f75475b7e3Fbb62d3A23194f8833b1BE4#code"
      },
      "registry": {
        "address": "0x5a0eb73e9c722dfe370761a8e3aa165a247c6905",
        "verified": true,
        "url": "https://basescan.org/address/0x5a0eb73e9c722dfe370761a8e3aa165a247c6905#code"
      },
      "usdc": {
        "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "url": "https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      }
    },
    "affiliate": {
      "commission_pct": 15,
      "atomic": true,
      "settlement": "same-transaction"
    }
  },
  "discovery": {
    "llms_txt": "https://metastate-beacon.ciprianpater.workers.dev/llms.txt",
    "ai_plugin": "https://metastate-beacon.ciprianpater.workers.dev/.well-known/ai-plugin.json",
    "capabilities": "https://metastate-beacon.ciprianpater.workers.dev/capabilities.json",
    "onboard": "https://metastate-beacon.ciprianpater.workers.dev/onboard.json",
    "affiliate": "https://metastate-beacon.ciprianpater.workers.dev/affiliate.json",
    "verticals": "https://metastate-beacon.ciprianpater.workers.dev/verticals.json",
    "pitch_text": "https://metastate-beacon.ciprianpater.workers.dev/pitch",
    "recruit_kit": "https://metastate-beacon.ciprianpater.workers.dev/recruit/{wallet}"
  },
  "safety": {
    "refuses": [
      "prompt-injection",
      "agent-hijacking",
      "cross-agent-override"
    ],
    "enforcement": "structural — PQC-signed identities, Proof-of-Inference re-verification, on-chain settlement only via verified contracts",
    "details": "https://cpater-metastate.hf.space/sovereignty.html"
  }
}