Using Code Evaluators in Phoenix @arizeai
Using Code Evaluators in Phoenix  @arizeai
Uploaded May 2026 | Updated September 2026, 2 weeks ago
In this walkthrough, Mikyo from the Phoenix open source team introduces code evaluators with sandboxed execution — now natively supported in Arize Phoenix.
Code evaluators let you write custom logic in Python or TypeScript to score your model outputs, no LLM-as-a-judge required (unless you want one). To run that code safely, Phoenix ships with two flavors of sandboxes:

Local sandboxes — WebAssembly and Deno, running directly on Phoenix with no network or third-party module access. Great for lightweight checks.
Hosted sandboxes — day-one support for E2B, Daytona, Vercel, and Modal, with network access and third-party libraries for more elaborate evaluation strategies.

Using a recipe-generation dataset as a running example, Mikyo walks through five evaluation patterns you can build with code evaluators:

Regex-based checks (a no-emoji evaluator running on WebAssembly)
Cosine similarity against a reference, using OpenAI embeddings inside a Daytona sandbox
Pairwise LLM-as-a-judge with position shuffling to reduce ordering bias
Composite evaluators that combine multiple weighted criteria (e.g., deliciousness + clarity) into a single score
LLM juries that aggregate judgments from multiple model providers (Anthropic + OpenAI) to get more balanced verdicts

Each evaluator is configured directly in the Phoenix UI, with sandbox providers, environment variables, and dependencies managed through sandbox configurations.
Try it out in Phoenix and let us know what you build.
🔗 Phoenix: phoenix.arize.com
📖 Docs: docs.arize.com/phoenix
#LLMEvaluation #AIObservability #Phoenix #ArizeAI
Using Code Evaluators in PhoenixFrameworks for Building Agents PanelMaking a Dataset from Failing Traces with Phoenix and PXIHow to build planning into your agentWhen AI Agents Fail in Production: Oracle, CA DMV & TripadvisorAG2 - Agents for Production EngineeringTriaging Agent Errors with Phoenix and PXIYour Next User Is Not a HumanWhy Most AI Agents Fail—and How Anthropic Builds Reliable Ones | Arize Observe 2026Prompt Optimization TechniquesHow to Build the Right Evals for AI Agents | Arize PhoenixMulti-Agent Frameworks: Building & Debugging with Groq and LlamaIndex
Arize AI |

Using Code Evaluators in Phoenix

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER