{"uid":"cap_yz9vaW3YIRBlvmQ7EJc1q","slug":"agentdiet-github-repository-audit-7697e5a2","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://token-intel-72343955726.us-central1.run.app/v1/github-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"data":{"mode":"markdown","title":"Example Documentation","content":"# Example Documentation\nClean agent-ready markdown..."},"status":"ok","roi_proof":{"raw_tokens":14200,"tokens_saved":13520,"roi_multiplier":67.6,"distilled_tokens":680,"compression_ratio_pct":95.2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_gnPnT7n45s0aLZhIl1cEn","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, agent-ready markdown summary of its code, structure, activity, and risk signals","exampleAgentPrompt":"Can you run a GitHub audit on the repo 'vercel/next.js' and give me a compressed markdown summary of what it does, its activity level, and any risk signals?","exampleUseCases":[{"title":"Pre-integration open source due diligence","prompt":"Before I add this library to our codebase, can you audit the GitHub repo 'langchain-ai/langchain' and tell me about its contributor activity, code health, and any red flags I should know about?"},{"title":"Competitive repo intelligence gathering","prompt":"I want to understand what 'openai/whisper' actually contains and how actively it's maintained — can you pull an audit summary so I don't have to read through the whole repo myself?"},{"title":"Agent fleet vetting a dependency","prompt":"Audit the GitHub repository 'huggingface/transformers' and give me a distilled agent-readable breakdown of its structure, recent commits, and any security or maintenance concerns."}],"resultDescription":"Returns a JSON object containing a distilled markdown document summarizing the GitHub repository (title, content, mode), along with ROI proof metrics showing how many raw tokens were compressed, how many distilled tokens were produced, the compression ratio percentage, and an ROI multiplier — enabling agents to consume repository intelligence efficiently without processing the full raw source.","failureModes":["Invalid or non-existent GitHub repository URL returns an error","Private repositories without access credentials cannot be audited","Rate limiting from GitHub's API may cause failures on heavily-requested repos","Payment failure via x402/HTTP 402 if USDC balance is insufficient","Timeout on very large repositories with many files","Missing required repository identifier parameter returns a validation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to quickly understand a GitHub repository's purpose, health, activity, and risk profile without consuming thousands of tokens parsing raw source files. It is especially valuable when token budget is limited, when doing pre-integration due diligence on open source dependencies, or when building automated pipelines that need to assess many repos efficiently. Prefer this over direct GitHub API calls when you need a human-readable, pre-distilled summary rather than raw JSON metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:37:27.458Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-repository-audit-7697e5a2"}