Phoenix是一个开源的人工智能可观察性平台,专为实验、评估和故障排除而设计。它提供:
- _追踪_ -使用基于OpenTetry的仪器跟踪LLM应用程序的运行时。
- _评估_ -利用LLM使用响应和检索评估来基准测试应用程序的性能。
- _数据集_ -创建版本化的示例数据集,用于实验、评估和微调。
- _实验_ -跟踪和评估对提示、LLM和检索的更改。
- _操场_-优化提示、比较模型、调整参数和重放跟踪的LLM调用。
- _提示管理_-使用版本控制、标记和实验系统地管理和测试提示更改。
Phoenix几乎可以在任何地方运行,包括您的本地机器、Jupyter笔记本、容器化部署或云中。
安装
通过以下方式安装Phoenix pip 或 conda
pip install arize-phoenixPhoenix容器图像可通过以下方式获得 并且可以使用Docker或Kubernetes进行部署。Arize AI还提供云实例 app.phoenix.arize.com.
包装
这 arize-phoenix 该套餐包括整个Phoenix平台。然而,如果你已经部署了Phoenix平台,那么有轻量级的Python子包和TypeScript包可以与该平台结合使用。
Python子包
| 包 | 版本和文档 | 描述 |
|---|
TypeScript子包
| 包 | 版本和文档 | 描述 |
|---|
跟踪集成
Phoenix建立在OpenTetry之上,与供应商、语言和框架无关。有关跟踪集成和示例应用程序的详细信息,请参阅 开放推理 项目。
Python集成
| 集成 | 包 | 版本 | |
|---|---|---|---|
| 开放人工智能 | openinference-instrumentation-openai | ](https://pypi.python.org/pypi/openinference-instrumentation-openai) | |
| OpenAI代理 | openinference-instrumentation-openai-agents | ](https://pypi.python.org/pypi/openinference-instrumentation-openai-agents) | | | 骆驼索引 | openinference-instrumentation-llama-index | ](https://pypi.python.org/pypi/openinference-instrumentation-llama-index) | | | DSPY | openinference-instrumentation-dspy | ](https://pypi.python.org/pypi/openinference-instrumentation-dspy) | | | AWS Bedrock | openinference-instrumentation-bedrock | ](https://pypi.python.org/pypi/openinference-instrumentation-bedrock) | | | 链语言 | openinference-instrumentation-langchain | ](https://pypi.python.org/pypi/openinference-instrumentation-langchain) | | | 米斯特拉莱 | openinference-instrumentation-mistralai | ](https://pypi.python.org/pypi/openinference-instrumentation-mistralai) | | | 谷歌GenAI | openinference-instrumentation-google-genai | ](https://pypi.python.org/pypi/openinference-instrumentation-google-genai) | | | 谷歌ADK | openinference-instrumentation-google-adk | ](https://pypi.python.org/pypi/openinference-instrumentation-google-adk) | | | 护栏 | openinference-instrumentation-guardrails | ](https://pypi.python.org/pypi/openinference-instrumentation-guardrails) | | | 顶点AI | openinference-instrumentation-vertexai | ](https://pypi.python.org/pypi/openinference-instrumentation-vertexai) | | | 船员AI | openinference-instrumentation-crewai | ](https://pypi.python.org/pypi/openinference-instrumentation-crewai) | | | 干草堆 | openinference-instrumentation-haystack | ](https://pypi.python.org/pypi/openinference-instrumentation-haystack) | | | 轻量级LLM | openinference-instrumentation-litellm | ](https://pypi.python.org/pypi/openinference-instrumentation-litellm) | |
| 格罗克 | openinference-instrumentation-groq | ](https://pypi.python.org/pypi/openinference-instrumentation-groq) | | | 导师 | openinference-instrumentation-instructor | ](https://pypi.python.org/pypi/openinference-instrumentation-instructor) | |
| 人类 | openinference-instrumentation-anthropic | ](https://pypi.python.org/pypi/openinference-instrumentation-anthropic) | | | 斯莫尔特工 | openinference-instrumentation-smolagents | ](https://pypi.python.org/pypi/openinference-instrumentation-smolagents) | | | AgNO | openinference-instrumentation-agno | ](https://pypi.python.org/pypi/openinference-instrumentation-agno) | |
| 主控程序 | openinference-instrumentation-mcp | ](https://pypi.python.org/pypi/openinference-instrumentation-mcp) | | | Pydantic AI | openinference-instrumentation-pydantic-ai | ](https://pypi.python.org/pypi/openinference-instrumentation-pydantic-ai) | | | 自动生成代理Chat | openinference-instrumentation-autogen-agentchat | ](https://pypi.python.org/pypi/openinference-instrumentation-autogen-agentchat) | | | 门钥匙 | openinference-instrumentation-portkey | ](https://pypi.python.org/pypi/openinference-instrumentation-portkey) | | | 代理规格 | openinference-instrumentation-agentspec | ](https://pypi.python.org/pypi/openinference-instrumentation-agentspec) | | | Claude代理SDK | openinference-instrumentation-claude-agent-sdk | ](https://pypi.python.org/pypi/openinference-instrumentation-claude-agent-sdk) |
Span处理器
通过添加统一数据的span处理器,跨其他仪器库规范化和转换数据。
| 包 | 描述 | 版本 |
|---|---|---|
openinference-instrumentation-openlit | OpenLIT跟踪的OpenInference Span处理器。 | ](https://pypi.python.org/pypi/openinference-instrumentation-openlit) |
openinference-instrumentation-openllmetry | OpenLLMetric(Traceloop)跟踪的OpenInference Span处理器。 | ](https://pypi.python.org/pypi/openinference-instrumentation-openllmetry) |
JavaScript集成
| 集成 | 包 | 版本 | |
|---|---|---|---|
| 开放人工智能 | @arizeai/openinference-instrumentation-openai | ](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-openai) | | | LangChain.js | @arizeai/openinference-instrumentation-langchain | ](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-langchain) | |
| Vercel AI SDK | @arizeai/openinference-vercel | ](https://www.npmjs.com/package/@arizeai/openinference-vercel) | | | BeeAI | @arizeai/openinference-instrumentation-beeai | ](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-beeai) | | | Claude代理SDK | @arizeai/openinference-instrumentation-claude-agent-sdk | ](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-claude-agent-sdk) | |
| 玛斯特拉 | @mastra/arize | ](https://www.npmjs.com/package/@mastra/arize) | |
| 主控程序 | @arizeai/openinference-instrumentation-mcp | ](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-mcp) |
Java集成
| 集成 | 包 | 版本 | |
|---|---|---|---|
| 春天 | openinference-instrumentation-springAI |  |
平台
| 平台 | 描述 | 文档 | |
|---|---|---|---|
| BeeAI | 内置可观察性的AI代理框架 | 集成指南 | |
| 迪菲 | 开源LLM应用开发平台 | 集成指南 | |
| LangFlow | 用于构建多代理和RAG应用程序的可视化框架 | 集成指南 | |
| LiteLLM代理 | LLM的代理服务器 | 集成指南 | |
| 流式 | 构建LLM应用程序的可视化框架 | 集成指南 | |
| 即时流 | 微软的提示流编排工具 | 集成指南 | |
| NVIDIA NeMo | 面向企业代理的NVIDIA NeMo代理工具包 | 集成指南 | |
| 石墨 | 带有可视化构建器的多代理LLM工作流框架 | 集成指南 |
编码代理技能
此存储库包括 技能 它教编码代理如何使用Phoenix。它们位于 .agents/skills/ 并且可以与Claude Code、Cursor和其他兼容工具一起使用。
| 技能 | 描述 |
|---|---|
| 凤凰cli | 使用Phoenix CLI调试LLM应用程序-获取跟踪、分析错误、查看实验并查询GraphQL API |
| 凤凰撤离 | 使用Phoenix为AI/LLM应用程序构建和运行评估器 |
| 凤凰追踪 | 用于跟踪LLM应用程序的OpenInference语义约定和工具 |
安全与隐私
我们非常重视数据安全和隐私。有关更多详细信息,请参阅我们的 安全和隐私文件.
遥测
默认情况下,Phoenix会收集基本的网络分析(例如页面浏览量、UI交互),以帮助我们了解如何使用Phoenix并改进产品。 您的跟踪数据、评估结果或任何敏感信息都不会被收集。
您可以通过设置环境变量来选择退出遥测: PHOENIX_TELEMETRY_ENABLED=false
社区
加入我们的社区,与成千上万的人工智能建设者建立联系。
- 🌍 加入我们 Slack社区.
- 📚 阅读我们的 文档.
- 💡 在 _#凤凰支持_ 频道。
- 🌟 在我们的网站上留下一颗星 .
- 🐞 报告bug .
- 𝕏 关注我们 𝕏.
- 💼 关注我们 领英.
- 🗺️ 查看我们的 路线图 看看我们接下来要去哪里。
- 🧑🏫 深入了解一切 代理 和 法学硕士评估 Arize的学习中心。
突破性变化
请参阅 迁移指南 查看突破性变化列表。
版权、专利和许可
版权所有2025 Arize AI,股份有限公司保留所有权利。
本代码的部分内容受一项或多项美国专利的专利保护。请参阅 IP_通知.
本软件根据弹性许可证2.0(ELv2)的条款获得许可。看 许可证.
