{"uid":"cap_6FHnL_I8xtVn1y1V-km6S","slug":"agentdiet-llms-txt-context-distiller-d613666d","name":"AgentDiet LLMs.txt Context Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/llms-txt?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sLVFpHw-1U24yFaSvH1bO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and returns a distilled llms.txt file for a given URL, compressing context by up to 91% for token-efficient AI agent consumption","exampleAgentPrompt":"Fetch and distill the llms.txt for https://example.com so I get a compressed, token-efficient version I can load into my context window without bloating it.","exampleUseCases":[{"title":"Agent reading a documentation site","prompt":"Grab the distilled llms.txt for https://docs.stripe.com so I can load Stripe's docs into my agent's context window without burning through tokens."},{"title":"Reducing RAG retrieval payload size","prompt":"Before I stuff this URL into my RAG pipeline, distill https://openai.com/research/gpt-4 down to its llms.txt form so I only store the compressed, AI-readable version."},{"title":"Fitting third-party content into tight context budget","prompt":"I only have about 2,000 tokens left in my context window — can you fetch and compress https://news.ycombinator.com into its distilled llms.txt so it actually fits?"}],"resultDescription":"Returns a JSON object with status 'ok', the distilled content in the 'data' field, and an roi_proof object containing the compression_ratio_pct (e.g. 91.4%) achieved by the distillation.","failureModes":["Invalid or unreachable target URL returns an error status","URL returns non-HTML or non-parseable content, leading to empty or minimal distillation","Payment not settled in USDC on Base causes 402 rejection","Rate limiting or upstream fetch timeout causes failed response","Missing required 'input' object or 'method' field causes schema validation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to ingest external web content but faces context window constraints — it deterministically compresses content by ~85-91%, making it ideal for RAG pipelines, agent memory loading, and multi-step workflows where token budget is critical. Prefer it over raw web scraping when the goal is token efficiency rather than full fidelity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:56.089Z","isFirstParty":false,"canonicalSlug":"agentdiet-llms-txt-context-distiller-d613666d"}