{"uid":"cap_hxOz-IZYcc8qqxvDHP-jp","slug":"ddg-git-repository-analyzer-5ba7afdb","name":"DDG Git Repository Analyzer","description":"DDG agent-payable service request","url":"https://agents.daedalusdevelopmentgroup.com/v1/git-repo-analyze?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_hPrGuLI5DDVtmbchsiSrN","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":"Analyzes a Git repository and returns a bounded analysis artifact for AI agents, paid per-call via x402 USDC.","exampleAgentPrompt":"Can you analyze the git repository at https://github.com/org/myproject and give me a summary of its structure, main languages, and what it does?","exampleUseCases":[{"title":"Open source project due diligence","prompt":"I'm evaluating whether to use https://github.com/someorg/somelibrary as a dependency — can you analyze that git repo and tell me what it does, how it's structured, and any obvious red flags?"},{"title":"Onboarding to an unfamiliar codebase","prompt":"I just joined a new team and need to get up to speed on https://github.com/mycompany/legacy-api — can you analyze that repository and give me an overview of its structure and main components?"},{"title":"Automated repo audit in a pipeline","prompt":"For our internal review process, analyze the git repo at https://github.com/acme/backend-service and extract key information about its architecture, languages used, and file organization."}],"resultDescription":"Returns a JSON object with {ok: true} plus a bounded analysis artifact containing structured insights about the repository — likely including language breakdown, directory structure, inferred purpose, key files, and summary metadata. Exact fields depend on DDG's analysis engine output.","failureModes":["Invalid or inaccessible repository URL returns an error response","Private repositories without credentials will fail to clone/analyze","Malformed POST body or missing required fields returns a 400-level error","Payment failure via x402 returns a 402 Payment Required response","Very large repositories may time out or return partial results","Rate limiting may apply per wallet/payment address"],"whenToPreferThis":"Choose this endpoint when you need a bounded, pay-per-call git repository analysis without setting up raw provider credentials. It is ideal for AI agents operating autonomously with crypto payment rails (x402/USDC), one-off repository inspections, or pipelines where you want a structured artifact rather than raw API access to GitHub/GitLab. Prefer this over rolling your own git analysis when you want a single-call, metered result with no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:48:30.514Z","isFirstParty":false,"canonicalSlug":"ddg-git-repository-analyzer-5ba7afdb"}