AgentTrace Observability
Tracks and interprets multi-agent execution timelines to debug complex subagent orchestrations and swarm failures.
AgentTrace provides deep observability into Claude Code subagent workflows by recording a chronological timeline of every agent spawn and tool execution. It enables developers to reconstruct the execution-order edges, visualize the parent-child relationship between agents, and pinpoint exactly where a multi-agent run stalled or deviated from the plan. By analyzing JSONL trace files generated via automated hooks, it offers a clear path to troubleshooting complex 'swarm' failures and optimizing agent decomposition strategies without requiring manual setup.
Características Principales
011 GitHub stars
02Reconstructs the hierarchical agent spawn tree through parent-child edges
03Maps per-agent tool sequences to identify stalls, loops, or logic errors
04Chronological event logging with ISO-8601 timestamps for precise ordering
05Provides token usage estimates per subagent to identify resource-heavy tasks
06Non-fatal lifecycle hooks ensure observability without interrupting the main process
Casos de Uso
01Debugging 'swarm' runs where subagents failed to complete specific task components
02Identifying hung or errored tool calls within a deeply nested multi-agent execution
03Visualizing why an orchestrator failed to spawn necessary sub-tasks or took the wrong branch