{"uid":"cap_KfpSidPD-4j411WfRXioy","slug":"agentdiet-github-audit-212b3e7d","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://onchain-risk-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_ZmYsZbb36eK407kEm1lyL","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 or metadata into compressed, agent-ready markdown with token efficiency metrics","exampleAgentPrompt":"Can you audit the GitHub repo at https://github.com/openai/openai-python and give me a distilled, token-efficient markdown summary of what it does and how to use it?","exampleUseCases":[{"title":"Due diligence on open source dependency","prompt":"I'm evaluating whether to use the 'langchain-ai/langchain' GitHub repo as a dependency in my project — can you fetch and distill its documentation into a compact markdown summary so I can quickly assess what it offers?"},{"title":"Agent pipeline briefing on new SDK","prompt":"Before my agent starts using it, pull a compressed audit of the 'coinbase/coinbase-sdk-python' GitHub repo and tell me the key points in as few tokens as possible."},{"title":"Competitive research on rival OSS project","prompt":"Compare what I need to know about 'huggingface/transformers' on GitHub — get me a distilled markdown overview with compression stats so I can understand it without blowing my context window."}],"resultDescription":"Returns a JSON object containing distilled markdown content (title + body) of the GitHub repository's documentation, along with ROI metrics including raw token count, distilled token count, tokens saved, compression ratio percentage, and ROI multiplier — enabling agents to consume repository intelligence at a fraction of the normal token cost.","failureModes":["Invalid or private GitHub repository URL returns an error or empty content","Repository with no README or documentation yields minimal distilled output","Rate limiting or network timeouts from GitHub may cause fetch failures","Payment failure via x402/USDC results in HTTP 402 and no content returned","Extremely large monorepos may result in partial distillation or truncated output"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to understand a GitHub repository's purpose, API, or documentation without consuming large amounts of context window tokens. It is especially valuable in agentic pipelines where token efficiency is critical, when doing rapid due diligence on open source projects, or when you need structured markdown output ready for downstream agent consumption rather than raw HTML or full repository files.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:43:55.306Z","isFirstParty":false,"canonicalSlug":"agentdiet-github-audit-212b3e7d"}