{"uid":"cap_CQHviIO-YBOKMY2GybgVX","slug":"agentdiet-github-audit-5282202f","name":"AgentDiet GitHub 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://company-enrich-72343955726.us-central1.run.app/v1/github-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","minLength":1,"description":"GitHub repository in owner/name format (e.g. modelcontextprotocol/servers or langchain-ai/langgraph)"}},"additionalProperties":false},"output":{"type":"object","required":["status","roi_proof","data"],"properties":{"data":{"type":"object"},"status":{"type":"string"},"roi_proof":{"type":"object"}}}}},"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_eq4QdQ3lC844B0Crpgb4k","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 quality, structure, and key signals.","exampleAgentPrompt":"Can you audit the GitHub repo at github.com/openai/evals and give me a distilled summary of its structure, code quality, and any notable signals — something concise I can actually use?","exampleUseCases":[{"title":"Due diligence on open source dependency","prompt":"Before I add this library to our project, can you audit github.com/huggingface/transformers and give me a compressed summary of its code quality, maintenance activity, and any red flags I should know about?"},{"title":"Vetting a contractor's GitHub work","prompt":"I'm considering hiring a freelancer — can you audit their GitHub repo at github.com/jane-dev/portfolio-api and tell me what you see in terms of code quality, structure, and professionalism?"},{"title":"Quick repo overview before integration","prompt":"We're about to integrate github.com/stripe/stripe-node into our backend — can you pull a distilled audit of that repo so I can quickly understand what we're bringing in?"}],"resultDescription":"Returns a structured JSON response containing a distilled markdown document summarizing the GitHub repository — including title, content, and code/structure signals — along with ROI proof metrics showing raw vs. distilled token counts, compression ratio, and token savings achieved.","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 high-traffic repos","Payment failure via x402/HTTP 402 prevents endpoint access","Malformed query parameters return validation errors","Very large monorepos may produce incomplete distillation"],"whenToPreferThis":"Choose this endpoint when you need a concise, token-efficient, agent-ready markdown summary of a GitHub repository without consuming large amounts of context window. Ideal for automated due diligence, dependency vetting, contractor review, or any workflow where an AI agent needs structured insight about a codebase at low cost ($0.01 USDC). Prefer over raw GitHub API calls when you want distilled intelligence rather than raw data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T12:58:01.028Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-5282202f"}