AIAIBlog.com.my
Agentic AI27 September 2026 · 3 min read

LangSmith Trajectories Turns Agent Debugging Into Reading a Chat Log

LangChain's new readable session view attacks the biggest hidden cost of agentic AI — maintaining agents after they ship.

LangSmith Trajectories Turns Agent Debugging Into Reading a Chat Log
AIAI Summary

LangChain has launched Trajectories, a new feature in LangSmith, its platform for observing and debugging AI applications. Trajectories displays each agent session as a conversational, readable view instead of dense nested trace data. The stated goals are simple: make trace data easier to navigate and speed up debugging, especially for long-running agents that execute many steps before finishing. For Malaysian teams building AI agents, this is a maintenance and governance upgrade — it shortens the fix cycle for engineers and makes session records something non-technical reviewers can actually read.

AI Summary

LangChain has launched Trajectories, a new feature in LangSmith, its platform for observing and debugging AI applications. Trajectories displays each agent session as a conversational, readable view instead of dense nested trace data. The stated goals are simple: make trace data easier to navigate and speed up debugging, especially for long-running agents that execute many steps before finishing. For Malaysian teams building AI agents, this is a maintenance and governance upgrade — it shortens the fix cycle for engineers and makes session records something non-technical reviewers can actually read.

Key Takeaways

  • Trajectories is a conversational view of an agent session in LangSmith — you read what the agent did in order, rather than clicking through nested trace trees.
  • The specific pain it targets is the long-running agent: sessions with many steps, where finding the exact point of failure previously meant digging through dense logs.
  • Faster debugging is the headline benefit; the quieter benefit is that readable sessions open agent review to QA staff, compliance officers, and business owners, not just engineers.
  • This is part of a broader pattern: the agentic AI stack is maturing from "can we build it" tooling to "can we keep it running" tooling.
  • Malaysian teams already on the LangChain/LangGraph stack get this inside their existing workflow; teams on other stacks should treat session readability as a requirement when picking observability tools.

What Happened

LangChain, the company behind one of the most widely used open-source frameworks for building LLM applications, has added a feature called Trajectories to LangSmith. LangSmith is its platform for observing what AI applications do in production — recording every step an application takes so developers can inspect, evaluate, and debug behaviour.

The problem Trajectories addresses is specific. When an AI agent runs, it generates trace data: every prompt sent to the model, every tool call, every intermediate result. In conventional tracing tools, this data appears as deeply nested structures — trees of operations that an engineer must expand, click through, and mentally reconstruct to figure out what the agent actually did.

Trajectories replaces that reconstructive work with a conversational view. The session reads like a dialogue or a running account: the agent's reasoning, its actions, and the results, laid out in the order they happened. According to LangChain, this makes trace data easy to navigate and speeds up debugging, with particular value for long-running agents — the kind that operate across many steps before completing a task.

That last point matters. A chatbot answering one question has one or two failure points. An agent that plans, calls tools, checks results, and retries across dozens of steps has dozens of places to go wrong. Until now, the cost of finding which step went wrong has been a major tax on teams running agents in production.

Why It Matters

Anyone who has shipped an agent knows the demo is the easy part. The hard part is week eight, when the agent that handled orders flawlessly suddenly starts refunding the wrong customers or looping on a tool that returns an unexpected error format. Agents fail in ways traditional software does not: they misread context, choose the wrong tool, or invent parameters. Diagnosing those failures has depended on engineers reading raw logs — slow, expensive work.

There is a useful parallel from earlier software waves. Once web applications moved into production, a whole category of tooling — application performance monitoring — became standard, because you cannot fix what you cannot see. Agent observability is the equivalent layer for AI, and it has lagged well behind the hype around agent capabilities. A vendor like LangChain investing in readability, not just raw logging, signals that the industry's centre of gravity is shifting from building agents to operating them.

The second-order effect is more interesting than the first. A conversational session record changes who can inspect an agent. A trace tree is engineer-only territory.

Sources & References

AIBlog summarises and analyses published information. We do not reproduce full source text. Analysis is editorial and not financial or legal advice.

Related articles

Get Malaysia's AI intelligence every morning

Daily digest by email and on Telegram. Written for Malaysian business readers.

Daily AI intelligence
From RM5/month
Subscribe