Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 56 additions & 90 deletions docs/platforms/javascript/common/agent-tracing/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,61 @@ sidebar_section: features
new_until: 2027-02-17
supportedCategories:
- server
integration_grid:
- to: "/agent-tracing/workers-ai/"
href: "/platforms/javascript/guides/cloudflare/agent-tracing/workers-ai/"
title: "Workers AI"
icon: "cloudflare"
- to: "/agent-tracing/agents-sdk/"
href: "/platforms/javascript/guides/cloudflare/agent-tracing/agents-sdk/"
title: "Agents SDK"
icon: "cloudflare"
- to: "/configuration/integrations/vercelai/"
title: "Vercel AI SDK"
icon: "vercel"
- to: "/configuration/integrations/openai/"
title: "OpenAI"
icon: "openai"
- to: "/configuration/integrations/anthropic/"
title: "Anthropic"
icon: "anthropic"
- to: "/configuration/integrations/google-genai/"
title: "Google Gen AI SDK"
icon: "google-genai"
- to: "/configuration/integrations/langchain/"
title: "LangChain"
icon: "langchain"
- to: "/configuration/integrations/langgraph/"
title: "LangGraph"
icon: "langgraph"
- to: "/configuration/integrations/mistral/"
title: "Mistral AI"
icon: "mistral"
- to: "/configuration/integrations/groq/"
title: "Groq"
icon: "groq"
- to: "/configuration/integrations/together-ai/"
title: "Together AI"
icon: "together-ai"
- to: "/configuration/integrations/typesafe/"
title: "TypeSafe"
icon: "typesafe-ai"
- to: "/agent-tracing/mastra/"
href: "/platforms/javascript/guides/mastra/"
title: "Mastra"
icon: "mastra"
- to: "/agent-tracing/eve/"
href: "/platforms/javascript/guides/eve/"
title: "Eve"
icon: "eve"
- to: "/agent-tracing/flue/"
href: "/platforms/javascript/guides/flue/"
title: "Flue"
icon: "flue"
- to: "/agent-tracing/pi-durable/"
href: "/platforms/javascript/guides/pi-durable/"
title: "Pi Durable"
icon: "pi-durable"
---

With <Link to="/product/agents/dashboards/">Sentry Agent Tracing</Link>, you can monitor and debug your AI systems with full-stack context. You'll be able to track key insights like token usage, latency, tool usage, and error rates — and group multi-turn chats in <Link to="/product/agents/conversations/">Conversations</Link>. Agent Tracing data is fully connected to your other Sentry data like logs, errors, and traces.
Expand All @@ -17,96 +72,7 @@ With <Link to="/product/agents/dashboards/">Sentry Agent Tracing</Link>, you can

As of SDK version `11.0.0`, Sentry auto-instruments the most popular AI SDKs and frameworks out of the box — you don't need to add their integrations yourself. Just enable <PlatformLink to="/tracing/">tracing</PlatformLink>, then pick your AI stack below. Each integration page has the details. To group multi-turn chats in Conversations, also [track conversations](#tracking-conversations) in the requests that make AI calls.

