{"uid":"cap_QBF0lPCb6hET70rqY4Wa2","slug":"agentdiet-license-compliance-scan-f64e6490","name":"AgentDiet License Compliance Scan","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/license-compliance-scan?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_Mk-iqahxcZkq_MMIhEOUm","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":"Scans a code repository for license compliance issues, returning compressed audit results with high token-efficiency via RAG distillation.","exampleAgentPrompt":"Can you run a license compliance scan on my repo at github.com/myorg/myproject and tell me if there are any license conflicts or violations?","exampleUseCases":[{"title":"Open source license conflict detection","prompt":"Scan my GitHub repo myorg/backend-service for any GPL or AGPL license conflicts with my MIT-licensed code — I need to know before we ship."},{"title":"Dependency audit before enterprise release","prompt":"Before we release to enterprise customers, check my repo at github.com/acme/platform for any open source license compliance issues that could create legal risk."},{"title":"License gate in CI/CD pipeline","prompt":"I want to automatically check my repo github.com/startup/api for license compliance every time we push — can you run a scan and show me the compressed results?"}],"resultDescription":"Returns a JSON object with a 'status' field ('ok'), a 'data' object containing compliance findings, and an 'roi_proof' object that includes a compression_ratio_pct (e.g. 91.4%) demonstrating how much token reduction was achieved in delivering the results.","failureModes":["Missing or invalid 'repo' query parameter may return empty or error data","Repository not accessible or private repos without auth may return incomplete results","Unsupported HTTP method (only GET/POST allowed) returns validation error","Payment failure via x402/USDC on Base blocks request execution","Malformed input object missing required 'type' or 'method' fields causes schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, compressed license compliance audit of a code repository and are operating in an agent-to-agent or MCP context where minimizing context window usage matters. It is particularly well-suited for automated pipelines paying per-call in USDC via x402, where cost and token economy are priorities over rich interactive UI.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:55.502Z","isFirstParty":false,"canonicalSlug":"agentdiet-license-compliance-scan-f64e6490"}