Menu

Post image 1
Post image 2
1 / 2
0

Coding agents produce causal DAGs, not logs

DEV Community·MilkoorY·19 days ago
#zJaAV0Kg
Reading 0:00
15s threshold

Coding agents produce causal DAGs, not logs I've been building tracing hooks for coding agents — Claude Code, Codex CLI, Copilot, and others. The goal was simple: record what these agents do, so I could debug them when things went wrong. What I found surprised me. The standard observability abstraction — a flat, chronological log of events — is the wrong primitive for coding agents. These agents don't produce meaningful timelines. They produce causal DAGs. This post explains why, shows the difference with real traces, and argues that runtime observability for AI coding agents needs a fundamentally different data model. 1. A debugging story A Claude Code session ran 87 tool calls over 12 minutes. The agent was asked to fix a bug. It read files, grepped for patterns, edited code, ran tests, failed, read more files, edited again, and eventually succeeded. At the end, I wanted to understand one thing: why did it delete a particular line?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More