Technical articles, tutorials, and insights
An Agent's decision process is opaque by default. Why did it call three tools? Where did the 6-second latency go? How do you reproduce a production failure? This article implements three observability patterns with LangChain BaseCallbackHandler — live trace, latency timeline, and JSON audit log. Real benchmarks: LLM is 100% of wall time; tools are 2ms.