agents.writerslogic.com/api/v1/prove-contract-logic
Formalizes natural-language clauses (or accepts a formal IR directly with zero LLM calls) into typed Boolean, integer and rational constraints, then answers "is P possible", "does invariant I always hold" or "are any clauses contradictory" with a pure-TypeScript CDCL(T) solver (exact rational simplex, branch-and-bound, minimal unsatisfiable cores). SAT returns an exact counterexample checked again
POST
https://agents.writerslogic.com/api/v1/prove-contract-logicUptimeNot 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/prove-contract-logic", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"query":"Can a payout above $10,000 be approved by a manager?","clauses":[{"id":"C1","text":"Any payout request may be approved by a manager."},{"id":"C2","text":"Payouts above $10,000 require approval by a director."},{"id":"C3","text":"A manager is never a director."}]}),
});
console.log(await res.json());Example input
{
"query": "Can a payout above $10,000 be approved by a manager?",
"clauses": [
{
"id": "C1",
"text": "Any payout request may be approved by a manager."
},
{
"id": "C2",
"text": "Payouts above $10,000 require approval by a director."
},
{
"id": "C3",
"text": "A manager is never a director."
}
]
}