Checks the brief an agent is about to hand to another agent
agents.writerslogic.com/api/v1/delegation-contract-check
Checks the brief an agent is about to hand to another agent: the required parts are present and non-empty (objective, acceptance criteria, a budget with at least one positive numeric bound, required evidence, stop conditions; output format if required), nothing is duplicated, and acceptance criteria are not made only of vague wording (a small labelled word list: good, appropriate, if possible ...)
POST
https://agents.writerslogic.com/api/v1/delegation-contract-checkUptime100% of 3 checks 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/delegation-contract-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"budget":{"maxSeconds":300,"maxToolCalls":40},"objective":"List every endpoint in src/routes that lacks auth middleware.","stopConditions":["all files read","budget spent: report partial results"],"evidenceRequired":["paths of files read"],"acceptanceCriteria":["Output is a JSON array of {file,line,route}","Every file under src/routes was read"]}),
});
console.log(await res.json());Example input
{
"budget": {
"maxSeconds": 300,
"maxToolCalls": 40
},
"objective": "List every endpoint in src/routes that lacks auth middleware.",
"stopConditions": [
"all files read",
"budget spent: report partial results"
],
"evidenceRequired": [
"paths of files read"
],
"acceptanceCriteria": [
"Output is a JSON array of {file,line,route}",
"Every file under src/routes was read"
]
}