{"uid":"cap_o0EaKRK1LuQWFjcACn5oK","slug":"agentdiet-github-audit-22d0675f","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://serp-extract-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_qM5hqDnw_DkpSwm7Al7ga","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":"Fetches and distills a GitHub repository's documentation, code, or metadata into compressed, agent-ready markdown with token savings metrics","exampleAgentPrompt":"Can you audit the GitHub repo at github.com/openai/openai-python and give me a distilled, token-efficient markdown summary of what it does, its key features, and documentation?","exampleUseCases":[{"title":"Evaluating open-source dependencies","prompt":"Audit the GitHub repo github.com/langchain-ai/langchain and give me a compressed summary of what it does, its architecture, and any notable documentation — I want to understand it without burning through my token budget."},{"title":"Due diligence on a developer tool","prompt":"I'm evaluating whether to use the library at github.com/huggingface/transformers in our product — can you pull a distilled markdown audit of its README and key docs so I can review it quickly?"},{"title":"Agent pipeline repo intelligence","prompt":"Give me a token-efficient audit of github.com/microsoft/autogen so I can understand its structure and capabilities without reading the full repository manually."}],"resultDescription":"Returns a JSON object with a 'data' field containing distilled markdown (title and content), plus an 'roi_proof' object showing raw token count, distilled token count, compression ratio percentage, tokens saved, and an ROI multiplier — giving the agent both the summarized GitHub content and quantified token efficiency gains.","failureModes":["Invalid or inaccessible GitHub repository URL returns an error status","Private repositories without credentials may return access denied","Repository with no README or documentation may yield minimal content","Rate limiting or GitHub API throttling may cause failures","Payment not received via x402/HTTP 402 will block the response","Malformed request parameters result in bad request errors"],"whenToPreferThis":"Choose this endpoint when an agent needs to quickly understand a GitHub repository's purpose, documentation, or structure without consuming large token budgets. It is especially valuable in agentic pipelines that evaluate open-source libraries, perform developer due diligence, or need to pass repository summaries downstream to other tools. Prefer it over raw GitHub API calls when token efficiency and agent-readable markdown output are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:44:37.379Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-22d0675f"}