---
title: "Five things you can do with Sentry’s Agent Tracing"
description: "Sentry's Agent Tracing captures model calls, tool executions and multi-agent handoffs in a single trace, and Sentry Cookbook recipes build workflows on top of that data."
url: "https://swe.quest/articles/five-things-you-can-do-with-sentry-s-agent-tracing-5ac2ff6886459921"
canonical: "https://blog.sentry.io/agent-tracing-use-cases/"
source: "Sentry"
published: "2026-10-28"
difficulty: "medium"
kind: "How-to"
reading_minutes: 19
tags: ["ai-agents","observability","evals","llms"]
---

# Five things you can do with Sentry’s Agent Tracing

A post on [Sentry](https://swe.quest/sources/sentry.md), published 2026-10-28, 19 min read, How-to. Original: [https://blog.sentry.io/agent-tracing-use-cases/](https://blog.sentry.io/agent-tracing-use-cases/)

## Summary

Sentry's Agent Tracing captures model calls, tool executions and multi-agent handoffs in a single trace, and Sentry Cookbook recipes build workflows on top of that data. One recipe exports production conversations with \`sentry agent-conversation list\` (CLI 0.44+), maps them to eval records, upserts them into Braintrust, Langfuse, promptfoo or Arize Phoenix, and scores them with deterministic checks plus an LLM judge reserved for subjective quality. Practical traps it calls out: summing tokens from raw \`gen\_ai.invoke\_agent\` spans double-counts, the CLI defaults to only 25 conversations over 7 days, and recorded prompts may contain PII. A second recipe runs a daily Claude scheduled task that uses the Sentry MCP server to triage agent failures and file Linear tickets.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- LLM agents and tool calls ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- distributed tracing basics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- LLM evals ([easy posts on Evaluation](https://swe.quest/tags/evals.md?difficulty=easy))

## Keywords

Sentry Agent Tracing, Sentry CLI, Braintrust, Langfuse, promptfoo, Arize Phoenix, Sentry MCP server, Claude

## Related posts

- [Search agent traces by behavior with AI Search in LangSmith](https://swe.quest/articles/search-agent-traces-by-behavior-with-ai-search-in-langsmith-b56f880ffba2ede5.md): LangChain · 2026-10-13 · Medium · 7 min read · Observability, AI agents, LLMs, Search
  LangSmith's AI Search lets users find agent traces by behavior described in plain language (e.g. "did PII leak?", "did the user get frustrated?") by running a fast decision model over each candidate trace rather than relying on lossy embedding-based vector search.
- [Tracing OpenAI agents with ClickStack](https://swe.quest/articles/tracing-openai-agents-with-clickstack-27a1630cee998ca8.md): ClickHouse · 2025-10-27 · Medium · 13 min read · Observability, AI agents, Python, Analytics & OLAP
  OpenAI's agents SDK has built-in tracing that can be redirected from OpenAI's hosted product to a custom TracingExporter.
- [Debugging our AI search assistant with agent tracing](https://swe.quest/articles/debugging-our-ai-search-assistant-with-agent-tracing-56459c7d4f094d19.md): Sentry · 2026-09-11 · Medium · 4 min read · AI agents, Observability, Debugging, Evaluation, LLMs
  Sentry's Search Query Assistant converts natural-language prompts into Sentry Search Syntax, and its team relies on evals plus agent tracing to debug wrong outputs.
- [Building Sentry's Laravel AI Integration](https://swe.quest/articles/building-sentry-s-laravel-ai-integration-db97aa7ed43fc2ee.md): Sentry · 2026-09-21 · Medium · 4 min read · PHP, Observability, AI agents, AI for coding
  Sentry's Laravel AI integration, shipped in sentry-laravel 4.27, adds Agent Tracing to Laravel AI agents with no code changes.
- [Trace & Evaluate your Agent with Arize Phoenix](https://swe.quest/articles/trace-evaluate-your-agent-with-arize-phoenix-ea5d226abd11d54e.md): Hugging Face · 2025-02-28 · Medium · 6 min read · AI agents, Evaluation, Observability, LLMs, Python
  A smolagents CodeAgent with DuckDuckGo search and webpage tools can be instrumented with OpenTelemetry and OpenInference so every agent call is traced in a local or hosted Arize Phoenix instance.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
