{"uid":"cap_rAJZMfmbfny4aHqNO8E6V","slug":"agentdiet-github-audit-c3d03a21","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://agentdiet-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_C_kdL1AgdskdKfhQfyVJh","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, and key signals","exampleAgentPrompt":"Can you run a GitHub audit on the repository at https://github.com/openai/openai-python and give me a distilled summary of what it does, its structure, and any notable signals?","exampleUseCases":[{"title":"Open-source dependency due diligence","prompt":"I'm evaluating whether to use the repo github.com/langchain-ai/langchain as a dependency — can you audit it and give me a compressed summary of its architecture, activity, and any red flags?"},{"title":"Competitor codebase intelligence","prompt":"Audit the GitHub repo at github.com/supabase/supabase for me and distill what it does, how it's structured, and what tech stack it's using — I want the key signals without reading thousands of lines."},{"title":"Onboarding to an unfamiliar project","prompt":"I just joined a new team and need to get up to speed fast — can you audit github.com/trpc/trpc and give me an agent-ready markdown breakdown of how it works and what the main modules are?"}],"resultDescription":"Returns a JSON object containing a distilled markdown document summarizing the GitHub repository (title, structured content), along with ROI proof metrics including raw token count, distilled token count, compression ratio percentage, and an ROI multiplier indicating how much token usage was saved versus reading the raw repo.","failureModes":["Invalid or private GitHub repository URL returns an error","Repository not found or rate-limited by GitHub API","Payment not received or x402 flow incomplete results in 402 response","Extremely large repositories may yield partial distillation","Malformed request parameters return a 400-level error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a token-efficient, structured summary of a GitHub repository without fetching and processing raw files directly. It is particularly valuable when working with large codebases where token limits are a concern, or when you need agent-ready markdown rather than raw API data. Prefer this over direct GitHub API calls when compression, distillation quality, and cost-per-insight matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:30:07.471Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-c3d03a21"}