While building multi-step AI agents, I kept hitting the same frustrating wall: when an agent fails at Step 8, re-running from Step 1 wastes time and burns API credits. And cloud observability tools add 50–100ms of latency while sending sensitive prompts to third-party servers.
So I built rewind-ai — an open-source, 100% local runtime written in Rust with zero-config Python bindings (PyO3):
- Deterministic Time-Travel Replay: Captures LLM prompts and tool outputs in an embedded SQLite WAL. Rewind and fork any failed step in
<0.5mswith zero network calls. - Sub-Millisecond Guardrails: Blocks path traversal, destructive shell commands, and runaway token budgets before execution.
- Zero-Config Python SDK: Just add
@rewind_ai.traceand@rewind_ai.toolto existing Python agents.
Check out the full code, benchmarks, and CLI debugger on GitHub:
👉 https://github.com
Would love your feedback or any edge cases you run into!
