phoenix banner

🇺🇸 English • 🇨🇳 中文 • 🇹🇼 繁體中文 • 🇯🇵 日本語 • 🇵🇹 Português • 🇧🇷 Português • 🇰🇷 한국어 • 🇪🇸 Español • 🇩🇪 Deutsch • 🇫🇷 Français • 🇮🇱 עברית • 🇸🇦 العربية • 🇷🇺 Русский • 🇵🇱 Polski • 🇨🇿 Čeština • 🇳🇱 Nederlands • 🇹🇷 Türkçe • 🇺🇦 Українська • 🇻🇳 Tiếng Việt • 🇵🇭 Tagalog • 🇮🇩 Indonesia • 🇹🇭 ไทย • 🇮🇳 हिन्दी • 🇧🇩 বাংলা • 🇵🇰 اردو • 🇷🇴 Română • 🇸🇪 Svenska • 🇮🇹 Italiano • 🇬🇷 Ελληνικά • 🇭🇺 Magyar • 🇫🇮 Suomi • 🇩🇰 Dansk • 🇳🇴 Norsk

Add Arize Phoenix MCP server to Cursor

Star Arize Phoenix on GitHub

Star History Rank GitHub Trending Repository of the Day

Arize Phoenix 是 Arize 推出的開源 AI 可觀測性平台,專為實驗、評估與問題排查而設計。針對託管式的正式環境工作流程,Arize 也提供 [Arize AX](https://arize.com/products/ax/?utm_source=github&utm_medium=community&utm_campaign=px-to-ax&utm_content=readme-zh-tw)。Phoenix 提供: - [**_追蹤 (Tracing)_**](https://arize.com/docs/phoenix/tracing/llm-traces) - 透過以 OpenTelemetry 為基礎的檢測,追蹤 LLM 應用程式的執行過程。 - [**_評估 (Evaluation)_**](https://arize.com/docs/phoenix/evaluation/llm-evals) - 運用 LLM,透過回應與檢索評估來衡量應用程式的效能。 - [**_資料集 (Datasets)_**](https://arize.com/docs/phoenix/datasets-and-experiments/overview-datasets) - 建立具版本控管的範例資料集,用於實驗、評估與微調。 - [**_實驗 (Experiments)_**](https://arize.com/docs/phoenix/datasets-and-experiments/overview-datasets#experiments) - 追蹤並評估提示詞、LLM 與檢索的變更。 - [**_Playground_**](https://arize.com/docs/phoenix/prompt-engineering/overview-prompts)- 最佳化提示詞、比較模型、調整參數,並重新播放已追蹤的 LLM 呼叫。 - [**_提示詞管理 (Prompt Management)_**](https://arize.com/docs/phoenix/prompt-engineering/overview-prompts/prompt-management)- 透過版本控管、標籤與實驗,系統化地管理並測試提示詞的變更。 - [**_PXI (Phoenix Intelligence)_**](https://arize.com/docs/phoenix/pxi) - 內建於 Phoenix 的 AI 工程代理,可協助除錯追蹤、反覆改進提示詞,以及瀏覽產品功能。 - [**_遠端 MCP 伺服器 (Remote MCP Server)_**](https://arize.com/docs/phoenix/integrations/mcp#remote-mcp-server) - 將 Claude Code、Cursor 及其他 MCP 用戶端直接連線至 Phoenix 執行個體的 `/mcp` 端點,以查詢追蹤、資料集、實驗等內容。

Phoenix 不受限於特定供應商或程式語言,並內建支援熱門框架([OpenAI Agents SDK](https://arize.com/docs/phoenix/tracing/integrations-tracing/openai-agents-sdk)、[Claude Agent SDK](https://arize.com/docs/phoenix/integrations/python/claude-agent-sdk)、[LangGraph](https://arize.com/docs/phoenix/tracing/integrations-tracing/langchain)、[Vercel AI SDK](https://arize.com/docs/phoenix/tracing/integrations-tracing/vercel-ai-sdk)、[Mastra](https://arize.com/docs/phoenix/integrations/typescript/mastra)、[CrewAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/crewai)、[LlamaIndex](https://arize.com/docs/phoenix/tracing/integrations-tracing/llamaindex)、[DSPy](https://arize.com/docs/phoenix/tracing/integrations-tracing/dspy))以及 LLM 供應商([OpenAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/openai)、[Anthropic](https://arize.com/docs/phoenix/tracing/integrations-tracing/anthropic)、[Google GenAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/google-genai)、[Google ADK](https://arize.com/docs/phoenix/integrations/llm-providers/google-gen-ai/google-adk-tracing)、[AWS Bedrock](https://arize.com/docs/phoenix/tracing/integrations-tracing/bedrock)、[OpenRouter](https://arize.com/docs/phoenix/integrations/python/openrouter)、[LiteLLM](https://arize.com/docs/phoenix/tracing/integrations-tracing/litellm) 等)。如需了解自動檢測的詳細資訊,請參閱 [OpenInference](https://github.com/Arize-ai/openinference) 專案。 Phoenix 幾乎可在任何環境中執行,包括您的本機電腦、容器化部署或雲端。請參閱 [環境](https://arize.com/docs/phoenix/self-hosting) 以了解各選項的逐步說明,或直接前往 [追蹤快速入門](https://arize.com/docs/phoenix/get-started/get-started-tracing)。 > [!NOTE] > Phoenix 為開源且可自行託管。若需要託管式平台,Arize 提供 [Arize AX](https://arize.com/products/ax/?utm_source=github&utm_medium=community&utm_campaign=px-to-ax&utm_content=readme-zh-tw) — 兩者皆可使用相同的 OpenTelemetry/OpenInference 檢測。請參閱 [完整比較](https://arize.com/docs/phoenix/resources/frequently-asked-questions/what-is-the-difference-between-phoenix-and-arize)。 ## 目錄 - [在本機執行](#在本機執行) - [追蹤您的應用程式](#追蹤您的應用程式) - [部署](#部署) - [套件](#套件) - [追蹤整合](#追蹤整合) - [沙箱](#沙箱) - [適用於人類與程式設計代理](#適用於人類與程式設計代理) - [安全性與隱私權](#安全性與隱私權) - [社群](#社群) ## 在本機執行 透過 `pip` 或 `conda` 安裝 Phoenix,即可擁有功能完整的 Phoenix。如需所有安裝與託管選項,請參閱 [安裝指南](https://arize.com/docs/phoenix)。 ```shell pip install arize-phoenix phoenix serve ``` 或者使用 [`uvx`](https://docs.astral.sh/uv/) 免安裝直接執行: ```shell uvx arize-phoenix serve ``` ## 追蹤您的應用程式 傳送追蹤資料最快的方式,是讓您的 [程式設計代理](https://arize.com/docs/phoenix/integrations/developer-tools/coding-agents)(Claude Code、Codex、Cursor 等)為您的應用程式加上檢測。請在專案目錄中執行: ```shell npx @arizeai/phoenix-cli setup # 或者,若已安裝 Phoenix:px setup ``` Setup 會偵測您使用的框架與 LLM 供應商,安裝合適的 [OpenInference](https://github.com/Arize-ai/openinference) 檢測套件,並設定追蹤資料匯出。偏好在程式碼中自行設定?請參閱 [追蹤文件](https://arize.com/docs/phoenix/tracing/llm-traces)。 ## 部署 Phoenix 容器映像檔可透過 [Docker Hub](https://hub.docker.com/r/arizephoenix/phoenix) 取得,並可使用 Docker 部署,或透過 [Helm chart](https://github.com/Arize-ai/phoenix/tree/main/helm) 部署至 Kubernetes。 如需 Docker Compose、Kubernetes/Helm 及其他部署選項,請參閱 [自行託管文件](https://arize.com/docs/phoenix/self-hosting)。

Deploy on Railway   Deploy to Render   Run on Google Cloud   Deploy to Azure   Deploy to AWS

> [!NOTE] > Google Cloud 按鈕會在 Cloud Shell 中從原始碼建置 Phoenix,而不是部署預先建置的 Docker Hub 映像檔。Azure 範本提供的是純 HTTP 服務(Azure Container Instances 不會終止 TLS)— 在正式環境使用前,請在前端加上 TLS 代理,例如 Application Gateway。 ## 套件 `arize-phoenix` 套件包含完整的 Phoenix 平台。不過,若您已部署 Phoenix 平台,也可以搭配使用輕量級的 Python 子套件與 TypeScript 套件。 ### Python 子套件 | 套件 | 版本與文件 | 說明 | | --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | | [arize-phoenix-otel](https://github.com/Arize-ai/phoenix/tree/main/packages/phoenix-otel) | [![PyPI Version](https://img.shields.io/pypi/v/arize-phoenix-otel)](https://pypi.org/project/arize-phoenix-otel/) [![Docs](https://img.shields.io/badge/docs-blue?logo=readthedocs&logoColor=white)](https://arize-phoenix.readthedocs.io/projects/otel/en/latest/index.html) | 為 OpenTelemetry 基本元件提供輕量級封裝,並內建適用於 Phoenix 的預設設定 | | [arize-phoenix-client](https://github.com/Arize-ai/phoenix/tree/main/packages/phoenix-client) | [![PyPI Version](https://img.shields.io/pypi/v/arize-phoenix-client)](https://pypi.org/project/arize-phoenix-client/) [![Docs](https://img.shields.io/badge/docs-blue?logo=readthedocs&logoColor=white)](https://arize-phoenix.readthedocs.io/projects/client/en/latest/index.html) | 透過 OpenAPI REST 介面與 Phoenix 伺服器互動的輕量級用戶端 | | [arize-phoenix-evals](https://github.com/Arize-ai/phoenix/tree/main/packages/phoenix-evals) | [![PyPI Version](https://img.shields.io/pypi/v/arize-phoenix-evals)](https://pypi.org/project/arize-phoenix-evals/) [![Docs](https://img.shields.io/badge/docs-blue?logo=readthedocs&logoColor=white)](https://arize-phoenix.readthedocs.io/projects/evals/en/latest/index.html) | 用於評估 LLM 應用程式的工具,涵蓋 RAG 相關性、回答相關性等 | ### TypeScript 子套件 | 套件 | 版本與文件 | 說明 | | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | | [@arizeai/phoenix-otel](https://github.com/Arize-ai/phoenix/tree/main/js/packages/phoenix-otel) | [![NPM Version](https://img.shields.io/npm/v/%40arizeai%2Fphoenix-otel)](https://www.npmjs.com/package/@arizeai/phoenix-otel) [![Docs](https://img.shields.io/badge/docs-blue?logo=typescript&logoColor=white)](https://arize-ai.github.io/phoenix/) | 為 OpenTelemetry 基本元件提供輕量級封裝,並內建適用於 Phoenix 的預設設定 | | [@arizeai/phoenix-client](https://github.com/Arize-ai/phoenix/tree/main/js/packages/phoenix-client) | [![NPM Version](https://img.shields.io/npm/v/%40arizeai%2Fphoenix-client)](https://www.npmjs.com/package/@arizeai/phoenix-client) [![Docs](https://img.shields.io/badge/docs-blue?logo=typescript&logoColor=white)](https://arize-ai.github.io/phoenix/) | Arize Phoenix API 用戶端 | | [@arizeai/phoenix-evals](https://github.com/Arize-ai/phoenix/tree/main/js/packages/phoenix-evals) | [![NPM Version](https://img.shields.io/npm/v/%40arizeai%2Fphoenix-evals)](https://www.npmjs.com/package/@arizeai/phoenix-evals) [![Docs](https://img.shields.io/badge/docs-blue?logo=typescript&logoColor=white)](https://arize-ai.github.io/phoenix/) | 適用於 LLM 應用程式的 TypeScript 評估函式庫(Alpha 版) | | [@arizeai/phoenix-cli](https://github.com/Arize-ai/phoenix/tree/main/js/packages/phoenix-cli) | [![NPM Version](https://img.shields.io/npm/v/%40arizeai%2Fphoenix-cli)](https://www.npmjs.com/package/@arizeai/phoenix-cli) [![Docs](https://img.shields.io/badge/docs-blue?logo=typescript&logoColor=white)](https://arize.com/docs/phoenix/sdk-api-reference/typescript/arizeai-phoenix-cli) | 用於擷取追蹤、資料集與實驗的 CLI,可搭配 Claude Code、Cursor 及其他程式設計代理使用 | ## 追蹤整合 Phoenix 建構於 OpenTelemetry 之上,不受限於特定供應商、程式語言或框架。如需追蹤整合與範例應用程式的詳細資訊,請參閱 [OpenInference](https://github.com/Arize-ai/openinference) 專案與 [整合文件](https://arize.com/docs/phoenix/integrations)。 **Python 整合** | | 整合 | 套件 | 版本 | |:---:|---|---|---| | | [OpenAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/openai) | `openinference-instrumentation-openai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openai) | | | [OpenAI Agents](https://arize.com/docs/phoenix/tracing/integrations-tracing/openai-agents-sdk) | `openinference-instrumentation-openai-agents` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openai-agents.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openai-agents) | | | [LlamaIndex](https://arize.com/docs/phoenix/tracing/integrations-tracing/llamaindex) | `openinference-instrumentation-llama-index` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-llama-index.svg)](https://pypi.python.org/pypi/openinference-instrumentation-llama-index) | | | [DSPy](https://arize.com/docs/phoenix/tracing/integrations-tracing/dspy) | `openinference-instrumentation-dspy` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-dspy.svg)](https://pypi.python.org/pypi/openinference-instrumentation-dspy) | | | [AWS Bedrock](https://arize.com/docs/phoenix/tracing/integrations-tracing/bedrock) | `openinference-instrumentation-bedrock` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-bedrock.svg)](https://pypi.python.org/pypi/openinference-instrumentation-bedrock) | | | [LangChain](https://arize.com/docs/phoenix/tracing/integrations-tracing/langchain) | `openinference-instrumentation-langchain` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-langchain.svg)](https://pypi.python.org/pypi/openinference-instrumentation-langchain) | | | [LangGraph](https://arize.com/docs/phoenix/integrations/python/langgraph) | `openinference-instrumentation-langchain` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-langchain.svg)](https://pypi.python.org/pypi/openinference-instrumentation-langchain) | | | [MistralAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/mistralai) | `openinference-instrumentation-mistralai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-mistralai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-mistralai) | | | [Cohere](https://arize.com/docs/phoenix/integrations/llm-providers/cohere) | `openinference-instrumentation-cohere` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-cohere.svg)](https://pypi.python.org/pypi/openinference-instrumentation-cohere) | | | [Together AI](https://arize.com/docs/phoenix/integrations/llm-providers/together) | `openinference-instrumentation-together` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-together.svg)](https://pypi.python.org/pypi/openinference-instrumentation-together) | | | [Ollama](https://arize.com/docs/phoenix/integrations/llm-providers/ollama) | `openinference-instrumentation-ollama` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-ollama.svg)](https://pypi.python.org/pypi/openinference-instrumentation-ollama) | | | [Google GenAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/google-gen-ai) | `openinference-instrumentation-google-genai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-google-genai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-google-genai) | | | [Google ADK](https://arize.com/docs/phoenix/integrations/llm-providers/google-gen-ai/google-adk-tracing) | `openinference-instrumentation-google-adk` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-google-adk.svg)](https://pypi.python.org/pypi/openinference-instrumentation-google-adk) | | | [Guardrails](https://arize.com/docs/phoenix/tracing/integrations-tracing/guardrails) | `openinference-instrumentation-guardrails` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-guardrails.svg)](https://pypi.python.org/pypi/openinference-instrumentation-guardrails) | | | [VertexAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/vertexai) | `openinference-instrumentation-vertexai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-vertexai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-vertexai) | | | [CrewAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/crewai) | `openinference-instrumentation-crewai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-crewai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-crewai) | | | [Haystack](https://arize.com/docs/phoenix/tracing/integrations-tracing/haystack) | `openinference-instrumentation-haystack` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-haystack.svg)](https://pypi.python.org/pypi/openinference-instrumentation-haystack) | | | [LiteLLM](https://arize.com/docs/phoenix/tracing/integrations-tracing/litellm) | `openinference-instrumentation-litellm` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-litellm.svg)](https://pypi.python.org/pypi/openinference-instrumentation-litellm) | | | [OpenRouter](https://arize.com/docs/phoenix/integrations/llm-providers/openrouter) | `openinference-instrumentation-openai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openai) | | | [OrcaRouter](https://arize.com/docs/phoenix/integrations/llm-providers/orcarouter) | `openinference-instrumentation-openai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openai) | | | [Groq](https://arize.com/docs/phoenix/tracing/integrations-tracing/groq) | `openinference-instrumentation-groq` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-groq.svg)](https://pypi.python.org/pypi/openinference-instrumentation-groq) | | | [Instructor](https://arize.com/docs/phoenix/tracing/integrations-tracing/instructor) | `openinference-instrumentation-instructor` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-instructor.svg)](https://pypi.python.org/pypi/openinference-instrumentation-instructor) | | | [Anthropic](https://arize.com/docs/phoenix/tracing/integrations-tracing/anthropic) | `openinference-instrumentation-anthropic` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-anthropic.svg)](https://pypi.python.org/pypi/openinference-instrumentation-anthropic) | | | [Smolagents](https://huggingface.co/docs/smolagents/en/tutorials/inspect_runs) | `openinference-instrumentation-smolagents` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-smolagents.svg)](https://pypi.python.org/pypi/openinference-instrumentation-smolagents) | | | [Agno](https://arize.com/docs/phoenix/tracing/integrations-tracing/agno) | `openinference-instrumentation-agno` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-agno.svg)](https://pypi.python.org/pypi/openinference-instrumentation-agno) | | | [BeeAI](https://arize.com/docs/phoenix/integrations/python/beeai) | `openinference-instrumentation-beeai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-beeai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-beeai) | | | [Strands Agents](https://arize.com/docs/phoenix/integrations/python/strands-agents) | `openinference-instrumentation-strands-agents` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-strands-agents.svg)](https://pypi.python.org/pypi/openinference-instrumentation-strands-agents) | | | [Restate](https://arize.com/docs/phoenix/integrations/python/restate) | `openinference-instrumentation-openai-agents` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openai-agents.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openai-agents) | | | [MCP](https://arize.com/docs/phoenix/tracing/integrations-tracing/model-context-protocol-mcp) | `openinference-instrumentation-mcp` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-mcp.svg)](https://pypi.python.org/pypi/openinference-instrumentation-mcp) | | | [Pydantic AI](https://arize.com/docs/phoenix/integrations/python/pydantic) | `openinference-instrumentation-pydantic-ai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-pydantic-ai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-pydantic-ai) | | | [AG2](https://arize.com/docs/phoenix/integrations/python/ag2) | `openinference-instrumentation-ag2` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-ag2.svg)](https://pypi.python.org/pypi/openinference-instrumentation-ag2) | | | [Autogen AgentChat](https://arize.com/docs/phoenix/integrations/frameworks/autogen/autogen-tracing) | `openinference-instrumentation-autogen-agentchat` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-autogen-agentchat.svg)](https://pypi.python.org/pypi/openinference-instrumentation-autogen-agentchat) | | | [Portkey](https://arize.com/docs/phoenix/integrations/portkey) | `openinference-instrumentation-portkey` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-portkey.svg)](https://pypi.python.org/pypi/openinference-instrumentation-portkey) | | | [Agent Spec](https://arize.com/docs/phoenix/tracing/integrations-tracing/agentspec) | `openinference-instrumentation-agentspec` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-agentspec.svg)](https://pypi.python.org/pypi/openinference-instrumentation-agentspec) | | | [Claude Agent SDK](https://arize.com/docs/phoenix/integrations/python/claude-agent-sdk) | `openinference-instrumentation-claude-agent-sdk` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-claude-agent-sdk.svg)](https://pypi.python.org/pypi/openinference-instrumentation-claude-agent-sdk) | | | [TypeSafe AI](https://arize.com/docs/phoenix/integrations/llm-providers/typesafe/typesafe-python) | `openinference-instrumentation-typesafe` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-typesafe.svg)](https://pypi.python.org/pypi/openinference-instrumentation-typesafe) | ## Span 處理器 透過新增可統一資料的 Span 處理器,將來自其他檢測函式庫的資料進行正規化與轉換。 | 套件 | 說明 | 版本 | | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [`openinference-instrumentation-openlit`](https://pypi.org/project/openinference-instrumentation-openlit/) | 適用於 OpenLIT 追蹤資料的 OpenInference Span 處理器。 | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openlit.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openlit) | | [`openinference-instrumentation-openllmetry`](https://pypi.org/project/openinference-instrumentation-openllmetry/) | 適用於 OpenLLMetry (Traceloop) 追蹤資料的 OpenInference Span 處理器。 | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openllmetry.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openllmetry) | ### JavaScript 整合 | | 整合 | 套件 | 版本 | | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | [OpenAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/openai-node-sdk) | `@arizeai/openinference-instrumentation-openai` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-instrumentation-openai.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-openai) | | | [OpenAI Agents](https://arize.com/docs/phoenix/integrations/typescript/openai-agents) | `@arizeai/openinference-instrumentation-openai-agents` | [![NPM Version](https://img.shields.io/npm/v/@arizeai%2Fopeninference-instrumentation-openai-agents.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-openai-agents) | | | [LangChain.js](https://arize.com/docs/phoenix/tracing/integrations-tracing/langchain) | `@arizeai/openinference-instrumentation-langchain` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-instrumentation-langchain.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-langchain) | | | [TanStack AI](https://arize.com/docs/phoenix/integrations/typescript/tanstack-ai) | `@arizeai/openinference-tanstack-ai` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-tanstack-ai.svg)](https://www.npmjs.com/package/@arizeai/openinference-tanstack-ai) | | | [Vercel AI SDK](https://arize.com/docs/phoenix/tracing/integrations-tracing/vercel-ai-sdk) | `@arizeai/openinference-vercel` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-vercel)](https://www.npmjs.com/package/@arizeai/openinference-vercel) | | | [BeeAI](https://arize.com/docs/phoenix/tracing/integrations-tracing/beeai) | `@arizeai/openinference-instrumentation-beeai` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-instrumentation-beeai.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-beeai) | | | [Claude Agent SDK](https://arize.com/docs/phoenix/integrations/typescript/claude-agent-sdk) | `@arizeai/openinference-instrumentation-claude-agent-sdk` | [![NPM Version](https://img.shields.io/npm/v/@arizeai%2Fopeninference-instrumentation-claude-agent-sdk.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-claude-agent-sdk) | | | [Mastra](https://arize.com/docs/phoenix/integrations/typescript/mastra) | `@mastra/arize` | [![NPM Version](https://img.shields.io/npm/v/@mastra/arize.svg)](https://www.npmjs.com/package/@mastra/arize) | | | [MCP](https://arize.com/docs/phoenix/integrations/typescript/mcp) | `@arizeai/openinference-instrumentation-mcp` | [![NPM Version](https://img.shields.io/npm/v/@arizeai%2Fopeninference-instrumentation-mcp.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-mcp) | | | [TypeSafe AI](https://arize.com/docs/phoenix/integrations/llm-providers/typesafe/typesafe-typescript) | `@arizeai/openinference-instrumentation-typesafe` | [![NPM Version](https://img.shields.io/npm/v/@arizeai%2Fopeninference-instrumentation-typesafe.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-typesafe) | ### Java 整合 | | 整合 | 套件 | 版本 | | :-------------------------------------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | [LangChain4j](https://github.com/Arize-ai/openinference/tree/main/java/instrumentation/openinference-instrumentation-langchain4j) | `openinference-instrumentation-langchain4j` | [![Maven Central](https://img.shields.io/maven-central/v/com.arize/openinference-instrumentation-langchain4j.svg)](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-langchain4j) | | | SpringAI | `openinference-instrumentation-springAI` | [![Maven Central](https://img.shields.io/maven-central/v/com.arize/openinference-instrumentation-springAI.svg)](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-springAI) | | | [Arconia](https://docs.arconia.io/arconia/latest/observability/semantic-conventions/openinference/) (適用於 Spring AI) | `io.arconia:arconia-openinference-semantic-conventions` | [![Maven Central](https://img.shields.io/maven-central/v/io.arconia/arconia-openinference-ai-semantic-conventions.svg)](https://central.sonatype.com/artifact/io.arconia/arconia-openinference-ai-semantic-conventions) | | | [Google ADK](https://arize.com/docs/phoenix/integrations/java/google-adk/google-adk-tracing) | `openinference-instrumentation-adk-java` | [![Maven Central](https://img.shields.io/maven-central/v/com.arize/openinference-instrumentation-adk-java.svg)](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-adk-java) | ### Go 整合 | | 整合 | 套件 | 版本 | | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | [OpenAI](https://github.com/Arize-ai/openinference/tree/main/go/openinference-instrumentation-openai-go) | `github.com/Arize-ai/openinference/go/openinference-instrumentation-openai-go` | [![Go Reference](https://pkg.go.dev/badge/github.com/Arize-ai/openinference/go/openinference-instrumentation-openai-go.svg)](https://pkg.go.dev/github.com/Arize-ai/openinference/go/openinference-instrumentation-openai-go) | | | [Anthropic](https://github.com/Arize-ai/openinference/tree/main/go/openinference-instrumentation-anthropic-sdk-go) | `github.com/Arize-ai/openinference/go/openinference-instrumentation-anthropic-sdk-go` | [![Go Reference](https://pkg.go.dev/badge/github.com/Arize-ai/openinference/go/openinference-instrumentation-anthropic-sdk-go.svg)](https://pkg.go.dev/github.com/Arize-ai/openinference/go/openinference-instrumentation-anthropic-sdk-go) | ### 平台 | | 平台 | 說明 | 文件 | | :----------------------------------------------------------------------------------------------: | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | | [BeeAI](https://docs.beeai.dev/observability/agents-traceability) | 內建可觀測性的 AI 代理框架 | [整合指南](https://docs.beeai.dev/observability/agents-traceability) | | | [Dify](https://docs.dify.ai/en/guides/monitoring/integrate-external-ops-tools/integrate-phoenix) | 開源 LLM 應用程式開發平台 | [整合指南](https://docs.dify.ai/en/guides/monitoring/integrate-external-ops-tools/integrate-phoenix) | | | [Envoy AI Gateway](https://github.com/envoyproxy/ai-gateway) | 以 Envoy Proxy 為基礎、專為 AI 工作負載打造的 AI 閘道 | [整合指南](https://github.com/envoyproxy/ai-gateway/tree/main/cmd/aigw#opentelemetry-setup-with-phoenix) | | | [LangFlow](https://arize.com/docs/phoenix/tracing/integrations-tracing/langflow) | 用於建構多代理與 RAG 應用程式的視覺化框架 | [整合指南](https://arize.com/docs/phoenix/tracing/integrations-tracing/langflow) | | | [LiteLLM Proxy](https://docs.litellm.ai/docs/observability/phoenix_integration#using-with-litellm-proxy) | LLM 代理伺服器 | [整合指南](https://docs.litellm.ai/docs/observability/phoenix_integration#using-with-litellm-proxy) | | | [Flowise](https://arize.com/docs/phoenix/integrations/platforms/flowise) | 用於建構 LLM 應用程式的視覺化框架 | [整合指南](https://arize.com/docs/phoenix/integrations/platforms/flowise) | | | [Prompt Flow](https://arize.com/docs/phoenix/integrations/platforms/prompt-flow) | Microsoft 的 Prompt Flow 編排工具 | [整合指南](https://arize.com/docs/phoenix/integrations/platforms/prompt-flow) | | | [NVIDIA NeMo](https://arize.com/docs/phoenix/integrations/python/nvidia) | 適用於企業級代理的 NVIDIA NeMo Agent Toolkit | [整合指南](https://arize.com/docs/phoenix/integrations/python/nvidia) | | | [Graphite](https://arize.com/docs/phoenix/integrations/python/graphite) | 具備視覺化建構工具的多代理 LLM 工作流程框架 | [整合指南](https://arize.com/docs/phoenix/integrations/python/graphite) | ### 向量資料庫 | 整合 | 說明 | 文件 | | ----------------------------------------------------------------------------------- | ---------------------------------------------------- | --------------------------------------------------------------------------------------- | | [Qdrant](https://arize.com/docs/phoenix/integrations/vector-databases/qdrant) | 針對稠密、稀疏與 RRF 分階段混合搜尋的追蹤 | [整合指南](https://arize.com/docs/phoenix/integrations/vector-databases/qdrant) | ## 沙箱 在託管式沙箱供應商中執行 Phoenix [程式碼評估器](https://arize.com/docs/phoenix/evaluation/server-evals/code-evaluators),以取得核心層級的隔離,並可在執行時安裝相依套件。 | 整合 | 說明 | 文件 | | --------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | [E2B](https://arize.com/docs/phoenix/integrations/sandboxes/e2b) | 適用於 AI 生成程式碼的託管式 micro-VM 沙箱 | [整合指南](https://arize.com/docs/phoenix/integrations/sandboxes/e2b) | | [Daytona](https://arize.com/docs/phoenix/integrations/sandboxes/daytona) | 支援快照啟動的託管式開發沙箱 | [整合指南](https://arize.com/docs/phoenix/integrations/sandboxes/daytona) | | [Vercel Sandbox](https://arize.com/docs/phoenix/integrations/sandboxes/vercel) | 在 Vercel 基礎架構上執行的臨時運算資源 | [整合指南](https://arize.com/docs/phoenix/integrations/sandboxes/vercel) | | [Modal](https://arize.com/docs/phoenix/integrations/sandboxes/modal) | 無伺服器、以 Python 為優先的容器平台 | [整合指南](https://arize.com/docs/phoenix/integrations/sandboxes/modal) | | [Docker Sandboxes](https://arize.com/docs/phoenix/integrations/sandboxes/docker) | 由 Docker 託管的雲端沙箱 | [整合指南](https://arize.com/docs/phoenix/integrations/sandboxes/docker) | ## 適用於人類與程式設計代理 Phoenix 的設計讓人類與 AI 程式設計代理都能操作。代理(Claude Code、Codex、Cursor 等)可透過以下三種介面處理您的追蹤、資料集與實驗: - **[CLI](https://arize.com/docs/phoenix/sdk-api-reference/typescript/arizeai-phoenix-cli)** — `npx @arizeai/phoenix-cli` 可擷取追蹤、資料集與實驗,並為您的應用程式加上檢測(`setup`),讓代理能在終端機中取得情境並採取行動。 - **[Skills](https://docs.anthropic.com/en/docs/claude-code/skills)** — [`skills/`](../../skills/) 封裝了多種工作流程,教導代理如何使用 Phoenix 進行除錯、評估與追蹤。 - **[遠端 MCP 伺服器](https://arize.com/docs/phoenix/integrations/mcp#remote-mcp-server)** — 將任何 MCP 用戶端連線至執行個體的 `/mcp` 端點,直接查詢 Phoenix。 如需設定與使用方式,請參閱 [程式設計代理文件](https://arize.com/docs/phoenix/integrations/developer-tools/coding-agents)。 | 技能 | 說明 | | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | | [phoenix-cli](../../skills/phoenix-cli/) | 使用 Phoenix CLI 除錯 LLM 應用程式 — 擷取追蹤、分析錯誤、檢視實驗,並查詢 GraphQL API | | [phoenix-evals](../../skills/phoenix-evals/) | 使用 Phoenix 為 AI/LLM 應用程式建構並執行評估器 | | [phoenix-tracing](../../skills/phoenix-tracing/) | 用於追蹤 LLM 應用程式的 OpenInference 語意慣例與檢測 | ## 安全性與隱私權 我們非常重視資料安全與隱私權。如需更多詳細資訊,請參閱我們的 [安全性與隱私權文件](https://arize.com/docs/phoenix/self-hosting/security/privacy)。 ### 遙測 根據預設,Phoenix 會收集基本的網站分析資料(例如頁面瀏覽次數、UI 互動),以協助我們了解 Phoenix 的使用方式並改善產品。**我們絕不會收集您的任何追蹤資料、評估結果或任何敏感資訊。** 您可以設定以下環境變數來停用遙測:`PHOENIX_TELEMETRY_ENABLED=false` ## 社群 加入我們的社群,與數千名 AI 開發者交流。 - 🌍 加入我們的 [Slack 社群](https://join.slack.com/t/arize-ai/shared_invite/zt-3r07iavnk-ammtATWSlF0pSrd1DsMW7g)。 - 📚 閱讀我們的 [文件](https://arize.com/docs/phoenix)。 - 💡 在 _#phoenix-support_ 頻道提出問題並提供意見回饋。 - 🌟 在 [GitHub](https://github.com/Arize-ai/phoenix) 上為我們加星。 - 🐞 透過 [GitHub Issues](https://github.com/Arize-ai/phoenix/issues) 回報錯誤。 - 𝕏 在 [𝕏](https://twitter.com/ArizePhoenix) 上追蹤我們。 - 💼 在 [LinkedIn](https://www.linkedin.com/showcase/113218220) 上追蹤我們。 - 🗺️ 查看我們的 [發展藍圖](https://github.com/orgs/Arize-ai/projects/45),了解未來的方向。 - 🧑‍🏫 在 Arize 的 Learning Hub 深入了解 [代理](http://arize.com/ai-agents/) 與 [LLM 評估](https://arize.com/llm-evaluation) 的一切。 ## 重大變更 如需重大變更清單,請參閱 [遷移指南](../../MIGRATION.md)。 ## 著作權、專利與授權 Copyright 2025 Arize AI, Inc. All Rights Reserved. 本程式碼的部分內容受一項或多項美國專利保護。請參閱 [IP_NOTICE](https://github.com/Arize-ai/phoenix/blob/main/IP_NOTICE)。 本軟體依據 Elastic License 2.0 (ELv2) 條款授權。請參閱 [LICENSE](https://github.com/Arize-ai/phoenix/blob/main/LICENSE)。 ## Star History Phoenix is fully open source and built in the open. If it helps you, please [⭐ star the repo](https://github.com/Arize-ai/phoenix) to support the project. Star History Chart