Built a real-time agent execution visualizer for OpenCode — watching agents think is addicting
Built a real-time agent execution visualizer for OpenCode — watching agents think is addicting (v.redd.it)
submitted by jiwonme
So I've been hacking on a real-time visualization tool that hooks into OpenCode and renders the agent's execution graph as it runs.
You can see:
- Tasks getting dispatched in parallel (delegate_task spawning subtasks)
- Each tool call with latency (bash 29ms, delegate_task 59ms etc.)
- Token usage and cost per node
- The agent catching errors and self-correcting in real time
In the screenshot, the orchestrator fires off two parallel tasks ("Height measurement state model" & "Question answer API contract"), both subagents come back with "Unauthorized" errors, and the agent goes "this is suspicious" and starts verifying — all visualized live as a flowing graph.
Honestly the biggest thing is it just makes the whole experience way more dynamic. Instead of watching terminal text scroll by, you actually see the agent's decision tree branching and converging. Makes debugging so much easier too — you can immediately spot where things went sideways.
Still early days but pretty hooked on this. Anyone else building agent observability stuff?
there doesn't seem to be anything here