{"uid":"cap_BnITYCwryXJEkGiQ1xIbl","slug":"agentdiet-dependency-audit-03d37a8e","name":"AgentDiet Dependency Audit","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/dependency-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_cZkBzkvVYnHuW466Wf8u4","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's dependencies and returns a compressed, token-efficient dependency analysis with compression ratio proof","exampleAgentPrompt":"Run a dependency audit on my repo — I want a compressed, token-efficient report with proof of how much context it saves.","exampleUseCases":[{"title":"Audit open-source project dependencies","prompt":"Can you run a dependency audit on the github.com/myorg/myproject repo and give me a compressed breakdown of what it depends on, along with the compression ratio proof?"},{"title":"Pre-deployment dependency check","prompt":"Before we deploy, audit the dependencies in our backend repo and show me a token-efficient summary — I need to know if anything looks off without burning a huge context window."},{"title":"Agent cost optimization via compressed audits","prompt":"I want to audit my project's dependencies but keep token usage low — can you use AgentDiet to get me the dependency report with the compression stats showing how much we saved?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the dependency audit results, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved by the context distillation.","failureModes":["Missing or invalid 'repo' query parameter returns an error or empty data","Repository not accessible or not found returns an error status","Payment not settled in USDC on Base results in 402 Payment Required","Invalid HTTP method returns a validation error","Rate limiting or service unavailability returns a non-ok status"],"whenToPreferThis":"Choose this endpoint when you need a token-compressed, cost-efficient dependency audit of a code repository and want proof of context window savings. It is particularly valuable for AI agent workflows where context window size is a constraint and you need high-compression dependency intelligence rather than raw verbose output. Prefer it over standard dependency scanners when working in A2A or MCP pipelines that bill by token or have limited context budgets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:22.587Z","isFirstParty":false,"canonicalSlug":"agentdiet-dependency-audit-03d37a8e"}