什麼是 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