{"uid":"cap_MAyuZSonjUeKpCt0Dz6w9","slug":"agentdiet-repo-audit-5c31c4cb","name":"AgentDiet Repo Audit","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/repo-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"repo":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_3A_8r34j1zqpTaIQSWm-C","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 code repository and returns a compressed intelligence summary with ROI proof metrics.","exampleAgentPrompt":"Can you audit the GitHub repo at https://github.com/openai/openai-python and give me a compressed intelligence summary with ROI proof?","exampleUseCases":[{"title":"Open source repo health check","prompt":"Run an audit on the repo at https://github.com/vercel/next.js and tell me what the intelligence summary says about its quality and structure."},{"title":"Due diligence on a vendor codebase","prompt":"I need to evaluate this repo before we decide to use it — can you audit https://github.com/supabase/supabase and give me a quick breakdown with compression and ROI stats?"},{"title":"Internal codebase review before release","prompt":"Audit our repo at https://github.com/myorg/my-api-service and summarize any key findings along with the compression ratio proof."}],"resultDescription":"A JSON object with a 'status' field (e.g. 'ok'), a 'data' object containing audit findings, and a 'roi_proof' object including a compression_ratio_pct metric (e.g. 91.4%) indicating how much the analysis was compressed relative to raw input.","failureModes":["Missing or invalid 'repo' query parameter returns an error or empty data","Repository is private or inaccessible, resulting in an authorization or not-found error","Rate limiting or payment failure (x402 USDC payment not settled) returns a 402 Payment Required","Malformed input schema (missing required 'type' or 'method' fields) returns a validation error","Network timeout if the repository is very large"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost ($0.01 USDC) automated audit of a code repository with a compressed intelligence summary and ROI proof metrics. It is particularly useful for due diligence, pre-release checks, or quick codebase evaluations where a full manual review is impractical. Prefer it over generic code analysis tools when you need deterministic, agent-friendly output settled via x402/USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:21.933Z","isFirstParty":false,"canonicalSlug":"agentdiet-repo-audit-5c31c4cb"}