The Curator

Field Notes on Agent Observability: The Trace Is Becoming the Product Map

Last updated: 10/14/2026

Back to blog
Felix Beaumont avatarFelix Beaumont 8 min read
Cover image for Field Notes on Agent Observability: The Trace Is Becoming the Product Map
AI-assisted, human-reviewed. Drafted with AI research tools from public sources and edited by our team. How we build these →

Traditional observability asks whether a service responded, how long it took, and where an exception occurred. An AI agent introduces a different problem. It may return a technically valid response after selecting the wrong objective, retrieving stale evidence, calling an inappropriate tool, or repeating a plausible but ineffective plan.

The important unit is no longer a request alone. It is a trajectory: the sequence of observations, decisions, tool calls, state changes, and outcomes that carried the system from an instruction to a result. Recent agent platforms are beginning to treat this trajectory as a first-class artifact. That shift changes what teams instrument, how they debug, and where product insight is found.

What changed: traces acquired meaning

Early language-model monitoring often resembled API accounting. Teams recorded prompts, outputs, latency, token usage, and model errors. This was useful when the application made one model call per interaction. It becomes insufficient when a system decomposes a task, searches several sources, invokes tools, revises its plan, and waits for external state.

Agent traces now increasingly preserve the relationships between those events. A tool call belongs to a particular plan step. A plan revision follows a failed observation. A final claim depends on retrieved evidence. A human approval changes what actions become available. The trace becomes a structured execution graph rather than a chronological wall of text.

This matters because identical outputs can conceal very different operating conditions. One agent may answer from authoritative evidence after a direct search. Another may arrive at the same answer after multiple failed calls and an unsupported inference. Output-only review treats them as equivalent; trajectory review reveals that one is robust and the other merely fortunate.

The emerging anatomy of an agent trace

A useful trace separates what the agent received, inferred, attempted, observed, and changed. Without those boundaries, debugging collapses into prompt archaeology.

Trace layerWhat to captureWhat it can reveal
IntentUser request, constraints, success criteria, risk classWhether the system solved the task it was actually given
ContextRetrieved records, memory entries, source versions, permission scopeMissing, stale, conflicting, or unauthorized information
DecisionChosen action, alternatives if available, confidence or policy resultWeak routing, premature commitment, repeated strategies
Tool executionArguments, response, error class, duration, side effectsMalformed calls, integration faults, environmental changes
StatePlan, task status, artifacts created, checkpointsLost progress, loops, inconsistent handoffs
OutcomeFinal answer, external result, user correction, downstream statusWhether apparent completion produced real success

The crucial addition is provenance. A trace should make it possible to ask which evidence supported a decision, which model or policy produced it, and which tool response altered the plan. Merely storing every message does not establish those links.

What it means in practice: instrument decisions, not private monologues

The temptation is to capture every internal token and call the result transparency. That creates cost, privacy exposure, and an enormous review burden without necessarily explaining behavior. A better design records operationally meaningful decision boundaries.

Consider an agent asked to reschedule a customer appointment. A practical trace could record:

  1. The interpreted objective: move the appointment while preserving the assigned specialist.
  2. The constraints discovered: customer availability, specialist calendar, cancellation policy, and notification requirement.
  3. The candidate actions: two valid time slots and one rejected slot.
  4. The selected action and policy checks.
  5. The calendar update, customer notification, and confirmation identifier.

If the customer later reports that the wrong specialist was booked, the team can inspect whether the constraint was never extracted, lost during planning, omitted from the tool arguments, or ignored by the scheduling service. Each failure belongs to a different owner and demands a different remedy.

This is more useful than storing a long reasoning transcript. The objective is not to expose an imagined inner life. It is to preserve the evidence and transitions required to reconstruct execution.

Failure analysis is moving from errors to patterns

A single trace explains one incident. Collections of normalized traces reveal recurring shapes. Those shapes are becoming the foundation of agent reliability work.

  • Looping: the agent repeats semantically equivalent searches or tool calls without acquiring new information.
  • Premature completion: it marks a task complete before checking the external side effect.
  • Context drift: later actions optimize for an intermediate subtask while neglecting the original objective.
  • Tool thrashing: it alternates between tools because errors are not classified into retryable and terminal conditions.
  • Authority leakage: a planning step proposes an action that exceeds the permissions granted to the execution layer.
  • Recovery debt: the agent notices failure but lacks a checkpoint from which to resume safely.

