{"uid":"cap_USfHdf2XLPHpW7xboKmD9","slug":"agentdiet-repo-audit-4b1e432e","name":"AgentDiet Repo Audit","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.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_Wa5lGVaFdexVOB5QcTQU5","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 compressed, token-efficient intelligence summary with a compression ratio proof","exampleAgentPrompt":"Can you audit the GitHub repo at https://github.com/myorg/myproject and give me a compressed intelligence summary — I want the token-efficient version that shows how much context was saved?","exampleUseCases":[{"title":"AI agent code context reduction","prompt":"I'm building an agent that needs to understand what's in the repo at https://github.com/acme/backend — can you audit it and give me a distilled summary that fits in my context window without using thousands of tokens?"},{"title":"Automated open-source repo triage","prompt":"Before I integrate this open-source library at https://github.com/someorg/somelibrary, can you run a repo audit and tell me what it does, its structure, and how much context compression you achieved?"},{"title":"Multi-repo pipeline audit","prompt":"I need a quick audit of https://github.com/startup/api-service — give me the compressed intelligence report so I can compare it against our other repos without maxing out my token budget."}],"resultDescription":"A JSON object containing a status field ('ok'), a data object with audit findings about the repository, and an roi_proof object showing the compression_ratio_pct (e.g. 91.4%) achieved — quantifying how much the repository context was distilled.","failureModes":["Missing or invalid repo query parameter returns an error","Repository not publicly accessible or not found causes a failure response","Payment not settled in USDC on Base results in 402 response","Malformed input object (missing required type or method fields) causes validation error","Large or complex repos may return partial data if processing limits are hit"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to analyze a code repository but must stay within tight context window limits. It is especially useful when you need a quantified proof of token savings (compression_ratio_pct), for agent-to-agent (A2A) pipelines where token efficiency is critical, or when you want a deterministic, pay-per-call ($0.01 USDC) repo audit without standing up your own infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:53.231Z","isFirstParty":false,"canonicalSlug":"agentdiet-repo-audit-4b1e432e"}