Agent Session Forensics
Diagnoses and repairs interrupted agent session histories and tool-call loops to ensure seamless execution.
Agent Session Forensics provides a specialized set of diagnostic tools and workflows to troubleshoot AI agent failures, such as interrupted tool calls, missing results, or performance bottlenecks. By analyzing session history files and correlating tool call IDs using JSON processing, it helps developers identify exactly where a session stalled or corrupted, offering safe, backup-first repair strategies to restore agent productivity without losing context.
Key Features
01Safe history repair workflows with mandatory backup and validation steps
02Detailed latency and timing analysis for identifying LLM bottlenecks
03Identification of common failure patterns like duplicate turns or orphaned results
047 GitHub stars
05Automated tool-call and result correlation to pinpoint session gaps
06Support for multi-session and subagent trace correlation in complex workflows
Use Cases
01Debugging a Claude Code session that hangs or stops responding mid-task
02Auditing tool execution history to find performance bottlenecks in agentic workflows
03Recovering corrupted session history files after an unexpected crash or interruption