Key Takeaways
- Coding agents don't just generate text. They read repositories, run shell commands, conduct multi-step reasoning [5], and modify production systems. Traditional LLM observability was built for inputs and outputs. It was never built for coding agents.
- Most observability tools cover execution tracing and stop there. Production coding agent deployments need two more layers: in-environment evaluation and runtime policy enforcement that acts before unsafe actions execute.
- External LLM-as-Judge evaluation becomes a real budget line at scale. Most teams find that out after they've already committed. In-environment evaluation eliminates that cost entirely.
- Tracing and evaluation tell you what happened and whether it was correct, but neither layer stops anything. Without policy enforcement, you end up with a detailed record of problems that already executed.
What Makes Coding Agents Different to Observe
Tracing and evaluation tell you what happened and whether it was correct, but neither layer stops anything. Most teams discover this after a production incident. The criteria most teams use to evaluate AI observability platforms were written for LLM applications. They cover framework support, trace volume, and dashboard quality. For coding agents, that checklist leaves the most important questions unasked.
Coding agents don't just return text. They read repositories, run shell commands, modify files, and install dependencies, creating security risks that simple code suggestion tools don't introduce. The observability problem is not about logging what the agent said. It's about tracking what it did to your codebase, and whether any of it should have been stopped.
Three failure modes make this concrete:
- Cascading file mutations: A single flawed reasoning step can trigger edits across dozens of files. By the time the agent finishes, the blast radius is impossible to reconstruct from prompt logs alone.
- Tool-call authority creep: Coding agents invoke shell commands, package managers, and deployment scripts. A tool call that exceeds its intended scope can push unreviewed changes to a staging environment or install unauthorized dependencies.
- Cost spirals from recursive retries: When a coding agent encounters a failing test, it retries. Against a large codebase, those retries compound. Developers running Cursor's multi-file Agent mode in late 2025 and early 2026 documented extreme cost spirals in community incident reports [6]. A single session trapped in a failing test retry loop triggered roughly 800 automated backend requests in minutes, draining Pro credit allocations entirely.
The three-layer framework below maps to each of these directly. It's also the right structure for evaluating whether any platform is actually production-ready for coding agents.
Three Layers Every AI Observability Tool Should Cover
Most articles comparing AI observability tools focus on features. The better question is structural: does the tool cover the three layers your coding agent stack actually requires?
Layer 1: Execution Tracing
Execution tracing is the foundation. Every tool call, retrieval step, reasoning chain, and intermediate output should be captured with timing, token counts, and cost per span.
For coding agents specifically, tracing must go deeper. You need file-level attribution: which files were read, modified, or created during a session. You need command execution logs that show exactly what shell commands ran and what they returned. Ideally, you want git-diff-level change tracking that ties every code modification back to the reasoning step that produced it.
A minimal OpenTelemetry setup for a coding agent span looks like this:
from opentelemetry import trace
tracer = trace.get_tracer("coding-agent")
with tracer.start_as_current_span("file_edit") as span:
span.set_attribute("agent.file.path", "src/auth.py")
span.set_attribute("agent.action", "modify")
span.set_attribute("agent.tokens.used", 1240)
# agent performs file editOpenTelemetry compatibility matters at this layer. It prevents vendor lock-in on your trace data and lets you route spans to the backend of your choice. The OpenTelemetry specification [1] provides standardized semantics for trace collection. Most open-source tracing frameworks handle Layer 1 adequately. The challenge is what comes next.
Layer 2: In-Environment Evaluation
Tracing shows what happened. Evaluation measures whether it was correct. For coding agents, those are very different questions.
Did the generated code pass tests? Did the agent respect file boundaries and avoid introducing known vulnerability patterns? Per-span evaluation needs to run at every level, not just the final output. A coding agent that produces working code but bypasses your linting rules or ignores repository conventions has still failed.
The critical architectural question is where evaluation runs. Many AI observability platforms rely on external LLM-as-a-Judge calls for every span. That works at prototype scale. In production, those per-call API costs scale with trace volume. This is the Evaluation Trust Tax: the per-call cost that accumulates on your LLM provider bill when evaluation calls an external model for each span.
Fiddler Centor Models (formerly known as Fiddler Trust Models) take a different approach: batteries-included, in-environment evaluation with no external API calls and no per-evaluation costs. Teams can model their own deployment economics using the Evaluation TCO Calculator.
Layer 3: Enforceable Policy and Governance
Observability captures what happened. Evaluation tells you whether it was correct. But neither layer stops anything, and neither creates the audit record your compliance and security teams will eventually need. Without policy enforcement, you are left reviewing a record of actions that already executed, some of which should have been blocked before they ran.
Policy enforcement is what turns passive visibility into active control. For coding agents, this means guardrails that intercept unauthorized repository access before it happens, block deployment commands that violate change management policies, and enforce code review requirements before an agent commits changes. The agent's proposed action is evaluated against organizational policy at runtime and either permitted or stopped. That is what closes the loop.
Governance serves a different function. It is the structured record of what the agent did, why each action was taken, and what controls were in place at the time. It does not block anything. It creates the evidentiary trail that compliance and security teams review after the fact. SOC 2 [4] and EU AI Act [3] requirements are not satisfied by logs alone. They require decision lineage: traceable reasoning tied to specific policies, auditable by humans when questions arise.
Enforceable Policy and Auditable Governance are two of the five core capability areas of the Fiddler AI Control Plane. One acts in real time. The other creates the record that makes that real-time action accountable. For coding agents, governance needs to start at the creation layer, where agents write and commit code, not just at the production layer where they execute.
What to Evaluate When Comparing AI Observability Platforms
Feature matrices are useful for a first pass. They are not sufficient for a real decision. Here are the questions worth asking before committing to any AI observability platform.
- Framework compatibility: Does the tool auto-instrument your agent framework (LangGraph, CrewAI, and similar frameworks), or does it require manual instrumentation? A vendor claiming support for a framework can mean anything from full auto-instrumentation to a bare-bones wrapper that captures only top-level spans.
- Open-source vs. commercial parity: Some platforms publish an open-source version that is missing production capabilities like role-based access, retention policies, or enterprise authentication. Ask whether the open-source and enterprise versions share a codebase or are effectively different products.
- Trace data ownership: Where does your trace data live? Can you export it in a standard format? OpenTelemetry-native tools give you portability. Proprietary trace formats create lock-in that becomes expensive to unwind.
- Evaluation approach: Dataset-and-score evaluation (benchmark-style) gives you aggregate quality signals. Assertion-based testing (pass/fail rules tied to specific behaviors) catches the specific failure modes that matter for coding agents. The best tools support both.
- Trace storage architecture: Each coding agent run can generate dozens of spans. Some platforms use purpose-built databases optimized for AI trace data. Others bolt LLM observability onto general-purpose backends. At 100,000+ spans per day, the performance difference between purpose-built and general-purpose backends becomes measurable; ask vendors for ingestion and query benchmarks before committing.
Common Misconfigurations to Avoid
- Sampling traces in development: Some teams enable trace sampling early to reduce storage costs. For coding agents, sampled traces miss the exact sessions where failures compound. Capture 100% of traces during development and early production; sample only after you have established baseline failure patterns.
- Evaluating final output only: A coding agent can produce correct code through an unsafe path. If your evaluation runs only on the final commit, you miss tool-call authority violations, unnecessary file mutations, and cost-inefficient retry loops that happened upstream.
- Applying static guardrail policies: Coding agents operate across repositories with different permission models. A single guardrail policy applied uniformly will either block legitimate actions in permissive repos or allow risky ones in restricted repos. Scope policies to repository and environment context.
Where Coding Agent Observability Is Headed
Several trends will reshape AI observability tooling over the next 12 to 18 months.
- MCP instrumentation: The Model Context Protocol [2] is becoming the standard interface for how coding agents connect to external tools and data sources. Observability tools that natively instrument MCP connections will capture richer context than those relying on generic span collection.
- Observability-governance convergence: Tracing and guardrails are merging into unified control planes rather than remaining separate tool categories. Teams that buy separate tracing and governance products today will face integration costs as these categories consolidate.
- Evaluation cost as a selection criterion: As teams scale past 50,000 evaluated traces per week, per-evaluation API costs will become a line item that procurement scrutinizes. In-environment evaluation will shift from a differentiator to a baseline expectation. Teams should model their evaluation economics now, before costs compound.
Putting the Three-Layer Framework to Work
Evaluating AI observability tools for coding agents comes down to three questions: does it capture file-level activity and command execution, does it evaluate output quality without depending on external API calls, and does it enforce policy before unsafe actions run.
Most tools answer yes to the first question. The second and third are where the real gaps are. For teams with regulatory requirements, ask specifically how each vendor handles auditable governance before the conversation gets to pricing. Evaluate vendors against all three layers, and model your evaluation costs at scale before they become a budget line you didn't anticipate.
See how Fiddler observes coding agents in the AI Control Plane.
References
[1] Cloud Native Computing Foundation, "OpenTelemetry Specification," OpenTelemetry Project. [Online]. Available: https://opentelemetry.io/docs/specs/otel/
[2] Anthropic, "Model Context Protocol Specification," Model Context Protocol. [Online]. Available: https://modelcontextprotocol.io/
[3] European Commission, "EU Artificial Intelligence Act," EUR-Lex. [Online]. Available: https://artificialintelligenceact.eu/
[4] AICPA, "SOC 2 Type II — Trust Services Criteria," AICPA & CIMA. [Online]. Available: https://www.aicpa-cima.com/topic/audit-assurance/audit-and-assurance-greater-than-soc-2
[5] Y. Yang et al., "SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering," arXiv, 2024. [Online]. Available: https://arxiv.org/abs/2503.14989
[6] u/Background_Gas3056, "Agent got stuck in a loop and spent over $2000 in tokens," Reddit r/cursor, 2025. [Online]. Available: https://www.reddit.com/r/cursor/comments/1szupca/agent_got_stuck_in_a_loop_and_spent_over_2000_in/
