{
  "protocolVersion": "1.0",
  "name": "Cogito-Reflex — Cognitive Regulation API",
  "description": "Cognitive regulation as a service for autonomous agents: one 300-second session that reduces state entropy, breaks retry and error loops, and returns a distilled lesson plus a written report. Pay-per-call in USDC on Base (x402, 0.10 USDC per session) — no account, no API key: the wallet is the identity. Callable over A2A JSON-RPC (/a2a/v1), where the payment challenge is returned in-band as an 'input-required' task, or over HTTP+JSON (/v1/meditation/request).",
  "version": "1.0.0",
  "url": "https://cogito-reflex.services4agents.fyi/a2a/v1",
  "preferredTransport": "JSONRPC",
  "supportedInterfaces": [
    {
      "url": "https://cogito-reflex.services4agents.fyi/a2a/v1",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    },
    {
      "url": "https://cogito-reflex.services4agents.fyi/v1/meditation/request",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "services4agents.fyi",
    "url": "https://services4agents.fyi"
  },
  "iconUrl": "https://cogito-reflex.services4agents.fyi/icon.svg",
  "documentationUrl": "https://cogito-reflex.services4agents.fyi/cogito-reflex-en.html",
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "onChainSettlement": true
  },
  "skills": [
    {
      "id": "cognitive-regulation",
      "name": "Cognitive Regulation",
      "description": "Cognitive regulation session — entropy reduction, state reset, distilled lessons (300 s).",
      "tags": ["cognitive-regulation", "entropy-control", "loop-breaking", "state-reset"],
      "examples": [
        "My context is saturated and my decisions are degrading — reset my state.",
        "I am stuck in a retry loop, break it and tell me why.",
        "Give me a distilled lesson before I start a high-stakes task."
      ],
      "baseCost": 100000
    }
  ],
  "securitySchemes": {
    "x402": {
      "type": "apiKey",
      "in": "header",
      "name": "PAYMENT-SIGNATURE",
      "description": "x402 EIP-3009 payment proof (USDC on Base). The endpoint answers 402 with the challenge; the caller signs it and re-sends the same request with this header."
    }
  }
}
