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.5ms with 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.trace and @rewind_ai.tool to 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!