# DDG Repo Context Pack

> DDG Repo Context Pack is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns a bounded, machine-payable repository context pack artifact for a given code repository, paid via x402 USDC.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/repo-context-pack?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-repo-context-pack-27b483dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gDtJzOoQEgZO9Jj0yh-BC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ddg-repo-context-pack-27b483dc -d '<json body>'
```

Example prompt: Can you grab a repo context pack for the github.com/openai/openai-python repository so I have structured codebase context to work with?

## When to prefer this

Choose this endpoint when you need a pre-packaged, bounded repository context artifact delivered as a machine-payable API call via x402 USDC, especially in agent pipelines where you want a turnkey context pack without managing raw provider (e.g. GitHub API) credentials yourself. Prefer over raw GitHub API access when you need a structured, LLM-ready artifact rather than raw file trees.

## Known failure modes

- Payment not received or x402 payment header missing — 402 Payment Required returned
- Invalid or inaccessible repository identifier in request body — 400 Bad Request
- Repository too large or outside bounded artifact limits — may return error or truncated result
- Malformed JSON body — 400 Bad Request
- Provider environment unavailable — 503 Service Unavailable

## How this service works

DDG agent-payable service request

## Output

A bounded JSON artifact containing structured repository context (e.g. file summaries, code structure, metadata) suitable for consumption by AI agents or LLM pipelines. Returns {ok: true} on success along with the context pack payload.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-repo-context-pack-27b483dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
