什么是 sentry-setup-ai-monitoring?
在任何项目中设置 Sentry AI 代理监控。当被要求监控 LLM 调用、跟踪 AI 代理或检测 OpenAI/Anthropic/Vercel AI/LangChain/Google GenAI/Pydantic AI 时使用。检测已安装的 AI SDK 并配置适当的集成。 来源:getsentry/sentry-for-ai。
在任何项目中设置 Sentry AI 代理监控。当被要求监控 LLM 调用、跟踪 AI 代理或检测 OpenAI/Anthropic/Vercel AI/LangChain/Google GenAI/Pydantic AI 时使用。检测已安装的 AI SDK 并配置适当的集成。
通过命令行快速安装 sentry-setup-ai-monitoring AI 技能到你的开发环境
来源:getsentry/sentry-for-ai。
Configure Sentry to track LLM calls, agent executions, tool usage, and token consumption.
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.
Prompt and output recording captures user content that is likely PII. Before enabling recordInputs/recordOutputs (JS) or includeprompts/senddefaultpii (Python), confirm:
在任何项目中设置 Sentry AI 代理监控。当被要求监控 LLM 调用、跟踪 AI 代理或检测 OpenAI/Anthropic/Vercel AI/LangChain/Google GenAI/Pydantic AI 时使用。检测已安装的 AI SDK 并配置适当的集成。 来源:getsentry/sentry-for-ai。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-setup-ai-monitoring在任何项目中设置 Sentry AI 代理监控。当被要求监控 LLM 调用、跟踪 AI 代理或检测 OpenAI/Anthropic/Vercel AI/LangChain/Google GenAI/Pydantic AI 时使用。检测已安装的 AI SDK 并配置适当的集成。 来源:getsentry/sentry-for-ai。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-setup-ai-monitoring 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/getsentry/sentry-for-ai