Bundle
.json bundle onto the page. It is checked as you type.What the records prove
Loading…
An open record format for AI agent actions: the decision, the person who approved this exact action, the state before and after, and a confirmation read back from the system of record. Signed, chained, optionally sealed and timestamped, with no personal data in clear. This page verifies records entirely in your browser; nothing is uploaded.
.json bundle onto the page. It is checked as you type.Loading…
A held action records who approved it, bound to a commitment of that one action: this refund, this amount. An approval cannot be reused for another.
The execution record commits to the affected state before and after, and a separate confirmation reads the system of record back. An agent that reports success without effect shows up.
Amounts, parameters, IDs and state are salted commitments. Disclose a field only to the people who need it; the record proves the rest.
Already sign tool calls with another receipt format? Point an OAR record at it with external_ref and add the approval and outcome evidence it lacks.
import { createRecorder, generateSigningKey } from '@openactionrecord/core';
const oar = createRecorder({ issuer: generateSigningKey('my-agent'), org: 'acme', agent: 'support-bot' });
const out = await oar.run({
type: 'refund', target: 'stripe', params: { order: '1142', amountCents: 190000 },
check: (p) => (p.amountCents > 125000 ? { result: 'held' } : { result: 'allowed' }),
approve: async () => ({ approver: 'jordan', approved: await askOnSlack() }),
readState: () => stripe.orderState('1142'), // read before and after
execute: () => stripe.refunds.create({ ... }),
targetRef: (refund) => refund.id,
confirm: (refund) => stripe.refunds.retrieve(refund.id).then((r) => r.status === 'succeeded'),
});
await writeFile('evidence.json', JSON.stringify(await oar.bundle())); // verify it here, or: npx @openactionrecord/cli verify evidence.json