Solves a simple temporal network
agents.writerslogic.com/api/v1/temporal-constraints
Solves a simple temporal network: up to 40 named time points, up to 200 difference constraints 'b is between min and max minutes after a' and optional fixed instants, relative to a caller origin instant. When consistent it returns each point's earliest and latest feasible instant (where bounded); when not, it returns the cycle of constraints that contradict each other, with the total impossible sl
POST
https://agents.writerslogic.com/api/v1/temporal-constraintsUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/temporal-constraints", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"fixed":[{"at":"2026-11-02T09:00:00Z","point":"draft"},{"at":"2026-11-09T09:00:00Z","point":"filing"}],"origin":"2026-11-02T09:00:00Z","points":["draft","review","filing"],"constraints":[{"a":"draft","b":"review","id":"c1","maxMinutes":2880,"minMinutes":0},{"a":"review","b":"filing","id":"c2","minMinutes":4320}]}),
});
console.log(await res.json());Example input
{
"fixed": [
{
"at": "2026-11-02T09:00:00Z",
"point": "draft"
},
{
"at": "2026-11-09T09:00:00Z",
"point": "filing"
}
],
"origin": "2026-11-02T09:00:00Z",
"points": [
"draft",
"review",
"filing"
],
"constraints": [
{
"a": "draft",
"b": "review",
"id": "c1",
"maxMinutes": 2880,
"minMinutes": 0
},
{
"a": "review",
"b": "filing",
"id": "c2",
"minMinutes": 4320
}
]
}