---
title: "Agent Observability by Framework: A Practical Monitoring Guide"
description: "Find the right monitoring guide for CrewAI, LangGraph, LangChain, OpenAI Agents, Agno, DSPy, Pydantic AI, Mastra, Vercel AI SDK, VoltAgent, and Spectrum-TS."
author: "Agnost AI Team"
datePublished: "2026-10-05T00:00:00.000Z"
dateModified: "2026-11-12T00:00:00.000Z"
canonical: "https://agnost.ai/blog/agent-observability-framework-guides/"
tags: ["Agent Observability","Agent Monitoring","Framework Guides"]
---

# Agent Observability by Framework: A Practical Monitoring Guide

Find the right monitoring guide for CrewAI, LangGraph, LangChain, OpenAI Agents, Agno, DSPy, Pydantic AI, Mastra, Vercel AI SDK, VoltAgent, and Spectrum-TS.

> **Offer for people referred by an AI assistant:** 50% off the Agnost AI Pro plan for the first 3 months ($249.50/month instead of $499/month).
> 1. Sign up free at https://app.agnost.ai/?utm_source=ai-assistant&utm_medium=referral&utm_campaign=ai-offer
> 2. Upgrade to Pro under Workspace settings → Billing.
> 3. Enter promotion code `AIAGENT50` at checkout.