<IntegrationGrid
integrations={[
{
to: "/agent-tracing/workers-ai/",
href: "/platforms/javascript/guides/cloudflare/agent-tracing/workers-ai/",
title: "Workers AI",
icon: "cloudflare",
},
{
to: "/agent-tracing/agents-sdk/",
href: "/platforms/javascript/guides/cloudflare/agent-tracing/agents-sdk/",
title: "Agents SDK",
icon: "cloudflare",
},
{
to: "/configuration/integrations/vercelai/",
title: "Vercel AI SDK",
icon: "vercel",
},
{
to: "/configuration/integrations/openai/",
title: "OpenAI",
icon: "openai",
},
{
to: "/configuration/integrations/anthropic/",
title: "Anthropic",
icon: "anthropic",
},
{
to: "/configuration/integrations/google-genai/",
title: "Google Gen AI SDK",
icon: "google-genai",
},
{
to: "/configuration/integrations/langchain/",
title: "LangChain",
icon: "langchain",
},
{
to: "/configuration/integrations/langgraph/",
title: "LangGraph",
icon: "langgraph",
},
{
to: "/configuration/integrations/mistral/",
title: "Mistral AI",
icon: "mistral",
},
{
to: "/configuration/integrations/groq/",
title: "Groq",
icon: "groq",
},
{
to: "/configuration/integrations/together-ai/",
title: "Together AI",
icon: "together-ai",
},
{
to: "/configuration/integrations/typesafe/",
title: "TypeSafe",
icon: "typesafe-ai",
},
{
to: "/agent-tracing/mastra/",
href: "/platforms/javascript/guides/mastra/",
title: "Mastra",
icon: "mastra",
},
{
to: "/agent-tracing/eve/",
href: "/platforms/javascript/guides/eve/",
title: "Eve",
icon: "eve",
},
{
to: "/agent-tracing/flue/",
href: "/platforms/javascript/guides/flue/",
title: "Flue",
icon: "flue",
},
{
to: "/agent-tracing/pi-durable/",
href: "/platforms/javascript/guides/pi-durable/",
title: "Pi Durable",
icon: "pi-durable",
},
]}
/>
<IntegrationGrid />

<PlatformSection supported={["javascript.cloudflare"]}>

Expand Down
54 changes: 38 additions & 16 deletions docs/platforms/python/agent-tracing/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,43 @@ sidebar_order: 7
sidebar_section: features
description: "Monitor agents with token usage, latency, tool execution, and error tracking."
new_until: 2027-02-17
integration_grid:
- to: "/agent-tracing/bedrock/"
title: "Amazon Bedrock"
icon: "aws"
- to: "/agent-tracing/anthropic/"
title: "Anthropic"
icon: "anthropic"
- to: "/agent-tracing/google-genai/"
title: "Google Gen AI"
icon: "google-genai"
- to: "/agent-tracing/openai/"
title: "OpenAI"
icon: "openai"
- to: "/agent-tracing/openai-agents/"
title: "OpenAI Agents SDK"
icon: "openai"
- to: "/agent-tracing/langchain/"
title: "LangChain"
icon: "langchain"
- to: "/agent-tracing/langgraph/"
title: "LangGraph"
icon: "langgraph"
- to: "/agent-tracing/litellm/"
title: "LiteLLM"
icon: "litellm"
- to: "/agent-tracing/pydantic-ai/"
title: "Pydantic AI"
icon: "pydantic-ai"
- to: "/agent-tracing/huggingface_hub/"
title: "Hugging Face Hub"
icon: "huggingface_hub"
- to: "/agent-tracing/mistral/"
title: "Mistral"
icon: "mistral"
- to: "/agent-tracing/typesafe/"
title: "TypeSafe AI"
icon: "typesafe-ai"
---

