Rollikey: open-source proxy adds pre-flight snapshots and LIFO rollback for production AI agents

Rollikey · reddit · 2026-11-30

A developer open-sourced Rollikey, a proxy and TypeScript SDK that sits between an agent/MCP client and external services to handle dirty state left by crashed agent runs. It offers pre-flight before-state snapshots with blast-radius gates (blocking >10-row DB mutations, >$1,000 Stripe calls, public S3 ACLs), a 60-second Redis staging airlock holding irreversible Slack/email sends with a kill switch, and deterministic LIFO rollback plus Shadow-State Replay across Postgres, Stripe, S3, GitHub, and Slack/Email. The author notes durable workflow engines only compensate on thrown errors, so hallucinated mutations returning 200 OK go unrolled back. Repo, npm quickstart, and a 47-second crash demo are linked.

Original post →

More from coding & agent

coding & agent channel →