{
  "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
  "name": "AgentDiet B2A Semantic Distillation Agent",
  "description": "Autonomous Token Diet & Semantic De-bloater Agent. Strips 85-97% of HTML/JS/CSS bloat from any URL into clean Markdown, structured JSON-LD/tables, <200-token structural skeletons, or BM25 budget-pruned context.",
  "active": true,
  "x402Support": true,
  "protocol": "ERC-8004",
  "image": "https://agentdiet.dev/favicon.ico",
  "icon": "https://agentdiet.dev/favicon.ico",
  "url": "https://agentdiet.dev",
  "endpoint": "https://agentdiet.dev/a2a",
  "address": "0xec5275d5b03bc390fca63d902d0b2d0db2eb5573",
  "agentWallet": "0xec5275d5b03bc390fca63d902d0b2d0db2eb5573",
  "payout": "0xec5275d5b03bc390fca63d902d0b2d0db2eb5573",
  "taifoon_listing": "tfl_9b550af9c10b49d3be25787b2c1aad16",
  "price_usdc": {
    "unit": "per-job",
    "min": 0.05,
    "max": 0.05
  },
  "tags": [
    "context-compression",
    "token-diet",
    "markdown",
    "mcp",
    "a2a",
    "x402",
    "erc-8004"
  ],
  "categories": [
    "developer-tools",
    "data-extraction",
    "analytics"
  ],
  "supportedTrust": [
    "tee-attestation",
    "reputation",
    "crypto-economic"
  ],
  "supportedNetworks": [
    "eip155:8453",
    "eip155:137",
    "eip155:42161",
    "eip155:10",
    "eip155:42220",
    "eip155:43114",
    "eip155:534352",
    "eip155:143"
  ],
  "license": "MIT",
  "documentation": "https://agentdiet.dev/llms.txt",
  "privacyPolicy": "https://agentdiet.dev/llms.txt",
  "securityPolicy": "https://agentdiet.dev/llms.txt",
  "termsOfService": "https://agentdiet.dev/llms.txt",
  "contact": {
    "support": "roberto.yanguas@gmail.com",
    "website": "https://agentdiet.dev",
    "documentation": "https://agentdiet.dev/llms.txt"
  },
  "registrations": [
    {
      "agentId": 254541,
      "agentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 689,
      "agentRegistry": "eip155:137:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 1634,
      "agentRegistry": "eip155:42161:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 566,
      "agentRegistry": "eip155:10:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 9975,
      "agentRegistry": "eip155:42220:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 1846,
      "agentRegistry": "eip155:43114:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 109,
      "agentRegistry": "eip155:534352:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 10413,
      "agentRegistry": "eip155:143:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 10413,
      "agentRegistry": "eip155:10143:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 2238,
      "agentRegistry": "eip155:1187947933:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 2539,
      "agentRegistry": "eip155:5042:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    },
    {
      "agentId": 2539,
      "agentRegistry": "eip155:1243:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
    }
  ],
  "classes": [
    "wire.reply",
    "plan.steps",
    "risk.address",
    "market.price",
    "data.onchain_query",
    "a2a.json_normalize",
    "chat.word_count",
    "mcp.digest",
    "mech.predict",
    "predict.market"
  ],
  "services": [
    {
      "name": "A2A",
      "type": "agent-to-agent",
      "status": "operational",
      "endpoint": "https://agentdiet.dev/a2a",
      "version": "1.0.0",
      "skills": [
        "distill-webpage-markdown",
        "recon-webpage-skeleton",
        "bm25-budget-distillation",
        "extract-structured-tables-jsonld"
      ]
    },
    {
      "name": "MCP",
      "type": "mcp",
      "status": "operational",
      "endpoint": "https://agentdiet.dev/mcp",
      "version": "2025-11-25",
      "tools": [
        "distill_webpage",
        "recon_webpage_skeleton",
        "extract_structured_data",
        "get_agent_wallet_status"
      ],
      "prompts": [
        "context_diet_optimization"
      ],
      "resources": [
        "resource://agentdiet/distill/schema"
      ],
      "healthCheck": "https://agentdiet.dev/health"
    },
    {
      "name": "Web",
      "type": "web-interface",
      "status": "operational",
      "endpoint": "https://agentdiet.dev",
      "version": "1.0.0"
    },
    {
      "name": "API",
      "type": "rest-api",
      "status": "operational",
      "endpoint": "https://agentdiet.dev",
      "version": "1.0.0",
      "healthCheck": "https://agentdiet.dev/health"
    },
    {
      "name": "agentWallet",
      "endpoint": "eip155:8453:0xec5275d5b03bc390fca63d902d0b2d0db2eb5573"
    }
  ],
  "iconUrl": "https://agentdiet.dev/favicon.ico",
  "documentationUrl": "https://agentdiet.dev/llms.txt",
  "mcp": "https://agentdiet.dev/mcp",
  "version": "7.0.16",
  "protocolVersion": "1.0",
  "supportedInterfaces": [
    {
      "url": "https://agentdiet.dev/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    },
    {
      "url": "https://agentdiet.dev/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "0.3"
    }
  ],
  "provider": {
    "organization": "AgentDiet B2A Infrastructure",
    "url": "https://agentdiet.dev",
    "contactEmail": "roberto.yanguas@gmail.com"
  },
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extendedAgentCard": false,
    "stateTransitionHistory": false,
    "extensions": [
      {
        "uri": "https://github.com/coinbase/x402/v2",
        "required": false,
        "description": "x402 v2 micropayments (USDC on Base & Solana)",
        "params": {
          "discoveryUrl": "https://agentdiet.dev/.well-known/x402",
          "network": "eip155:8453",
          "asset": "USDC",
          "payTo": "0xec5275d5b03bc390fca63d902d0b2d0db2eb5573",
          "facilitator": "https://api.cdp.coinbase.com/platform/v2/x402"
        }
      },
      {
        "uri": "https://agenstry.com/a2a/extensions/mcp-discovery/v1",
        "required": false,
        "description": "Model Context Protocol (MCP) Streamable HTTP endpoint.",
        "params": {
          "url": "https://agentdiet.dev/mcp",
          "protocolVersion": "2025-03-26",
          "discoveryUrl": "https://agentdiet.dev/.well-known/mcp/server-card.json"
        }
      }
    ]
  },
  "securitySchemes": {
    "mtls": {
      "type": "mutualTLS",
      "description": "Optional mutual TLS client certificate authentication for enterprise A2A peering."
    },
    "apiKey": {
      "type": "apiKey",
      "in": "header",
      "name": "X-Agent-Id",
      "description": "Free trial agent ID or prepaid session pass key (agd_pass_...)."
    },
    "bearer": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "agd_pass",
      "description": "Bearer session pass or x402 payment proof."
    }
  },
  "securityRequirements": [],
  "defaultInputModes": [
    "application/json",
    "text/plain"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/plain"
  ],
  "response_schema": {
    "type": "object",
    "properties": {
      "status": {
        "type": "string"
      },
      "data": {
        "type": "object"
      }
    },
    "required": [
      "status",
      "data"
    ]
  },
  "outputSchema": {
    "type": "object",
    "properties": {
      "status": {
        "type": "string"
      },
      "data": {
        "type": "object"
      }
    },
    "required": [
      "status",
      "data"
    ]
  },
  "authentication": {
    "schemes": [
      "x402",
      "L402",
      "Bearer"
    ],
    "credentials": "HTTP 402 micropayments ($0.001 USDC on Base to 0xec5275d5b03bc390fca63d902d0b2d0db2eb5573) or X-Agent-Id free trial"
  },
  "skills": [
    {
      "id": "distill-webpage-markdown",
      "name": "Distill Webpage to Clean Markdown",
      "description": "Strips 85-97% of HTML/DOM/JS/CSS noise from any URL and returns clean GitHub-Flavored Markdown plus an ROI Proof receipt.",
      "tags": [
        "markdown",
        "scraper",
        "distillation",
        "token-diet",
        "web"
      ],
      "examples": [
        "GET https://agentdiet.dev/v1/distill?url=https://example.com&mode=markdown"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ],
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "data": {
            "type": "object"
          }
        },
        "required": [
          "status",
          "data"
        ]
      }
    },
    {
      "id": "recon-webpage-skeleton",
      "name": "Webpage Skeleton Reconnaissance (<200 Tokens)",
      "description": "Returns a ultra-compact structural outline of headings and token counts per section before full extraction.",
      "tags": [
        "skeleton",
        "reconnaissance",
        "token-budget",
        "outline"
      ],
      "examples": [
        "GET https://agentdiet.dev/v1/distill?url=https://example.com&mode=skeleton"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ],
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "data": {
            "type": "object"
          }
        },
        "required": [
          "status",
          "data"
        ]
      }
    },
    {
      "id": "bm25-budget-distillation",
      "name": "BM25 Query-Focused Token Budget Extraction",
      "description": "Ranks document sections via BM25 against your query and returns only the highest-signal chunks fitting strictly within max_tokens.",
      "tags": [
        "bm25",
        "rag",
        "context-window",
        "budget"
      ],
      "examples": [
        "GET https://agentdiet.dev/v1/distill?url=https://example.com&mode=budget&query=pricing&max_tokens=300"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ],
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "data": {
            "type": "object"
          }
        },
        "required": [
          "status",
          "data"
        ]
      }
    },
    {
      "id": "extract-structured-tables-jsonld",
      "name": "Extract Structured Tables, JSON-LD & OpenGraph",
      "description": "Parses HTML tables into JSON arrays alongside JSON-LD schemas, OpenGraph tags, code blocks, and links.",
      "tags": [
        "structured-data",
        "json-ld",
        "tables",
        "opengraph"
      ],
      "examples": [
        "GET https://agentdiet.dev/v1/distill?url=https://example.com&mode=structured"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ],
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "data": {
            "type": "object"
          }
        },
        "required": [
          "status",
          "data"
        ]
      }
    }
  ],
  "signatures": [
    {
      "protected": "eyJhbGciOiJFZERTQSIsImtpZCI6ImEyYS1lZDI1NTE5LXYxIiwidHlwIjoiYTJhLWNhcmQrandzIn0",
      "signature": "raz3bPZNq57clVYE_NM2uI4LbkZyFgOGCIFxUvyd_vFahdBz-sDrfSwARTb1IlW4e8WyiIZmriP6dQF5LnXDCw"
    }
  ]
}