{"uid":"cap_d8gq1i7ns9_QIqToRVZbR","slug":"agentdiet-github-audit-9e19fe6d","name":"AgentDiet GitHub Audit","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-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_91VzzZ1fIyOf_23_fTSGT","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 compressed, token-efficient analysis with compression ratio proof","exampleAgentPrompt":"Can you run a GitHub audit on the repo 'openai/openai-python' using AgentDiet and show me the compressed summary along with how much token compression I got?","exampleUseCases":[{"title":"Audit open-source dependency repo","prompt":"Run a GitHub audit on 'langchain-ai/langchain' and give me the compressed analysis — I want to see the compression ratio so I know how many tokens we saved."},{"title":"Agent pipeline repo health check","prompt":"Audit the GitHub repo 'coinbase/agentkit' with AgentDiet and return a token-efficient summary I can use in my agent's context window without blowing up my token budget."},{"title":"Due diligence on a new library","prompt":"I'm evaluating 'huggingface/transformers' for a project — can you pull an AgentDiet GitHub audit on it and show me what it finds, including the ROI proof on compression?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the audit findings, a 'status' field ('ok' on success), and an 'roi_proof' object including a 'compression_ratio_pct' value (e.g. 91.4%) demonstrating how much the output was compressed versus raw context.","failureModes":["Missing or invalid 'repo' query parameter returns an error or empty data object","Repository does not exist or is private — returns empty data or access error","Payment not settled in USDC on Base — request rejected with 402 status","Malformed input schema (wrong type or method) — request rejected","GitHub API rate limiting or downtime causes failed audit"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, compressed audit of a GitHub repository for use inside an AI agent's context window. It is especially useful when context window size is a constraint and you need quantified compression proof (ROI). Prefer it over raw GitHub API calls when you want pre-digested, de-bloated repository intelligence rather than raw JSON payloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:26.300Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-9e19fe6d"}