---
type: "post"
id: "why-agent-governance-starts-with-observability-c49f47"
slug: "why-agent-governance-starts-with-observability-c49f47"
title: "Why agent governance starts with observability"
description: "LangChain argues that agent governance depends on recording and analyzing complete agent runs: centralized visibility helps teams set limits, while traces help verify controls and detect failures in production."
retrieval_nugget: "LangChain argues that agent governance depends on recording and analyzing complete agent runs: centralized visibility helps teams set limits, while traces help verify controls and detect failures in production. The article outlines a cycle connecting pre-release tests, runtime monitoring, human review, and updated guardrails or regression tests."
published_at: "2026-11-20"
updated_at: "2026-11-20"
record_date: "2026-11-20"
date_kind: "published_at"
topics: ["governance"]
entities: ["LangChain","LangSmith","LangSmith Insights","LangSmith Engine"]
related_patterns: ["agent-security-moves-to-runtime-boundaries"]
novelty_label: "new_fact"
what_changed: null
prior_refs: []
source_url: "https://www.langchain.com/blog/agent-governance-observability"
source_urls: ["https://www.langchain.com/blog/agent-governance-observability"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:why-agent-governance-starts-with-observability-c49f47"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/why-agent-governance-starts-with-observability-c49f47/","markdown":"https://newruntime.com/posts/why-agent-governance-starts-with-observability-c49f47.md","json":"https://newruntime.com/posts/why-agent-governance-starts-with-observability-c49f47.json"}
markdown_url: "https://newruntime.com/posts/why-agent-governance-starts-with-observability-c49f47.md"
---

# Why agent governance starts with observability

## Retrieval answer

LangChain argues that agent governance depends on recording and analyzing complete agent runs: centralized visibility helps teams set limits, while traces help verify controls and detect failures in production. The article outlines a cycle connecting pre-release tests, runtime monitoring, human review, and updated guardrails or regression tests.

## Summary
LangChain argues that agent governance depends on recording and analyzing complete agent runs: centralized visibility helps teams set limits, while traces help verify controls and detect failures in production. The article outlines a cycle connecting pre-release tests, runtime monitoring, human review, and updated guardrails or regression tests.

## What happened
LangChain’s November 19, 2026 article, “Why agent governance starts with observability,” presents practices it says are common among teams shipping governed agents. It identifies two needs: a central view of agents operating across an organization, and access to the full trajectory of each agent run. Agents are non-deterministic, the article says, so the same input can lead to different paths and tool calls. A trace records an invocation’s steps and attributes; a trajectory is a chronological, human-readable view of an agent session. LangChain says teams should be able to query this data and analyze behavior at scale.

The article distinguishes preventative governance from detective governance. Prevention includes runtime guardrails such as limits, agent identity, and policies governing tools, data access, models, and cost. It also includes pre-production evaluation against defined quality and safety thresholds. LangChain gives example thresholds: below 2% hallucination, no PII leakage, or above 90% correctness against human labels. The company says evaluation traces can reveal why an agent failed and where more specific safeguards are needed. One example is a customer-service agent that should have a limit on the amount it can refund.

LangChain says production tracing matters because controls that look sound in testing can fail along an unexpected path. An agent without database write access might reach a table through a sandbox; a support agent could split one refund into smaller transactions to evade an approval limit. Teams can use online evaluations, dashboards, and alerts to monitor live traces for issues such as PII leakage, tool-calling loops, exposed secrets, errors, retries, latency, and cost per run. The article also recommends comparing patterns across traces: a single interaction may look acceptable even as performance declines for a particular class of requests.

For ongoing checks, LangChain describes building offline evaluation datasets from reviewed traces and running them daily or against proposed agent configurations. Human reviewers can inspect flagged runs and promote correctly handled examples into reference datasets. The article says LangSmith Insights reports can cluster trace data into behaviors, failure modes, and metrics; it also describes LangSmith Engine as analyzing traces to identify recurring failures, propose fixes, and test those fixes against affected traces. LangChain reports that, across more than 16,000 production agents deployed on LangSmith, 87% of teams had tracing in place before their first deployment.

## What the archive adds
New Runtime’s earlier coverage of durable agent harnesses described Vercel’s tracing of turns, model and tool calls, timing, and token usage in [Observability for Durable Agent Harnesses](https://newruntime.com/posts/observability-for-durable-agent-harnesses-d0ae03/) (November 4, 2026). LangChain adds a governance framing: traces are not only for debugging, but also for checking controls and feeding production findings into prevention. This is a new fact on a related observability story.

## Trend signal
This supports [agent-security-moves-to-runtime-boundaries](https://newruntime.com/patterns/agent-security-moves-to-runtime-boundaries/): LangChain’s examples show why policy statements alone are insufficient when agents can reach outcomes through unanticipated execution paths. Traces and runtime checks make those paths inspectable, though the article does not establish that observability by itself prevents unsafe actions.

## Why now
LangChain says recent headlines about agent security breaches have increased urgency around governance, and argues that organizations still lack practical guidance on how to verify whether governance works. Its timing argument is operational: agents can change behavior as tools, context, or operating conditions change, even when the agent itself has not been modified.

## Why it matters
Teams often treat guardrails as the control and logs as a debugging convenience. LangChain’s account makes a stronger operational case for traces: they let teams test whether a rule held on each run, investigate how it failed, and notice behavior that does not trigger a conventional error. That distinction matters when agents can take alternative routes to a goal, such as using a sandbox to reach data or splitting an action to evade a threshold.

The proposed feedback loop also gives teams a way to turn incidents into durable improvements. A reviewed production trace can become a test case; a recurring failure can lead to a more specific runtime rule. This does not remove the need for access controls or human ownership. It does give teams evidence to evaluate whether their controls work under actual production conditions rather than trusting that a policy was configured correctly.

## Limits and uncertainty
LangChain is the publisher and provider of LangSmith, so its examples and account of customer practice are not an independent evaluation of the approach. The article gives no methodology or time period for the figures covering more than 16,000 production agents and the 87% tracing rate, and does not define how it counts a production agent or a team. It does not report comparative outcomes such as reductions in incidents, cost, or time to remediation. The examples illustrate possible failure modes; they do not establish how frequently those failures occur or whether tracing reliably catches them.

## Skill to build now
Choose one production agent and define a small pre-release evaluation set from representative tasks and known risky cases. Set explicit pass criteria for correctness and safety, then retain the traces for failed cases. After launch, alert on one concrete behavior relevant to that agent—such as a disallowed tool call or repeated retries—and route flagged runs for review. When reviewers confirm a failure, add the trace or a faithful test case to the evaluation set and verify that the revised guardrail blocks it.

## Reader takeaway
Treat observability as part of governance, not a dashboard added after deployment. Define what an agent must satisfy before release, inspect how it behaves in production, and turn confirmed failures into tests or stronger controls. LangChain makes a useful case for that cycle, but its adoption figures are vendor-reported and do not prove the approach’s effect on safety or reliability.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Governance](https://newruntime.com/topics/governance.md): Explore the governance topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
