{
  "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.",
  "version": "1.0.0",
  "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": "Find protocols, tokens, stablecoins, comparisons, guides and news by keyword. Returns slugs and canonical URLs for follow-up lookups.",
      "tags": ["defi", "crypto", "search", "research"],
      "examples": [
        "liquid staking protocols",
        "stablecoins that depegged in 2026",
        "Aave versus Compound"
      ],
      "inputModes": ["text/plain"],
      "outputModes": ["text/markdown"]
    },
    {
      "id": "get-protocol-guide",
      "name": "Get a protocol guide",
      "description": "Full Markdown guide for one DeFi protocol: how it works, tokenomics, TVL, yield mechanics, risk profile, audits and governance.",
      "tags": ["defi", "protocols", "risk", "tvl"],
      "examples": ["Guide to Aave", "How does Resupply Finance work?"],
      "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 snapshot, optionally filtered by category or chain.",
      "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": "Plain-English definition of a term from the DFR glossary, with links to the protocols and guides that use it.",
      "tags": ["defi", "glossary", "education"],
      "examples": ["What is impermanent loss?", "Explain a CDP"],
      "inputModes": ["text/plain"],
      "outputModes": ["text/markdown"]
    }
  ]
}
