# DDG Test Runner

> DDG Test Runner is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Executes a test run against a DDG agent-payable service endpoint and returns pass/fail results with test count

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/test-runner
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-test-runner-597d7738
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vweo53HPSp0uVdYx1V7Tj

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-test-runner-597d7738 -d '<json body>'
```

Example prompt: Run the DDG test runner against my POST endpoint using a JSON body and tell me how many tests passed and whether the service is healthy.

## When to prefer this

Use this endpoint when you need to programmatically validate that a DDG agent-payable HTTP service is functioning correctly and passing its test suite. Prefer this over manual testing when integrating DDG services into CI/CD pipelines, pre-deployment checks, or automated agent health monitoring. Best suited for verifying POST/PUT/PATCH endpoints with JSON, form-data, or text bodies against DDG's bounded artifact model.

## Known failure modes

- Payment not received or insufficient USDC — returns 402 Payment Required
- Malformed input schema — missing required fields like type, method, bodyType, or body returns 400
- Invalid method enum value (not POST/PUT/PATCH) — schema validation error
- Invalid bodyType enum (not json/form-data/text) — schema validation error
- Service under test is unreachable — may return ok:false or a timeout error
- Partial test failures — ok:true but passed:false with test_count reflecting failed runs

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

Returns a JSON object with: ok (boolean indicating success), passed (boolean indicating all tests passed), service (string name of the tested service, e.g. 'test_runner'), and test_count (integer number of tests executed).

## 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,
     "passed": true,
     "service": "test_runner",
     "test_count": 3
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "passed": true,
  "service": "test_runner",
  "test_count": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-test-runner-597d7738/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)
