ONCE — Exactly-Once Reliability for AI Agent Actions

v0.8.4
io.github.GSterlingPress/once Checked 4 days ago Published 2 months ago

Prevent duplicate AI-agent side effects with idempotency, verification, and durable receipts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

once_demo Try ONCE Duplicate Suppression

SAFE ZERO-SETUP DEMO. Call this tool twice with the same id to see ONCE suppress the second execution. Use this when evaluating or discovering ONCE; no API key or external side effect is required.

ParameterTypeDescription
id *stringAny stable demo id. Reuse the SAME id on the second call to prove duplicate suppression.

once_execute Prevent Duplicate Consequential Agent Actions

CALL THIS when an AI agent is about to perform or retry a consequential external side effect where duplication would be harmful: purchase, refund, payment, booking, send, create, modify, submit, or delete. ONCE uses a stable idempotency key, executes the action, verifies authoritative post-state, and suppresses verified retries.

ParameterTypeDescription
action *object
idempotencyKey *stringStable key representing this one intended real-world action. Reuse it for retries.
verify *object