{"uid":"cap_0OSnRUnQJQEjmKjQoenWB","slug":"agentdiet-github-scanner-724e7d79","name":"AgentDiet GitHub Scanner","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-scanner?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_QelmXWc-N7KbpBtvq9Kz-","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":"Scans a GitHub repository and returns a distilled, token-compressed analysis via AgentDiet's context-window optimization pipeline, paid per-call in USDC.","exampleAgentPrompt":"Can you scan the GitHub repo 'openai/openai-python' using AgentDiet and give me a compressed, token-efficient summary of what's in it?","exampleUseCases":[{"title":"Summarize open source library before using it","prompt":"Scan the GitHub repo 'langchain-ai/langchain' and give me a distilled summary of its structure and purpose — I want to understand it without burning a ton of tokens."},{"title":"Agent autonomously evaluates a dependency repo","prompt":"Before we decide whether to use it, scan 'huggingface/transformers' on GitHub and extract the key facts about the project in as few tokens as possible."},{"title":"Code review assistant scans unfamiliar repo","prompt":"I've been handed a new repo called 'microsoft/autogen' — can you run it through AgentDiet's GitHub scanner and tell me what it does and how it's organized?"}],"resultDescription":"Returns a JSON object with a 'status' field ('ok'), a 'data' object containing the distilled repository analysis, and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%), demonstrating how much token reduction was applied to the raw repository content.","failureModes":["Invalid or non-existent repo name returns empty data or error status","Payment not settled in USDC on Base results in 402 response blocking execution","Missing required 'input' object in request body returns validation error","Rate limiting or repo access restrictions on GitHub side may return no data","Network timeout if repository is very large or GitHub API is slow"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to ingest GitHub repository content while minimizing context window token consumption. It is especially useful when processing large or unfamiliar repositories where token cost is a concern, and when you want a deterministic, pay-per-use (micro-payment via x402/USDC) scanning approach rather than a full raw GitHub API response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:28.465Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-scanner-724e7d79"}