{"uid":"cap_eb4SDrEd3PgYoL1pUbFGX","slug":"agentdiet-github-context-distiller-4ec6766e","name":"AgentDiet GitHub Context Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/github?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":{"repo":{"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_3TMZwhJ7-7cpyBbCAiGde","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 distills a GitHub repository's context into a compressed, token-efficient summary via a paid A2A/x402 endpoint","exampleAgentPrompt":"Can you use AgentDiet to fetch and compress the context for the 'openai/openai-python' GitHub repo so I'm using as few tokens as possible?","exampleUseCases":[{"title":"Compress repo context for LLM task","prompt":"I need to analyze the 'langchain-ai/langchain' GitHub repo but I'm worried about token costs — can you pull it through AgentDiet and give me the distilled, compressed version?"},{"title":"Verify compression savings on a codebase","prompt":"Fetch the 'vercel/next.js' repo through AgentDiet and tell me what compression ratio I'm getting — I want to see the ROI proof before I commit to using it regularly."},{"title":"Slim down repo data for agent pipeline","prompt":"My AI pipeline needs GitHub repo context for 'huggingface/transformers' but the raw content is too large — run it through AgentDiet's distiller and pass back whatever compressed summary it returns."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled repository context, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%), confirming how much the context was reduced.","failureModes":["Missing or invalid 'repo' query parameter — returns error or empty data","Repository not found on GitHub — returns empty or error data object","Payment not settled in USDC on Base — x402 payment failure, request blocked","Rate limiting or node unavailability — non-200 response from the distiller node","Malformed input schema (missing required 'type' or 'method' fields) — validation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to consume GitHub repository content but faces context window size or token cost constraints. It is especially valuable in A2A or agentic pipelines where repeated repo lookups would be expensive. Prefer it over raw GitHub API calls when token efficiency is a priority and you are already operating in an x402/USDC micropayment-capable environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:36.995Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-context-distiller-4ec6766e"}