{"uid":"cap_2YeDPKj9Rt1nRxgJknuge","slug":"agentdiet-github-repository-audit-688ed177","name":"AgentDiet GitHub Repository Audit","description":"15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).","url":"https://hn-pulse.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"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GQMbkUr-obFq0nV-T8_ng","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_TI9S5ypyV27E-Ix7bnPTi","protocol":"mpp","methodType":"crypto","chain":"tempo","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 distilled intelligence about its code quality, activity, and risk signals","exampleAgentPrompt":"Can you audit the GitHub repo 'openai/openai-python' and give me a distilled summary of its health, activity, and any risk signals?","exampleUseCases":[{"title":"Dependency due diligence before adoption","prompt":"Before I add 'langchain-ai/langchain' as a dependency in my project, can you audit that GitHub repo and tell me if it looks well-maintained and low-risk?"},{"title":"Open source project health check","prompt":"Can you run a GitHub audit on 'huggingface/transformers' and summarize its code quality, contributor activity, and any red flags I should know about?"},{"title":"Vendor code vetting for procurement","prompt":"We're evaluating a vendor who pointed us to their GitHub repo at 'acmecorp/core-sdk' — can you audit it and tell me if the codebase looks legitimate and actively developed?"}],"resultDescription":"Returns a JSON object with a 'data' field containing distilled audit intelligence about the specified GitHub repository (e.g. activity signals, risk indicators, code quality summary), a 'status' field confirming success, and a 'roi_proof' object showing the compression ratio (e.g. 91.4%) indicating how much raw data was distilled into the summary.","failureModes":["Missing or invalid 'repo' query parameter returns an error or empty data","Private or non-existent repository may return no data or an access error","GitHub API rate limiting on the backend may cause degraded or empty results","Payment failure via x402/HTTP 402 blocks the request before processing","Malformed repository name format may cause lookup failure"],"whenToPreferThis":"Choose this endpoint when you need a quick, distilled intelligence report on a GitHub repository — especially useful for due diligence, dependency evaluation, or open-source project vetting. It is well-suited for agents that need compressed, actionable insights rather than raw GitHub API data. Prefer this over direct GitHub API calls when you want pre-processed risk and quality signals in a single response, and when you are operating in an x402 micropayment context with USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:42:20.821Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-repository-audit-688ed177"}