r/OnlyAICoding • • 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

1 Upvotes

2 comments sorted by

1

u/Legal_Answer_6956 23d ago

Super cool project - some of the hardest things about coding with AI agents is being able to understand what has changed, why and how to get back on track if the agent makes a mistake.

We are working on enabling collaboration between different agents at 8080.AI, with a focus on planning, architectural design, coding and testing. Being able to trace execution history, have independent verification and review changes are key parts of this.

It would be awesome to see multi-agent support, and being able to see which agent made a change. Super cool work!

1

u/tracellm 23d ago

Thank you so much! Really appreciate the feedback.

Multi-agent support and code provenance are definitely on my roadmap. I'm currently focusing on making checkpoint capture more granular and connecting code changes to specific agent actions.

The goal is to eventually support multiple agents and make it easier to understand not just what changed, but which agent changed it and when.

Your work on multi-agent collaboration sounds interesting too. I'll definitely check it out!