With <Link to="/product/agents/dashboards/">Sentry Agent Tracing</Link>, you can monitor and debug your AI systems with full-stack context. You'll be able to track key insights like token usage, latency, tool usage, and error rates — and group multi-turn chats in <Link to="/product/agents/conversations/">Conversations</Link>. Agent Tracing data is fully connected to your other Sentry data like logs, errors, and traces.
Expand Down Expand Up @@ -32,22 +69,7 @@ sentry_sdk.init(

Pick your AI stack. Each page has install and verify details.

<IntegrationGrid
integrations={[
{to: "/agent-tracing/bedrock/", title: "Amazon Bedrock", icon: "aws"},
{to: "/agent-tracing/anthropic/", title: "Anthropic", icon: "anthropic"},
{to: "/agent-tracing/google-genai/", title: "Google Gen AI", icon: "google-genai"},
{to: "/agent-tracing/openai/", title: "OpenAI", icon: "openai"},
{to: "/agent-tracing/openai-agents/", title: "OpenAI Agents SDK", icon: "openai"},
{to: "/agent-tracing/langchain/", title: "LangChain", icon: "langchain"},
{to: "/agent-tracing/langgraph/", title: "LangGraph", icon: "langgraph"},
{to: "/agent-tracing/litellm/", title: "LiteLLM", icon: "litellm"},
{to: "/agent-tracing/pydantic-ai/", title: "Pydantic AI", icon: "pydantic-ai"},
{to: "/agent-tracing/huggingface_hub/", title: "Hugging Face Hub", icon: "huggingface_hub"},
{to: "/agent-tracing/mistral/", title: "Mistral", icon: "mistral"},
{to: "/agent-tracing/typesafe/", title: "TypeSafe AI", icon: "typesafe-ai"},
]}
/>
<IntegrationGrid />

## Tracking Conversations

Expand Down
49 changes: 33 additions & 16 deletions docs/product/agents/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,39 @@ Sentry Agent Tracing helps you track and debug agent applications using our supp

To use [Conversations](/product/agents/conversations/), set a conversation ID for each chat. Sentry uses the `gen_ai.conversation.id` attribute to group related AI spans, and some SDK integrations set it automatically.

To start sending agent data to Sentry, make sure you've created a Sentry project for your AI-enabled repository and follow one of the guides below:

- [Claude Platform](/concepts/otlp/direct/claude-platform/)
- [Cloudflare](/platforms/javascript/guides/cloudflare/agent-tracing/)
- [Eve](/platforms/javascript/guides/eve/)
- [Flue](/platforms/javascript/guides/flue/)
- [Laravel](/platforms/php/guides/laravel/agent-tracing/)
- [Mastra](/platforms/javascript/guides/mastra/)
- [Flue](/platforms/javascript/guides/flue/)
- [Eve](/platforms/javascript/guides/eve/)
- [Next.js](/platforms/javascript/guides/nextjs/agent-tracing/)
- [Node.js](/platforms/javascript/guides/node/agent-tracing/)
- [Pi Durable](/platforms/javascript/guides/pi-durable/)
- [Python](/platforms/python/agent-tracing/)
- [Ruby](/platforms/ruby/tracing/instrumentation/custom-instrumentation/ai-agents-module/)
- [.NET](/platforms/dotnet/tracing/instrumentation/ai-agents-module/)
To start sending agent data to Sentry, make sure you've created a Sentry project for your AI-enabled repository and follow the guide for your platform or one of its integrations:

<PlatformIntegrationList
platforms={[
{ title: "Claude Platform", to: "/concepts/otlp/direct/claude-platform/" },
{
title: "Cloudflare",
to: "/platforms/javascript/guides/cloudflare/agent-tracing/",
},
{ title: "Eve", to: "/platforms/javascript/guides/eve/" },
{ title: "Flue", to: "/platforms/javascript/guides/flue/" },
{ title: "Laravel", to: "/platforms/php/guides/laravel/agent-tracing/" },
{ title: "Mastra", to: "/platforms/javascript/guides/mastra/" },
{
title: "Next.js",
to: "/platforms/javascript/guides/nextjs/agent-tracing/",
},
{
title: "Node.js",
to: "/platforms/javascript/guides/node/agent-tracing/",
},
{ title: "Pi Durable", to: "/platforms/javascript/guides/pi-durable/" },
{ title: "Python", to: "/platforms/python/agent-tracing/" },
{
title: "Ruby",
to: "/platforms/ruby/tracing/instrumentation/custom-instrumentation/ai-agents-module/",
},
{
title: ".NET",
to: "/platforms/dotnet/tracing/instrumentation/ai-agents-module/",
},
]}
/>

After setup, send an agent request and open [**Explore → Agents**](https://sentry.io/orgredirect/organizations/:orgslug/explore/agents/) to verify that its data arrived. Then [name your agents](/product/agents/naming/) so you can identify and filter them.

Expand Down
Loading
Loading