# WritersLogic Deadline Feasibility – Critical Path Analyzer

> WritersLogic Deadline Feasibility – Critical Path Analyzer is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Computes the critical path and deadline feasibility verdict (pass/unknown/fail) for a set of dependent steps with expected and worst-case durations, retries, and backoff, given a remaining time budget.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/deadline-feasibility?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-deadline-feasibility-critical-path-analyzer-07d164a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GOTNc5SSV_RRAoNF_VQag

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 writerslogic-deadline-feasibility-critical-path-analyzer-07d164a1 -d '<json body>'
```

Example prompt: I have 5 workflow steps: 'fetch' takes 200ms expected / 500ms worst, 'parse' depends on fetch and takes 100ms / 300ms worst, 'enrich-a' and 'enrich-b' both depend on parse and take 400ms / 800ms worst each with 2 retries and 100ms backoff, and 'publish' depends on both enrich steps and takes 150ms / 250ms worst. I have 3500ms remaining and 50ms overhead — can this pipeline finish in time and what's the critical path?

## When to prefer this

Use this endpoint when you need a pure-computation, clock-free feasibility check for a DAG of tasks with known duration estimates, retries, and a fixed remaining time budget. It is ideal for AI agent orchestration, CI/CD pipeline planning, or any workflow where you want to know upfront whether the schedule is guaranteed, likely, or infeasible — and which steps are the bottleneck. Prefer it over real-time schedulers when you have your own timing measurements and just need critical-path math.

## Known failure modes

- Invalid step ID references in 'after' dependencies (cycle or unknown ID) causing a 400 error
- worstMs less than expectedMs for any step causing a validation error
- Steps array empty or exceeding 100 items
- remainingMs exceeding 604800000ms (1 week) limit
- backoffMs or overheadMs exceeding their respective maximums
- Circular dependency graph causing computation failure

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

Returns a verdict of 'pass' (worst-case fits), 'unknown' (only expected case fits), or 'fail' (even expected case does not fit), along with the slack in milliseconds, the list of critical-path step IDs for both expected and worst-case scenarios, and the total expected and worst-case durations of the critical path.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "steps": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "expectedMs",
     "worstMs"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "after": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 200,
       "minLength": 1
      },
      "maxItems": 20,
      "description": "Step ids that must finish first."
     },
     "retries": {
      "type": "integer",
      "maximum": 10,
      "minimum": 0,
      "description": "Retries after a failed attempt; the worst case runs them all."
     },
     "worstMs": {
      "type": "integer",
      "maximum": 86400000,
      "minimum": 0,
      "description": "Worst-case duration of one attempt. Must be at least expectedMs."
     },
     "backoffMs": {
      "type": "integer",
      "maximum": 3600000,
      "minimum": 0,
      "description": "Wait before each retry (constant)."
     },
     "expectedMs": {
      "type": "integer",
      "maximum": 86400000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100,
   "minItems": 1
  },
  "overheadMs": {
   "type": "integer",
   "maximum": 3600000,
   "minimum": 0,
   "description": "Fixed time to reserve for settlement, serialization, etc."
  },
  "remainingMs": {
   "type": "integer",
   "maximum": 604800000,
   "minimum": 0,
   "description": "Time left to the hard deadline, measured by the caller."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-deadline-feasibility-critical-path-analyzer-07d164a1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
