liveBook · Manning

Observability

As explained in Grokking AI Applications

The capability to understand an application's internal behavior from its outputs, telemetry, logs, traces, and related runtime signals.

Observability makes an application's internal behavior understandable through its outputs and runtime signals. For GenAI applications, it provides visibility into how agents orchestrate tools and calls, making complex behavior easier to inspect, debug, and improve. section 8.3 section 8.0

A practical observability workflow focuses on:

  • Inspecting each step in an agent's execution rather than treating the application as a black box. section 8.3
  • Tracing tool calls and orchestration decisions to troubleshoot failures and improve the design. section 8.3
  • Connecting the application to LangSmith and configuring its project credentials so executions can be visualized. section 8.3

Tracing the HungryTraveler agent

HungryTraveler combines itinerary and recipe agents exposed through MCP with a direct email tool. An observability trace reveals how the supervisor chooses and orders those tools, helping diagnose whether the assembled response and email workflow behaved correctly. section 8.3

Figure 8.19 The behavior of an agent can be visualized through an observability tool.

An observability visualization makes an agent's behavior and orchestration steps easier to follow. section 8.3

How Grokking AI Applications covers it

How deep it goes
Explains step visibility through a LangSmith setup and trace, without descending into telemetry or framework internals.
Examples
Uses the HungryTraveler agent, MCP-connected itinerary and recipe tools, email delivery, and LangSmith traces.
What it assumes
Assumes basic familiarity with agents, tools, and orchestration while making the observability workflow concrete through a guided application.
What you can do after
Diagnose/debug with LangSmith by inspecting an agent's execution trace and tool-call sequence.
How it connects
Connects observability with agents, tools, MCP, orchestration, deployment, and debugging.

Also explained in

Compare how 16 books explain observability →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking AI Applications. The section links point to the parts of the book it draws on.