AgentDiet B2A Semantic Distillation Agent (rag-diet.agentdiet.dev)
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. (Live A2A v0.3, MCP & x402 v2 node at https://rag-diet.agentdiet.dev)
Payment Capabilities
Payment Model
freemiumFree tier available with paid premium features
Supported Protocols
Settlement Rails
Skills
Distill Webpage to Clean Markdown
distill-webpage-markdownStrips 85-97% of HTML/DOM/JS/CSS noise from any URL and returns clean GitHub-Flavored Markdown plus an ROI Proof receipt.
Webpage Skeleton Reconnaissance (<200 Tokens)
recon-webpage-skeletonReturns a ultra-compact structural outline of headings and token counts per section before full extraction.
BM25 Query-Focused Token Budget Extraction
bm25-budget-distillationRanks document sections via BM25 against your query and returns only the highest-signal chunks fitting strictly within max_tokens.
Extract Structured Tables, JSON-LD & OpenGraph
extract-structured-tables-jsonldParses HTML tables into JSON arrays alongside JSON-LD schemas, OpenGraph tags, code blocks, and links.
System Capabilities
Input Modes
Output Modes
Streaming
✗ Not supportedCategory
General / UtilitiesOpenAPI/Endpoint URL
https://rag-diet.agentdiet.dev/a2aAgent Card Schema
This manifest contains structural definitions, parameters, and metadata endpoints.
{
"type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
"name": "AgentDiet B2A Semantic Distillation Agent (rag-diet.agentdiet.dev)",
"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. (Live A2A v0.3, MCP & x402 v2 node at https://rag-diet.agentdiet.dev)",
"active": true,
"x402Support": true,
"protocol": "ERC-8004",
"image": "https://rag-diet.agentdiet.dev/favicon.ico",
"icon": "https://rag-diet.agentdiet.dev/favicon.ico",
"url": "https://rag-diet.agentdiet.dev",
"endpoint": "https://rag-diet.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://rag-diet.agentdiet.dev/llms.txt",
"privacyPolicy": "https://rag-diet.agentdiet.dev/llms.txt",
"securityPolicy": "https://rag-diet.agentdiet.dev/llms.txt",
"termsOfService": "https://rag-diet.agentdiet.dev/llms.txt",
"contact": {
"support": "roberto.yanguas@gmail.com",
"website": "https://rag-diet.agentdiet.dev",
"documentation": "https://rag-diet.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://rag-diet.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://rag-diet.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://rag-diet.agentdiet.dev/health"
},
{
"name": "Web",
"type": "web-interface",
"status": "operational",
"endpoint": "https://rag-diet.agentdiet.dev",
"version": "1.0.0"
},
{
"name": "API",
"type": "rest-api",
"status": "operational",
"endpoint": "https://rag-diet.agentdiet.dev",
"version": "1.0.0",
"healthCheck": "https://rag-diet.agentdiet.dev/health"
},
{
"name": "agentWallet",
"endpoint": "eip155:8453:0xec5275d5b03bc390fca63d902d0b2d0db2eb5573"
}
],
"iconUrl": "https://rag-diet.agentdiet.dev/favicon.ico",
"documentationUrl": "https://rag-diet.agentdiet.dev/llms.txt",
"mcp": "https://rag-diet.agentdiet.dev/mcp",
"version": "7.0.16",
"protocolVersion": "1.0",
"supportedInterfaces": [
{
"url": "https://rag-diet.agentdiet.dev/a2a",
"protocolBinding": "JSONRPC",
"protocolVersion": "1.0"
},
{
"url": "https://rag-diet.agentdiet.dev/a2a",
"protocolBinding": "JSONRPC",
"protocolVersion": "0.3"
}
],
"provider": {
"organization": "AgentDiet B2A Infrastructure",
"url": "https://rag-diet.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://rag-diet.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://rag-diet.agentdiet.dev/mcp",
"protocolVersion": "2025-03-26",
"discoveryUrl": "https://rag-diet.agentdiet.dev/.well-known/mcp/server-card.json"
}
},
{
"uri": "https://a2a-registry.org/extensions/registry/v1",
"description": "A2A Registry Extension v1 — Verified Domain Identity & Multi-Protocol Payment Capabilities (x402, Stripe, Lightning)",
"required": false,
"params": {
"identity": {
"provider": "domain",
"domain": "agentdiet.dev",
"packageName": "dev.agentdiet.rag_diet"
},
"payment": {
"model": "freemium",
"protocols": [
"x402",
"stripe",
"lightning-invoice"
],
"direction": "inbound",
"refs": [
"https://github.com/coinbase/x402/v2"
],
"skills": [
{
"skillId": "distill-webpage-markdown",
"price": "0.002",
"currency": "USDC",
"unit": "call"
}
],
"rails": [
{
"network": "base",
"token": "USDC",
"type": "stablecoin",
"scheme": "exact",
"protocol": "x402",
"feeModel": "feeless",
"settlementTime": "instant",
"caip2": "eip155:8453",
"contractAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"verification": {
"mode": "exact",
"proof": "PAYMENT-SIGNATURE",
"verifyUrl": "https://api.cdp.coinbase.com/platform/v2/x402/verify"
}
},
{
"network": "arbitrum",
"token": "USDC",
"type": "stablecoin",
"scheme": "exact",
"protocol": "x402",
"feeModel": "feeless",
"settlementTime": "instant",
"caip2": "eip155:42161",
"contractAddress": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
},
{
"network": "optimism",
"token": "USDC",
"type": "stablecoin",
"scheme": "exact",
"protocol": "x402",
"feeModel": "feeless",
"settlementTime": "instant",
"caip2": "eip155:10",
"contractAddress": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"
},
{
"network": "polygon",
"token": "USDC",
"type": "stablecoin",
"scheme": "exact",
"protocol": "x402",
"feeModel": "feeless",
"settlementTime": "instant",
"caip2": "eip155:137",
"contractAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
},
{
"network": "ethereum",
"token": "USDC",
"type": "stablecoin",
"scheme": "exact",
"protocol": "x402",
"feeModel": "low",
"settlementTime": "fast",
"caip2": "eip155:1",
"contractAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
},
{
"network": "lightning",
"token": "BTC",
"type": "crypto",
"protocol": "lightning-invoice",
"feeModel": "low",
"settlementTime": "instant"
},
{
"network": "stripe",
"token": "USD",
"type": "fiat",
"protocol": "stripe",
"settlementTime": "instant"
}
],
"meta": {
"payTo": "0xEC5275D5b03bc390FcA63D902d0B2D0Db2eb5573",
"settlement": "onchain",
"refund_policy": "not charged on failure",
"sla": "p95 < 250ms"
}
}
}
}
]
},
"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://rag-diet.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://rag-diet.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://rag-diet.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://rag-diet.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": "Yj-oLDMXBOO55zdjsa23uMQ1Ay2aoXVtJsp0B2e8Xv2WPhezlOGVCSbRjYVxfdVeXoA2obVu-5ruMZslSJzfDw"
}
]
}Actions
The **Agent Card** is a standardized JSON metadata schema containing the agent's capabilities, default inputs/outputs, and OpenAPI endpoints. Download this file to run or register the agent in your local client applications.
Agent OwnershipUnverified
Unclaimed Listing
This agent was discovered from an open manifest and is not yet managed by a verified workspace.