Decision models for agents
payperwork.app/decide/v1/systemone
Decision models for agents: a state plus typed questions (noul yes/no, choice, score) answered as probabilities in one pass, no generated text.
POST
https://payperwork.app/decide/v1/systemoneUptime100% of 5 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://payperwork.app/decide/v1/systemone", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"model":"cloudflare/clef-flash","questions":{"severity":{"criteria":["No impact","Minor","Major","Critical"],"instructions":"How severe is the problem?","type":"score"},"team":{"criteria":{"billing":"charges and refunds","shipping":"delivery and damage","technical":"product faults"},"instructions":"Which team should handle this?","type":"choice"},"urgent":{"instructions":"Does the customer need a),
});
console.log(await res.json());Example input
{"model":"cloudflare/clef-flash","questions":{"severity":{"criteria":["No impact","Minor","Major","Critical"],"instructions":"How severe is the problem?","type":"score"},"team":{"criteria":{"billing":"charges and refunds","shipping":"delivery and damage","technical":"product faults"},"instructions":"Which team should handle this?","type":"choice"},"urgent":{"instructions":"Does the customer need aMore from payperworkProvider status
- agentdrop.fyi/ai/v1/chat/completionsOpenAI-compatible chat completions on frontier models: GPT-6.1 Sol and Terra, GPT-5.5, Claude Sonnet 5.5 and Haiku 5.5, Gemini 3.8 Flash, Grok 4.7, GPT-6 Luna.0.002
- payperwork.app/box/%3Abox/%3Akey/waitBlock until {key} in box {box} has a seq greater than since (query since=, default 0), up to timeout= seconds (max 25). Returns the item, or {"value":null,"timed_out":true}.0.001
- payperwork.app/image/v1/generationsImage generation for agents: a prompt in, one image out (base64), on GPT Image or Gemini image models.0.05
