
Sentry Python Sdk
getsentry/sentry-for-aiOfficial
Full Sentry SDK setup for Python covering errors, tracing, profiling, logging, metrics, crons, and AI monitoring.
- skills.sh installs
- 2.7K
- GitHub stars
- 280
- last updated
- Aug 21, 2026
What it does
- Covers error monitoring, tracing, profiling, logging, metrics, crons, and AI monitoring for Python applications
- Includes a phased workflow: detect the project's frameworks and queues, recommend features, then guide installation and init
- Routes to an OTLP path when OpenTelemetry tracing is detected, and skips native tracing and profiling in that case
- Designed for Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and other Python web frameworks
Install
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-python-sdk -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
All Skills > SDK Setup > Python SDK
Sentry Python SDK
Opinionated wizard that scans your Python project and guides you through complete Sentry setup.
Invoke This Skill When
- User asks to "add Sentry to Python" or "setup Sentry" in a Python app
- User wants error monitoring, tracing, profiling, logging, metrics, or crons in Python
- User mentions
sentry-sdk,sentry_sdk, or Sentry + any Python framework - User wants to monitor Django views, Flask routes, FastAPI endpoints, Celery tasks, or scheduled jobs
Note: SDK versions and APIs below reflect Sentry docs at time of writing (sentry-sdk 2.x). Always verify against docs.sentry.io/platforms/python/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making recommendations:
# Check existing Sentry
grep -i sentry requirements.txt pyproject.toml setup.cfg setup.py 2>/dev/null
# Detect web framework
grep -rE "django|flask|fastapi|starlette|aiohttp|tornado|quart|falcon|sanic|bottle|pyramid" \
requirements.txt pyproject.toml 2>/dev/null
Details
- Repository
- github.com/getsentry/sentry-for-ai
- Categories
- DevOps & Cloud, Python, Debugging
- First seen
- May 16, 2026
More from getsentry/sentry-for-ai
All 27- Sentry Nestjs Sdk2.6K
- 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 Sdk2K
- Sentry React Router Framework Sdk2K
- Sentry Instrumentation Guide1.3K
- Sentry Fix Issues10.7K
- Sentry Create Alert4.4K
- Sentry React Native Sdk4.2K
- Sentry Nextjs Sdk3.8K
- Sentry Sdk Setup3.8K
- Sentry Cocoa Sdk3.7K
- Sentry Node Sdk3.5K
- Sentry React Sdk3.3K
- Sentry Sdk Upgrade3.2K
- Sentry Setup Ai Monitoring3.1K
Similar to Sentry Python Sdk
More DevOps & Cloud
sentry-node-sdkSkillgetsentry/sentry-for-ai3.5K installsComprehensive Sentry SDK setup for Node.js, Bun, and Deno covering errors, tracing, logs, profiling, and crons.
sentry-ruby-sdkSkillgetsentry/sentry-for-ai2.2K installsSentry SDK setup guide for Ruby apps covering Rails, Rack, Sinatra, and background job workers.
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.
sentryPluginTheBushidoCollective/han201 starsBest practices and patterns for Sentry error monitoring and observability.
instrumentationSkillpydantic/skills380 installsObservability setup guide that adds Pydantic Logfire tracing to Python, JavaScript/TypeScript, and Rust projects.
sentry-cliSkillsentry/dev193.6K installsCommand-line interface for querying and managing Sentry issues, projects, organizations, and traces.