Monitoring LLM agents in production requires fundamentally different approaches than traditional APM tools. Agents accept unbounded natural language inputs, exhibit non-deterministic behavior, and operate through multi-step reasoning chains — making system metrics insufficient on their own. Effective agent observability requires capturing full prompt-response pairs, multi-turn context, and agent trajectories. Two complementary evaluation strategies are discussed: annotation queues for structured human review of high-value traces, and LLM-as-a-judge evaluators that can assess thousands of traces automatically (with recommended 10-20% sampling to manage cost). LangSmith's Insights Agent provides automated clustering to surface usage patterns and failure modes. The post also explains why general-purpose tools like Datadog fall short in three areas: handling natural language payloads at scale, integrating with the development feedback loop, and supporting cross-functional teams beyond SRE/DevOps.

14m read timeFrom langchain.com
Post cover image
Table of contents
Why agents are different from traditional softwareProduction monitoring for agents is differentTools for production agent observabilityWhy general-purpose tools fall shortOpen challengesConclusion
1 Impression