Port AI agent integrations from [https://github.com/getsentry/sentry-python/pull/4437](https://github.com/getsentry/sentry-python/pull/4437) into the `potel-base` branch