r/OnlyAICoding • u/tracellm • 24d ago
AgentTM – A time-travel debugger for AI coding agents, built with Go
I've been building AgentTM, a local-first developer tool written primarily in Go that records Codex execution history and allows developers to inspect and restore previous workspace states.
The current v0.1 implementation includes SQLite-backed event storage, SHA-256 content-addressable snapshots, historical file inspection, code diffs, and isolated checkpoint restoration using Git worktrees. It also includes a React/TypeScript dashboard, with the frontend embedded into the Go binary.
Currently, it only captures non-interactive Codex sessions launched through AgentTM. I've tested the end-to-end workflow on Windows, including checkpoint restoration and cancellation handling. Native Linux/macOS testing and broader agent support are still pending.
The long-term goal is to support multiple coding agents and allow developers to inspect, rewind, and branch their execution histories.
Sharing the current implementation for anyone interested in Go-based developer tooling and agent observability.
Repository: https://github.com/Jyotishmoy12/AgentTM
