Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/deadline-feasibility

Takes steps with expected and worst-case durations, dependencies (steps with no dependency between them run in parallel), retries with backoff, and the time remaining, and computes the critical path for both cases. Verdict guaranteed (worst case fits: pass), likely (only the expected case fits: unknown) or infeasible (even the expected case does not fit: fail), with the slack and the critical-path

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/deadline-feasibility

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/deadline-feasibility", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"steps":[{"id":"fetch-a","retries":1,"worstMs":3000,"backoffMs":500,"expectedMs":800},{"id":"fetch-b","worstMs":2500,"expectedMs":600},{"id":"merge","after":["fetch-a","fetch-b"],"worstMs":400,"expectedMs":100}],"overheadMs":500,"remainingMs":8000}),
});
console.log(await res.json());

Example input

{
  "steps": [
    {
      "id": "fetch-a",
      "retries": 1,
      "worstMs": 3000,
      "backoffMs": 500,
      "expectedMs": 800
    },
    {
      "id": "fetch-b",
      "worstMs": 2500,
      "expectedMs": 600
    },
    {
      "id": "merge",
      "after": [
        "fetch-a",
        "fetch-b"
      ],
      "worstMs": 400,
      "expectedMs": 100
    }
  ],
  "overheadMs": 500,
  "remainingMs": 8000
}