Sentry Setup Ai Monitoring
Set up Sentry AI monitoring by detecting installed AI SDKs and configuring matching integrations with sampling checks.
- CCM score
- 72 of 100
- skills.sh installs
- 3.1K
- GitHub stars
- 283
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers LLM call, agent, tool, and token tracking across OpenAI, Anthropic, Vercel AI, LangChain, Google GenAI, Pydantic AI, and Laravel AI
- Detects installed SDKs via
package.json,requirements.txt,pyproject.toml, andcomposer.jsonbefore writing any configuration - Requires tracing enabled and gates prompt and output capture behind explicit user confirmation due to PII risk
- Designed for teams instrumenting LLM usage in Node.js, Python, Laravel, or Cloudflare Workers projects
Install
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-setup-ai-monitoring -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
All Skills > Feature Setup > AI Monitoring
Setup Sentry AI Agent Monitoring
Configure Sentry to track LLM calls, agent executions, tool usage, and token consumption.
Invoke This Skill When
- User asks to "monitor AI/LLM calls" or "track OpenAI/Anthropic usage"
- User wants "AI observability" or "agent monitoring"
- User asks about token usage, model latency, or AI costs
Important: The SDK versions, API names, and code samples below are examples. Always verify against docs.sentry.io before implementing, as APIs and minimum versions may have changed.
Prerequisites
AI monitoring requires tracing enabled (tracesSampleRate > 0).
If the app has multi-turn chats, set a conversation ID by default anywhere it makes sense to identify a chat session. Sentry uses gen_ai.conversation.id to group related AI spans into Conversations. Some integrations infer it automatically, but many setups need to set it explicitly.
Data Capture Warning
Details
- Repository
- github.com/getsentry/sentry-for-ai
- Categories
- AI Agents & LLM Apps, Debugging
- First seen
- Apr 16, 2026
More from getsentry/sentry-for-ai
All 27- Sentry Browser Sdk3.1K
- Sentry Cloudflare Sdk2.8K
- Sentry Python Sdk2.7K
- Sentry Nestjs Sdk2.7K
- Sentry Sdk Skill Creator2.5K
- Sentry Otel Exporter Setup2.5K
- Sentry Android Sdk2.4K
- Sentry Dotnet Sdk2.4K
- Sentry Php Sdk2.4K
- Sentry Flutter Sdk2.3K
- Sentry Go Sdk2.3K
- Sentry Svelte Sdk2.3K
- Sentry Ruby Sdk2.2K
- Sentry Elixir Sdk2.1K
- Sentry Tanstack Start Sdk2.1K
- Sentry React Router Framework Sdk2K
- Sentry Instrumentation Guide1.3K
- Sentry Fix Issues10.9K
- Sentry Create Alert4.5K
- Sentry React Native Sdk4.3K
- Sentry Nextjs Sdk3.8K
- Sentry Sdk Setup3.8K
- Sentry Cocoa Sdk3.7K
- Sentry Node Sdk3.5K
Similar to Sentry Setup Ai Monitoring
More AI Agents & LLM Appssentry-python-sdkSkillgetsentry/sentry-for-ai2.7K installsFull Sentry SDK setup for Python covering errors, tracing, profiling, logging, metrics, crons, and AI monitoring.
sentry-php-sdkSkillgetsentry/sentry-for-ai2.4K installsFull Sentry SDK setup for PHP that detects Laravel, Symfony, or plain PHP and guides feature configuration.
aiconfig-ai-metricsSkilllaunchdarkly/ai-tooling2.6K installsInstruments LaunchDarkly AI Config metrics into your existing provider calls by walking a four-tier ladder from managed runners down to manual tracking. The ski
spanora-setupSkillspanora/skills513 installsSetup guide that integrates Spanora AI observability into JavaScript, TypeScript, or Python projects by detecting installed AI SDKs.
arize-instrumentationSkillgithub/awesome-copilot1.1K installsGuided two-phase flow that adds Arize AX tracing to an LLM app from scratch after user confirmation.
setup-agent-analyticsPluginanthropics/claude-plugins-official48.1K starsDetect AI agents in your codebase and instrument them with Pendo Agent Analytics via the best-fit path: Python SDK, TypeScript SDK, client-side trackAgent(), or