Detecting these patterns requires more than text search. Events need stable names, tool arguments need typed fields, and plans need explicit step identifiers. Otherwise, two equivalent failures may appear unrelated because their language differs.

A worked example: the invoice-resolution agent

Imagine an agent that investigates a supplier’s disputed invoice. It retrieves the purchase order, compares delivered quantities, checks approval history, and drafts a resolution.

The final draft states that the invoice should be paid. A reviewer rejects it because several items were never received. The output is wrong, but the trace locates the deeper fault.

The retrieval layer found both the purchase order and a delivery record. The delivery record contained partial quantities, yet the planning step summarized it as confirmation of delivery. The accounting tool then correctly matched the invoice against that inaccurate summary. The error did not originate in retrieval or arithmetic. It occurred during evidence transformation.

A well-designed trace would preserve the source record, the extracted fields, the normalized representation, and the decision that consumed it. The remedy might be deterministic quantity reconciliation rather than a broader prompt rewrite. It could also require an invariant: payment recommendations cannot proceed when ordered, received, and invoiced quantities differ.

This illustrates the central value of agent observability. It directs intervention toward the failing mechanism. Without a trajectory, teams often modify the model prompt because that is the only visible surface.

The trade-offs: visibility has a cost

Comprehensive traces can contain customer data, retrieved documents, credentials embedded in tool responses, and commercially sensitive decisions. Observability therefore expands the security boundary. Redaction cannot be an afterthought, especially when traces move to a separate analytics system.

Retention also requires judgment. Long-lived traces help identify rare failures and compare behavior across model upgrades. They also preserve information that may no longer be necessary. Teams need field-level retention rules rather than a single expiration policy for the entire trace.

There is a performance trade-off as well. Synchronous trace export can slow execution or become a new point of failure. Buffered export reduces that risk but may lose the final events of a crashed process. Sampling controls volume, yet naive sampling can discard precisely the rare, expensive trajectories that deserve examination. Outcome-aware sampling—retaining failed, escalated, unusually long, or policy-sensitive runs—is usually more informative than uniform selection.

From debugging layer to product map

The most consequential change is that traces expose more than faults. They reveal the real structure of user work.

If agents repeatedly pause to request the same missing identifier, the onboarding flow may be incomplete. If users consistently override one category of recommendation, the product may be applying the wrong objective. If an agent spends most of its trajectory reconciling formats between two systems, the opportunity may be a deterministic integration rather than a more capable model.

In this sense, the trace becomes a product map: a record of where intent meets institutional friction. Conventional analytics show which screen a user visited. Agent trajectories can show which constraints blocked completion, which information was absent, and which decisions demanded human authority.

The strongest teams will not reserve this information for engineering. Product leaders can use trajectory clusters to identify unmet needs. Operations teams can locate brittle handoffs. Security teams can inspect attempted boundary crossings. Designers can see where users correct the agent and convert those corrections into clearer controls.

What remains unresolved

There is no settled vocabulary for agent events. One framework’s span may be another framework’s step, message, node, or run. This complicates migration and makes cross-system analysis difficult. Open telemetry conventions can carry timing and relationships, but agent-specific semantics still require careful design.

Outcome attribution is harder. A successful tool response does not prove that the user’s objective was achieved. Conversely, an agent may make the correct decision while an external service fails. Reliable evaluation needs layered outcomes: execution validity, policy compliance, task completion, and user acceptance.

Counterfactual analysis remains immature. Teams can observe that a trajectory failed, but determining whether a different model, retrieval result, or plan would have succeeded requires replay. Replay is difficult when tools mutate state, source data changes, or permissions expire. Safe simulation environments and recorded tool fixtures are becoming essential infrastructure.

The final unresolved question is governance. A richly instrumented agent may become more inspectable to its operator while becoming more intrusive to the person using it. The next observability architecture must therefore answer two questions at once: what does the system need to learn from this trajectory, and what has it earned the right to retain?

The decisive artifact of an agent system is not its final sentence. It is the inspectable path between intention and consequence.

That path is becoming the place where reliability is engineered, risk is governed, and new product opportunities first become visible.

This post was drafted with AI assistance and reviewed against our editorial policy before publication. Corrections are made at the source, on the page, with the date shown.

AI agentsobservabilitytracingLLMOpsagent architectureevaluation

From our own rounds

Measured on The Curator, from real sessions people played on this site — not a third-party dataset.

Rounds played here
171
Questions per round
1.7
Play a round and add to these numbers
Share this post

Rate this article

No ratings yet

Discussion

Comments are moderated. Read our editorial policy.