Arize Phoenix alternative: Arize Phoenix vs Amiril
Amiril is an Arize Phoenix alternative that reads the OpenInference spans you send to Phoenix and checks each tool call against your rules before it runs.
Amiril is an Arize Phoenix alternative that reads the OpenInference spans you send to Phoenix and checks each tool call against your rules before it runs.
Amiril's guide to tracing a LangGraph agent has you install openinference-instrumentation-langchain, which is Arize's package and the same one that feeds Phoenix. Switching to Amiril as your Arize Phoenix alternative leaves that instrumentation as it is, and the difference shows up after a span has landed. In Amiril, runs with the same problem are grouped into an issue, and a rule drafted from that issue, once you publish it, is checked inside the agent before its next tool call goes out.
Phoenix is Arize's open-source tracer and eval tool, under the Elastic License 2.0. You can have it running on a laptop with uvx arize-phoenix serve, or put it in Docker or on Kubernetes, and the traces never leave your machines. Arize says there is no closed core and no Phoenix feature held back for its paid product.
Its docs describe four parts. Tracing takes spans over OTLP, and Arize's OpenInference packages instrument LangChain, LlamaIndex, the Vercel AI SDK and others in Python, TypeScript and Java. Evals grade traces and spans with an LLM judge, with code, or with a person's label, and Ragas, Deepeval and Cleanlab evaluators plug in. A prompt playground versions prompts and replays a span with different inputs. Datasets and experiments rerun the same inputs through a new version of the app and compare the results. A built-in assistant called PXI helps debug traces and rework prompts.
Arize's paid product is Arize AX, the managed platform built on the same OpenTelemetry and OpenInference core. On the pricing page AX Free includes 25,000 spans a month kept for 15 days, and AX Pro is $50 a month for 50,000 spans kept for 30 days. AX has monitors that alert email, Slack, PagerDuty, OpsGenie, Teams or a webhook when a metric crosses a threshold, and a scheduled job that groups recurring failures into issues.
Arize's own comparison of Phoenix and AX marks monitors and alerts in Phoenix as "Team-built via Phoenix APIs". The job that groups failures into issues is part of AX, and Phoenix teams build their own scheduled reviews.
None of the four parts on Phoenix's feature list stops a call. Arize's cookbook on realtime guardrails states that "Arize AX doesn't block requests" and that "your app does". What Arize offers is a way to record each guardrail check as a GUARDRAIL span and measure its latency and false positives. The guardrails in that cookbook look at the user's message, for PII and prompt injection, and at the model's reply, for a leaked system prompt.
None of those checks looks at a tool call, so when an email that claims to be from a supplier gives a payables agent a new bank account, nothing stands between the agent and issue_payment. It pays the new account and never calls verify_payee. Phoenix records that trace in full, with the TOOL span and its arguments, and any eval that labels it an unverified payment runs after issue_payment has returned.
| Amiril | Arize Phoenix | |
|---|---|---|
| Rules checked before a tool call runs | Yes, in the agent's own process, through the SDK for LangGraph, Google ADK, LiveKit or your own Python or TypeScript loop | Not on Phoenix's feature list; Arize says "your app does" the blocking |
| OpenTelemetry | OTLP over HTTP; reads OpenInference, the GenAI conventions and OpenLLMetry | Built on OpenTelemetry and OpenInference |
| Rules drafted from the agent's own history | Rule suggestions drafted from issues | No rules; you pick or write the evaluators that grade traces |
| Try a change before it acts | Shadow mode and Test on past calls | Experiments rerun a dataset through a new version |
| Problems grouped across runs | Issues, each with a severity and a state: Open, Resolved or Ignored | A scheduled job in Arize AX groups recurring failures; Phoenix has none built in |
| Alerts | Slack: a daily digest, and a message when an issue forms at High or above | Monitors in Arize AX; Phoenix users build their own |
| Traces in | OpenTelemetry, LangGraph, Google ADK, LiveKit, OpenAI Agents SDK, CrewAI, Anthropic SDK, Claude Agent SDK, Langfuse exports | OTLP; LlamaIndex, LangChain, DSPy, Mastra, Vercel AI SDK, OpenAI, Bedrock, Anthropic |
| Starting price | Free plan; Team $249 a month | Phoenix free to self-host; AX Free, then AX Pro at $50 a month |
An Amiril rule is a short block of text. This one refuses a payment unless the same run verified that payee first:
@id("verify-before-pay") @sentence("{payee} was not verified earlier in this run") block ( agent == "payables", tool == "issue_payment" ) unless { verify_payee{ args.payee == call.args.payee } };
The verify_payee{ ... } clause looks back through the run for an earlier call with the same payee. Other rules can count calls per invoice with @per, or add up amounts across a whole conversation with @scope("session") and sum, and the rule language tour walks through both. The Amiril SDK keeps a copy of your published rules in the agent's process and checks each call against it, with no network request. On a block, issue_payment doesn't run, and the model reads "The call to issue_payment was not performed" followed by the rule's sentence and an instruction not to retry.
Most rules start as a rule suggestion. Amiril ranks each run by rarity against that agent's own history, and runs that share a problem become an issue. An AI model reads a sample of them and drafts a rule. Amiril keeps the draft only if it catches some of the issue's runs and fires on at most one in a hundred of the agent's other runs, and before the rule blocks anything, Test on past calls lists each of those. The suggestion shows its effect on the issue's own runs, as in "Would have blocked 4 of 5 runs", with Create rule to open the draft in the editor.
A published rule starts in Shadow, checking every call and recording what it would have done while the call goes ahead. Test on past calls replays any version over the last 24 hours, 7 days or 30 days and lists each call it would have fired on. When the list holds only payments you meant to stop, switch it to Enforce. Running agents pick up a new version within about a minute, with no redeploy, and keep enforcing the last rules they had if Amiril can't be reached.
The agents that most need an Arize Phoenix alternative have tools that can pay, delete or book. A bad call to one of those tools has to be refused before it runs, and an if in the tool code does that only for the one case you already know about. Amiril finds the cases you haven't seen yet in your own runs and drafts a rule for each. Rules run in the Amiril SDK, which has adapters for LangGraph, Google ADK and LiveKit and wraps the tools of an agent loop you wrote yourself in Python or TypeScript, and the AI agent guardrails page covers how that works.
Each run's rarity is measured against its own agent's history and shown as a standing such as Top 6%, so the first run you open is the least like the rest. An issue stays open until it is resolved or ignored, and each run gets an outcome once you say what counts as success for its agent. There's more on that half on the agent observability page.
Arize writes that an app instrumented for Phoenix can send the same data to Arize AX without re-instrumenting, "or even at both when needed". An OpenTelemetry tracer provider takes more than one exporter, so the OpenInference spans can go to Phoenix and to Amiril at once:
import os
from openinference.instrumentation.langchain import LangChainInstrumentor
from opentelemetry import trace
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
provider = TracerProvider()
# Phoenix, started with `uvx arize-phoenix serve`
phoenix = OTLPSpanExporter(endpoint="http://localhost:6006/v1/traces")
provider.add_span_processor(BatchSpanProcessor(phoenix))
# Amiril, with the endpoint and key from the Data page
amiril = OTLPSpanExporter(
endpoint="<OpenTelemetry traces endpoint>",
headers={"Authorization": f"Bearer {os.environ['AMIRIL_API_KEY']}"},
)
provider.add_span_processor(BatchSpanProcessor(amiril))
trace.set_tracer_provider(provider)
LangChainInstrumentor().instrument(tracer_provider=provider)Phoenix serves OTLP over HTTP on port 6006, the same port as its UI. Amiril's exporter gets its own endpoint and key in code, which keeps the Amiril key out of the requests to Phoenix. Amiril reads OpenInference spans as they come, so nothing in the instrumentation changes. Once runs show up, add the SDK where the agent builds its tools.
No. Phoenix's feature list covers tracing, evals, prompts, and datasets and experiments, and Arize's guardrails cookbook says blocking is left to your app. Amiril checks each tool call against your rules before it runs.
Yes. Both take OpenTelemetry, and Amiril reads OpenInference spans, so you add a second exporter to the tracer provider you already have. The OpenTelemetry guide lists the attributes Amiril reads.
Phoenix is free to self-host. Hosted Arize AX has a free tier and Pro at $50 a month for 50,000 spans. Amiril has a free plan and Team at $249 a month. See pricing.
You can move one agent at a time: give it Amiril's exporter next to Phoenix's, and once its runs appear, put the SDK around its tools so its rules can refuse calls, while the other agents keep reporting to Phoenix alone.
To start, create a key on the Data page and point a second exporter at Amiril, as the OpenTelemetry guide shows.