
Sentry Setup Ai Monitoring
getsentry/sentry-agent-skillsOfficial
Setup guide that configures Sentry AI monitoring by detecting installed LLM SDKs and their integrations.
- skills.sh installs
- 904
- GitHub stars
- 25
- last updated
- Aug 21, 2026
What it does
- Covers LLM call, agent, tool, and token tracking for JavaScript and Python projects with tracing enabled
- Lists supported integrations for OpenAI, Anthropic, Vercel AI, LangChain, Google GenAI, and Pydantic AI, with minimum SDK versions
- Requires explicit user confirmation before enabling prompt and output capture, since that data is likely PII
- Designed for developers who want per-call token usage, model latency, and agent execution visibility in Sentry Traces
Install
$ npx -y skills add getsentry/sentry-agent-skills --skill sentry-setup-ai-monitoring -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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).
Data Capture Warning
Prompt and output recording captures user content that is likely PII. Before enabling recordInputs/recordOutputs (JS) or include_prompts/send_default_pii (Python), confirm:
- The application's privacy policy permits capturing user prompts and model responses
- Captured data complies with applicable regulations (GDPR, CCPA, etc.)
- Sentry data retention settings are appropriate for the sensitivity of the data
Details
- Repository
- github.com/getsentry/sentry-agent-skills
- Categories
- AI Agents & LLM Apps, DevOps & Cloud
- First seen
- May 16, 2026
More from getsentry/sentry-agent-skills
All 8Similar to Sentry Setup Ai Monitoring
More AI Agents & LLM Apps
sentry-python-sdkSkillgetsentry/sentry-agent-skills389 installsFull Sentry SDK setup for Python covering errors, tracing, profiling, logs, metrics, crons, and AI monitoring.
sentry-nextjs-sdkSkillgetsentry/sentry-agent-skills673 installsFull Sentry SDK setup for Next.js covering browser, Node.js server, and Edge runtimes with an opinionated wizard.
aiconfig-ai-metricsSkilllaunchdarkly/ai-tooling2K 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-official47.9K 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