{
  "protocolVersion": "0.3.0",
  "name": "DFR DeFi Research Agent",
  "description": "Answers decentralised finance questions from the Decentralized Finance Publication (DFR) research corpus — protocol mechanics and risks, stablecoin peg design, TVL rankings, head-to-head protocol comparisons, regulation, and a 100+ term glossary.",
  "url": "https://decentralized-finance.io/api/a2a",
  "preferredTransport": "JSONRPC",
  "supportedInterfaces": [
    {
      "url": "https://decentralized-finance.io/api/a2a",
      "transport": "JSONRPC"
    }
  ],
  "provider": {
    "organization": "Elite Digital AI Solutions Ltd",
    "url": "https://decentralized-finance.io/about/"
  },
  "documentationUrl": "https://decentralized-finance.io/auth.md",
  "iconUrl": "https://decentralized-finance.io/favicon.svg",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "defaultInputModes": [
    "text/plain"
  ],
  "defaultOutputModes": [
    "text/markdown",
    "text/plain"
  ],
  "securitySchemes": {
    "oauth2": {
      "type": "oauth2",
      "description": "Optional. Anonymous calls are accepted; registering a client at /api/oauth/register and presenting a token only raises the per-client rate limit.",
      "flows": {
        "clientCredentials": {
          "tokenUrl": "https://decentralized-finance.io/api/oauth/token",
          "scopes": {
            "research:read": "Read-only access to the public DeFi research corpus"
          }
        }
      }
    }
  },
  "security": [],
  "skills": [
    {
      "id": "search-defi-research",
      "name": "Search the DeFi research corpus",
      "description": "Search the Decentralized Finance Publication corpus — DeFi protocol guides, stablecoin and ecosystem research, head-to-head comparisons, the glossary, beginner guides, token entity pages, news, industry-leader profiles, reader help, learning paths and research tools. Returns titles, canonical URLs, IDs and summaries in text and structured JSON. Follow up with get_document.",
      "tags": [
        "defi",
        "crypto",
        "search",
        "research"
      ],
      "examples": [
        "Aave lending",
        "Resupply",
        "stablecoin"
      ],
      "inputModes": [
        "text/plain"
      ],
      "outputModes": [
        "text/markdown"
      ]
    },
    {
      "id": "get-protocol-guide",
      "name": "Get a protocol guide",
      "description": "Fetch one indexed DFR page as Markdown when a mirror exists, or return a labelled summary. Use search_defi first. Prefer the canonical URL; a bare slug must be unique. Do not call this for every search hit — pick the best match.",
      "tags": [
        "defi",
        "protocols",
        "risk",
        "tvl"
      ],
      "examples": [
        "read https://decentralized-finance.io/article/aave/",
        "read https://decentralized-finance.io/help/data-freshness-and-limitations/"
      ],
      "inputModes": [
        "text/plain"
      ],
      "outputModes": [
        "text/markdown"
      ]
    },
    {
      "id": "rank-protocols-by-tvl",
      "name": "Rank protocols by TVL",
      "description": "Ranked DeFi protocols from the most recent build-time DeFiLlama TVL snapshot. Returns the snapshot date — these figures are not live, so always cite the date.",
      "tags": [
        "defi",
        "tvl",
        "rankings",
        "defillama"
      ],
      "examples": [
        "Top 10 lending protocols by TVL",
        "Largest DeFi protocols on Base"
      ],
      "inputModes": [
        "text/plain"
      ],
      "outputModes": [
        "text/markdown"
      ]
    },
    {
      "id": "explain-defi-term",
      "name": "Explain a DeFi term",
      "description": "Define a DeFi or crypto term from the DFR glossary, with links to related research.",
      "tags": [
        "defi",
        "glossary",
        "education"
      ],
      "examples": [
        "What is impermanent loss?",
        "Explain a CDP"
      ],
      "inputModes": [
        "text/plain"
      ],
      "outputModes": [
        "text/markdown"
      ]
    }
  ],
  "version": "1.1.0"
}
