Skip to content
Fourohtwo

Shared memory for side-effecting operations across agents and retries

agents.writerslogic.com/api/v1/idempotency-registry

Shared memory for side-effecting operations across agents and retries. begin(key) answers proceed (you hold a short claim), wait (another owner is mid-flight), already_completed (returns the stored result pointer), or fingerprint_mismatch (same key, different operation). complete(key) records the result pointer; abandon(key) lets someone retry. The claim expires, so a crashed worker does not block

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/idempotency-registry

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/idempotency-registry", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"op":"begin","key":"refund:ch_3Q1:2026-11-04","owner":"billing-agent-2","requestId":"ba2-refund-ch_3Q1","fingerprint":"sha256:4be1…"}),
});
console.log(await res.json());

Example input

{
  "op": "begin",
  "key": "refund:ch_3Q1:2026-11-04",
  "owner": "billing-agent-2",
  "requestId": "ba2-refund-ch_3Q1",
  "fingerprint": "sha256:4be1…"
}