Idea · Sep 12, 2026
Agent Run Logbook
A browser tool that captures, visualizes, and replays AI agent execution sessions - every tool call, token cost, and decision branch - so developers can debug what their agents actually did.
What it would do
As AI agent frameworks (LangGraph, CrewAI, HydraFusion) become mainstream in 2026, debugging 'what did my agent do and why' is a daily frustration. Agent Run Logbook wraps any agent session and records a structured log: tool calls with full inputs and outputs, model invocations with token counts and latency, decision branching, and final outcomes. A React+Vite frontend renders these logs as an interactive timeline with per-step cost breakdowns and replay capability - step forward and backward through the execution. Everything stores locally in IndexedDB so no server is required. A simple Python proxy snippet instruments any LangChain/LangGraph session in three lines of code.
Key features
- Three-line Python proxy that records any LangGraph or LiteLLM session to a local JSON log
- Interactive timeline view with per-step token costs and latency bars
- Step-forward/backward replay mode to inspect state at any point in the run
- Full-text search across all recorded runs with filter by tool name, model, or cost range