Show HN: AgentTM – A time-travel debugger for AI coding agents built in Go A developer released AgentTM 0.1.0, a local Go CLI that records noninteractive Codex runs in SQLite with baseline and final workspace checkpoints and historical file inspection, implementing Milestones 0–5 of the project's MVP specification. The tool ships an embedded React/TypeScript UI at http://127.0.0.1:7331 that shows stored sessions, timelines, parent diffs and isolated worktree forks under .agenttm/worktrees/, leaving the original working tree, index and HEAD unchanged. The author reports real Windows end-to-end coding, tests, intermediate capture, CLI/UI restoration, failure and Ctrl+C cancellation passed, automated tests and five browser tests pass, and all six OS/architecture release targets build, while remote CI and native Linux/macOS execution are configured but not claimed as observed; recording requires Git 2.42+ and an authenticated Codex CLI. A local Go CLI that records real, AgentTM-managed noninteractive Codex runs in SQLite, with baseline/final workspace checkpoints and historical file inspection. The embedded React/TypeScript UI displays real stored sessions, timelines, historical files, parent diffs and isolated worktree forks. This implements Milestones 0–5 in the MVP specification https://github.com/Jyotishmoy12/AgentTM/blob/main/AGENT TIME MACHINE MVP.md . Validation status: real Windows end-to-end coding, tests, intermediate capture, CLI/UI restoration, failure and Ctrl+C cancellation passed. Automated tests, selected race checks and five browser tests pass. All six OS/architecture release targets build; Windows installation was tested. Remote CI and native Linux/macOS execution are configured but not claimed as observed here. See release evidence https://github.com/Jyotishmoy12/AgentTM/blob/main/docs/release-checklist.md , Codex compatibility https://github.com/Jyotishmoy12/AgentTM/blob/main/docs/codex-compatibility.md , snapshots https://github.com/Jyotishmoy12/AgentTM/blob/main/docs/snapshots.md , UI/API https://github.com/Jyotishmoy12/AgentTM/blob/main/docs/ui.md , and fork safety/recovery https://github.com/Jyotishmoy12/AgentTM/blob/main/docs/fork-and-recovery.md . Local archives are generated under dist/0.1.0/ . Select the archive for your OS and architecture, verify it against the matching SHA256SUMS , and extract the single executable. Git 2.42+ and an authenticated Codex CLI are required for recording. Go and Node are not needed to run the release executable. The local installers verify archive checksums before installing; they do not download anything. Windows example: .\scripts\install.ps1 -Archive .\dist\0.1.0\agenttm 0.1.0 windows amd64.zip -AddToPath PATH changes require -AddToPath ; upgrades require -Force . If script execution is disabled, extract the ZIP and invoke agenttm.exe directly. On Unix use sh scripts/install.sh archive.tar.gz install-directory . From your initialized Git repository: php $agenttm = 'C:\dev\AgentTM\bin\agenttm.exe' & $agenttm ui AgentTM opens http://127.0.0.1:7331 in your browser. Keep the terminal running; Ctrl+C stops the server. If the port is occupied, use & $agenttm ui --port 7332 . Use --no-browser to print the URL without opening it. No Node installation is needed to run the prebuilt executable; all production assets are embedded. Select a session, then a timeline event or checkpoint. Files shows the historical tree and read-only Monaco viewer. Compare with parent shows changed paths and unified patches. Activity shows sanitized event input/output and the observed checkpoint. An event without a checkpoint displays the last known workspace with an explicit label; events preceding the baseline show no state. Fork checkpoint shows the exact destination, branch and partial-snapshot warnings before confirmation. Restored files live under .agenttm/worktrees/ ; the original working tree, index and HEAD stay unchanged. No restored code runs. Requires Go 1.25+, Git and an installed/authenticated Codex CLI. SQLite is bundled through a pure Go driver; no SQLite install or C compiler is required. cd C:\dev\AgentTM go test ./... go vet ./... go build -o .\bin\agenttm.exe .\cmd\agenttm .\bin\agenttm.exe version .\bin\agenttm.exe codex doctor On macOS/Linux: go build -o bin/agenttm ./cmd/agenttm . The checked-in assets under internal/server/ui allow Go-only builds. After changing frontend source, rebuild the embedded assets first Node 24+ : Set-Location C:\dev\AgentTM\web npm.cmd ci npm.cmd test npm.cmd run build Set-Location .. go build -o .\bin\agenttm.exe .\cmd\agenttm The source folder need not be a Git repository to build the executable. The repository you record must be a Git working tree. No commit is required. php $agenttm = 'C:\dev\AgentTM\bin\agenttm.exe' $demo = Join-Path $env:TEMP 'agenttm-demo-' + guid ::NewGuid New-Item -ItemType Directory $demo | Out-Null Set-Location $demo git init & $agenttm init & $agenttm doctor Set-Content -LiteralPath snapshot-demo.txt -Value 'Original content' & $agenttm run codex --model gpt-6.1-sol -- "Reply with a short greeting. Do not change files." & $agenttm sessions Copy the session UUID shown above: & $agenttm events '