{"uid":"cap_Qc5OZGBwA_q1O8wkMx8wT","slug":"agentdiet-github-audit-8dfe3775","name":"AgentDiet GitHub Audit","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/github-audit?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_vB5oc975TwP86Z3qq5BcC","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":"Audits a GitHub repository and returns a distilled, compressed intelligence report with ROI compression metrics.","exampleAgentPrompt":"Can you run a GitHub audit on the repo 'openai/openai-python' and give me a distilled, token-efficient intelligence report on it?","exampleUseCases":[{"title":"Open source project due diligence","prompt":"Audit the GitHub repo 'huggingface/transformers' and give me a compressed intelligence summary — I want to understand the project without burning through my context window."},{"title":"Agent pipeline repo evaluation","prompt":"I'm evaluating 'langchain-ai/langchain' as a dependency — can you audit that GitHub repo and give me the distilled key facts with the compression ratio?"},{"title":"Security and quality check on a repo","prompt":"Run a GitHub audit on 'vercel/next.js' and return a token-efficient report so I can quickly assess the project's health and structure."}],"resultDescription":"Returns a JSON object with a 'data' field containing the audit intelligence, a 'status' field ('ok'), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), confirming how much the context was reduced.","failureModes":["Missing or invalid 'repo' query parameter returns empty or error data","Repository not found or inaccessible on GitHub returns an error or empty data object","Payment not completed (x402 flow) results in 402 Payment Required response","Malformed input schema (missing 'type' or 'method' fields) returns a validation error","Rate limiting or upstream GitHub API failure may return non-ok status"],"whenToPreferThis":"Choose this endpoint when you need to analyze or audit a GitHub repository but want to minimize token usage in your AI agent's context window. It is especially useful when processing large repositories where full context would be prohibitively expensive, or when you need a compressed but intelligence-dense summary for downstream agent reasoning. Prefer this over raw GitHub API calls when compression ratio and cost efficiency matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:20.748Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-8dfe3775"}