arize-phoenix-evals
LLM Evaluations
What it is and what it does
Phoenix Evals is a framework for building and running evaluations on language model applications. It provides both pre-built evaluators (for tasks like hallucination detection, relevance scoring, and tool invocation checking) and tools to compose custom evaluators using your choice of LLM provider. The package handles input mapping for complex nested data structures and integrates with OpenTelemetry for tracing and observability.
The framework is designed to work with pandas DataFrames for batch evaluation and supports both synchronous and asynchronous evaluation modes. It has nine runtime dependencies including jsonpath-ng, openinference-instrumentation, openinference-semantic-conventions, opentelemetry-api, pandas, pydantic, pystache, tqdm, and typing-extensions. The package is actively maintained, supports Python 3.10 through 3.14, and has no known security vulnerabilities.
Use it for:
- Detect hallucinations in LLM outputs by checking whether responses are grounded in provided context.
- Score retrieved documents for relevance to user queries in retrieval-augmented generation systems.
- Evaluate whether an LLM selected and invoked the correct tool with appropriate arguments.
- Run batch evaluations on large datasets of LLM interactions stored in pandas DataFrames.
- Build custom evaluators with templated prompts and multi-choice scoring for domain-specific assessment tasks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Phoenix Evals provides composable building blocks for evaluating LLM applications, including pre-built evaluators for hallucination detection, relevance, toxicity, and other common assessment tasks.
Yes, with conditions. The package is actively maintained, has low installation friction, and provides a practical framework for LLM evaluation with both pre-built and custom evaluators. However, the Elastic-2.0 license treatment is flagged as unclear—verify the license terms for your use case before production deployment. If you need LLM evaluation capabilities and can clarify the license, this is a solid choice.
Install
arize-phoenix-evals on PyPI
pip
pip install arize-phoenix-evalsuv
uv add arize-phoenix-evalspoetry
poetry add arize-phoenix-evalsInstalling arize-phoenix-evals
Before you install
Low friction installation with a pure Python wheel. The package is actively maintained with a recent release and no known vulnerabilities, though the license treatment is unclear and may warrant review before production use.
License in practice
The package uses the Elastic-2.0 license, which is marked as having unclear treatment in the metadata. Review the license terms directly before deploying in commercial or proprietary contexts.
Quickstart
pip install arize-phoenix-evals
from phoenix.evals import create_classifier
from phoenix.evals.llm import LLM
llm = LLM(provider="openai", model="gpt-4o")
evaluator = create_classifier(
name="helpfulness",
prompt_template="Rate as helpful or not:\n\nQuery: {input}\nResponse: {output}",
llm=llm,
choices={"helpful": 1.0, "not_helpful": 0.0},
)
scores = evaluator.evaluate({"input": "How do I reset?", "output": "Go to settings > reset."})
Requires an LLM provider API key to run LLM-based evaluators; code-based evaluators work without external dependencies.
Verify before relying
- Whether Elastic-2.0 license permits commercial use without additional restrictions or obligations.
- Performance characteristics of the built-in concurrency and batching mentioned in the description.
Package facts
| License | Elastic-2.0 (unclear) |
| Python support | supports the current Python release (<3.15,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — jsonpath-ng, openinference-instrumentation, openinference-semantic-conventions, opentelemetry-api, pandas, pydantic, pystache, tqdm, typing-extensions |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 860,405/month — #4,875 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: arize_phoenix_evals-3.4.0-py3-none-any.whl
Keywords: Explainability, Monitoring, Observability
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
arize-phoenixPhoenix is an open-source AI observability…
unclear · top 5,000 on PyPI
autoevalsAutoevals provides automatic evaluation methods…
unclear · top 5,000 on PyPI
pydantic-evalsPydantic Evals provides a framework for…
permissive · top 5,000 on PyPI
openevalsOpenEvals provides a framework for writing and…
permissive · top 5,000 on PyPI
azure-ai-evaluationEvaluates generative AI application outputs…
permissive · top 15,000 on PyPI
deepevalDeepEval is an LLM evaluation framework that…
permissive · top 5,000 on PyPI
agentevalsProvides evaluators and utilities to assess…
permissive · top 15,000 on PyPI
strands-agents-evalsStrands Evals SDK provides a comprehensive…
permissive · top 15,000 on PyPI
cleanlab-tlmCleanlab TLM scores the trustworthiness of LLM…
permissive · top 15,000 on PyPI
evalplusEvalPlus provides a rigorous evaluation…
permissive · top 15,000 on PyPI