The Ctrl+Z button for autonomous AI agents
Agents do things. Sometimes the wrong ones. UndoGuard lets your AI execute any action and undo it with a single API call — fully reversible, encrypted and auditable.
- Latency
- <15ms
- Encryption
- AES-256
- Rollback
- 1 API call
$ click "Simulate AI Failure" and watch an agent wreck a customer record — then UndoGuard rolls it back instantly.
Three steps to a forgiving agent
No migration of your data model. You add UndoGuard as a thin layer between your agent and your existing APIs.
1. Route the action through UndoGuard
Your agent calls POST /api/v1/execute instead of hitting your API directly. UndoGuard first reads the current state (pre-state) and only then performs the real request.
2. We store an encrypted snapshot
Pre- and post-state are stored encrypted with AES-256-GCM. We automatically derive the right rollback strategy (DELETE→POST, POST→DELETE, PUT/PATCH→PUT).
3. Hit Ctrl+Z when it goes wrong
A single call to /rollback or /rollback-session restores one action or an entire agent run — newest to oldest, with no data loss.
Two calls: execute and roll back
Works with Claude, Cursor, LangChain or your own stack. Copy, paste, and your agent is reversible in five minutes.
# 1. Execute an agent action — UndoGuard snapshots the pre-state firstcurl -X POST https://undoguard.vercel.app/api/v1/execute \ -H "x-undo-api-key: ug_live_YOUR_KEY" \ -H "content-type: application/json" \ -d '{ "targetUrl": "https://crm.example.com/api/customers/42", "method": "PUT", "body": { "plan": "Enterprise" }, "agentId": "claude-3.7-sonnet", "sessionId": "run_2026_11_19" }' # 2. The agent messed up. Roll back the WHOLE session from newest to oldest:curl -X POST https://undoguard.vercel.app/api/v1/rollback-session/run_2026_11_19 \ -H "x-undo-api-key: ug_live_YOUR_KEY"Response
{ "success": true, "transactionId": "8f0c2b1e-...-a4d9", "data": { "id": 42, "plan": "Enterprise" }, "rollback": { "method": "PUT", "url": "https://crm.example.com/api/customers/42", "description": "PUT https://crm.example.com/api/customers/42 (restore previous state)" }}Pay for what you roll back
Every action you route through UndoGuard counts. Rollbacks are always free.
Free
For prototypes and side projects.
- 1,000 undoable actions / mo
- 7-day transaction history
- REST API + dashboard
- Community support
Pro
For teams running agents in production.
- 50,000 undoable actions / mo
- Unlimited history
- MCP server + TypeScript SDK
- Session-level rollback
- Email support & 99.9% uptime
Enterprise
For critical, regulated workloads.
- Unlimited volume
- SSO / SAML & audit logs
- Self-host or VPC deployment
- Custom SLA & dedicated support
Put the undo button behind your agents
Create a project, get your ug_live_… key and test right away in the dashboard with the "Simulate AI Action" button.
- No credit card required
- Preview works instantly — no configuration
- Supabase-ready for production