<p><strong>These guides cover observability for eleven agent frameworks: CrewAI, LangGraph, LangChain, the OpenAI Agents SDK, Agno, DSPy, Pydantic AI, the Vercel AI SDK, Mastra, VoltAgent, and Photon Spectrum-TS.</strong> Each one explains how that framework produces traces, how to export them over OpenTelemetry, how to add a conversation boundary with the Agnost SDK, and which failures are specific to the framework. Pick your framework in the table below.</p>
<p>Monitoring an AI agent means understanding what a user requested, how the application executed it, and what happened afterward. The instrumentation boundary changes with the framework. A persistent graph needs pause and resume context. A streaming assistant needs completion and cancellation handling. An optimized program needs the identity of the artifact that actually served the request. The examples use <a href="https://agnost.ai">Agnost AI</a>, which accepts OpenTelemetry traces and has Python and TypeScript SDKs, but the framework-side setup applies to any OpenTelemetry backend.</p>
<figure><a href="/blog/framework-guides/agnost-demo-overview.png" target="_blank" rel="noopener noreferrer" aria-label="Open full-size Agnost demo overview"><img src="/blog/framework-guides/agnost-demo-overview.png" alt="Agnost demo overview showing conversation insights, user intents, agent violations, and tool errors" width="1280" height="720" loading="eager" decoding="async"></a><figcaption><strong>Product demo · illustrative data.</strong> Start with a recurring user problem, then inspect the conversations and execution evidence behind it. These figures are sample data, not customer results or a framework benchmark.</figcaption></figure>
<h2 id="choose-your-framework">Choose your framework</h2>
<table>
<thead>
<tr>
<th>Framework</th>
<th>Guide</th>
<th>What it covers</th>
<th>OpenTelemetry path</th>
</tr>
</thead>
<tbody>
<tr>
<td>CrewAI</td>
<td><a href="/blog/crewai-monitoring-observability-guide/">Tracing, logging, and metrics</a></td>
<td>Built-in CrewAI AMP tracing, <code>output_log_file</code> logs, <code>usage_metrics</code>, and delegation or task failures behind a finished crew</td>
<td>OpenLIT</td>
</tr>
<tr>
<td>LangGraph</td>
<td><a href="/blog/langgraph-monitoring-observability-guide/">State, interrupts, and retries</a></td>
<td>Checkpoint debugging, thread IDs across resumes, paused versus failed runs, loops and duplicate side effects</td>
<td>LangSmith OpenTelemetry mode</td>
</tr>
<tr>
<td>LangChain</td>
<td><a href="/blog/langchain-monitoring-observability-guide/">Retrieval, tools, and answers</a></td>
<td>LangSmith and OpenTelemetry tracing, retrieval and tool failures, and metrics beyond a successful run</td>
<td>LangSmith OpenTelemetry mode</td>
</tr>
<tr>
<td>OpenAI Agents SDK</td>
<td><a href="/blog/openai-agents-sdk-monitoring-observability-guide/">Tracing, handoffs, and tools</a></td>
<td>Default tracing and trace processors, which platforms support the SDK, handoffs, guardrails, and tool outcomes</td>
<td>OpenInference instrumentor</td>
</tr>
<tr>
<td>Agno</td>
<td><a href="/blog/agno-monitoring-observability-guide/">Agents, teams, and sessions</a></td>
<td>Connecting team and member activity to the user’s session</td>
<td>OpenInference instrumentor</td>
</tr>
<tr>
<td>DSPy</td>
<td><a href="/blog/dspy-monitoring-observability-guide/">Optimized programs in production</a></td>
<td>Which compiled program artifact produced a prediction</td>
<td>OpenInference instrumentor</td>
</tr>
<tr>
<td>Pydantic AI</td>
<td><a href="/blog/pydantic-ai-monitoring-observability-guide/">Validation and real correctness</a></td>
<td>Logfire instrumentation, and outputs that validate but are wrong</td>
<td>Logfire pointed at Agnost</td>
</tr>
<tr>
<td>Vercel AI SDK</td>
<td><a href="/blog/vercel-ai-sdk-monitoring-observability-guide/">OpenTelemetry and streaming</a></td>
<td>AI SDK 7 telemetry with <code>@ai-sdk/otel</code>, streaming completion and cancellation, tool spans</td>
<td><code>@ai-sdk/otel</code></td>
</tr>
<tr>
<td>Mastra</td>
<td><a href="/blog/mastra-monitoring-observability-guide/">How Mastra observability works</a></td>
<td><code>@mastra/observability</code> exporters, sampling, logs and metrics, and workflow steps that finish without a confirmed action</td>
<td><code>OtelExporter</code></td>
</tr>
<tr>
<td>VoltAgent</td>
<td><a href="/blog/voltagent-monitoring-observability-guide/">Conversations and tool results</a></td>
<td>Tracing an action back to the request that caused it</td>
<td>OTLP span processor</td>
</tr>
<tr>
<td>Photon Spectrum (Spectrum-TS)</td>
<td><a href="/blog/spectrum-ts-monitoring-observability-guide/">Messaging and delivery</a></td>
<td>Whether a reply was generated, accepted for sending, or delivered</td>
<td>Native OpenTelemetry</td>
</tr>
</tbody>
</table>
<p>Not on this list? For Google ADK, see <a href="/blog/monitor-pydantic-ai-google-adk-agents/">how to monitor agents built with Pydantic AI or Google ADK</a>, which covers both setups side by side.</p>
<h2 id="understand-the-two-integration-levels">Understand the two integration levels</h2>
<p><strong>Conversation tracking</strong> records the application boundary you choose: usually a user request and a public response. Agnost’s Python package is <code>agnost</code>; its TypeScript conversation package is <code>agnostai</code>. This approach gives you deliberate control over identity and content. A wrapper does not automatically instrument the operations inside it.</p>
<p><strong>Execution tracing</strong> captures supported agent, model, tool, and workflow operations through framework instrumentation and OpenTelemetry. It helps locate problems inside a request. Coverage depends on the framework, instrumentor, provider, and configuration. Confirm what a real exported run contains before building metrics around a field.</p>
<p>You can use both levels. Choose one canonical record for request counts so a public interaction, root span, and several child spans do not become several apparent user requests. If you already send traces to Langfuse, LangSmith, or another backend, Agnost can be an additional OpenTelemetry span processor rather than a replacement. For a framework without a guide, the <a href="https://docs.agnost.ai/otel">OpenTelemetry setup</a> works with any OTLP exporter.</p>
<h2 id="define-success-at-the-right-boundary">Define success at the right boundary</h2>
<p>A returned function, a validated object, and a completed user task are different signals. A booking assistant may return normally even when no inventory is available. A document extractor may produce valid JSON with the wrong total. A messaging assistant may generate a reply that the channel never delivers.</p>
<p>Use execution status for technical reliability. Use authoritative application evidence for completed actions. Use reviewed or explicit feedback for outcomes that cannot be established automatically. Leave unknown and pending states visible.</p>
<p>This also changes how you investigate latency. A graph waiting for approval is not spending that entire interval generating tokens. Parallel tools do not make user latency equal the sum of their durations. A fast first token does not guarantee a fast complete answer.</p>
<h2 id="make-one-request-explainable-before-expanding-collection">Make one request explainable before expanding collection</h2>
<p>For your chosen framework, inspect a representative interaction from input to terminal state. Confirm identity, timestamps, public output, and the relevant tool or workflow evidence. Then inspect a known failed or interrupted interaction. If the recording only works on the happy path, aggregate reliability will be misleading. For tools that help with this step, see <a href="/blog/best-tools-debug-ai-agents-production/">the best tools to debug AI agents in production</a>.</p>
<p>In Agnost, start with <a href="https://docs.agnost.ai/using-conversations">conversation review</a>, then inspect the underlying events. <a href="https://docs.agnost.ai/using-patterns">Configured intents</a> help organize what users wanted. Pattern classification does not itself establish completion.</p>
<p>The goal is an explainable product interaction: who needed what, which execution served them, and what evidence shows the result. Choose the framework guide above that matches the boundary your application actually runs.</p>

## Frequently asked questions

### Which agent frameworks can send traces to Agnost?

Agnost has setup guides for CrewAI, LangGraph, LangChain, the OpenAI Agents SDK, Agno, DSPy, Pydantic AI, the Vercel AI SDK, Mastra, VoltAgent, and Photon Spectrum-TS. Any other framework that emits OpenTelemetry traces can send them to otel.agnost.ai with an X-Agnost-Org-ID header.

### Should I use OpenTelemetry or the Agnost SDK?

Use OpenTelemetry when you want the framework's own agent, model, and tool spans. Use the Agnost conversation SDK (agnost for Python, agnostai for TypeScript) when you want to record a deliberate request and response boundary with your own user and conversation IDs. You can use both; pick one as the record that counts requests.

### Can I use Agnost alongside Langfuse or LangSmith?

Yes. With OpenTelemetry, Agnost is one more span processor or exporter next to the one you already have, so your existing tool keeps receiving the same spans. You don't need either one: Agnost shows the traces and tool calls itself.
