Skip to main content

CLI Reference

Full documentation

npm

Install from npm

Overview

The Phoenix CLI now supports datasets, experiments, and annotations. You can pull evaluation data, experiment results, and human feedback directly into your terminal or pipe them into AI coding assistants.

Common Workflows

Analyze Dataset Examples

Pull test cases for review:

Review Experiment Results

Check evaluation results:

Use Annotations

Access human feedback on traces:

Export for Analysis

Save data to files for further processing:

Dataset and Experiment Commands

Datasets

Experiments

Annotations

Example: Reviewing Experiment Results

Get data from an experiment and dataset:
You can then ask an AI assistant to review the experiment results or analyze patterns in the dataset.

Installation

Or run directly:

Upgrading

If you already have the CLI installed, upgrade to 0.2.0 or later:
Check your version:

Feedback

Share feedback or contribute on GitHub.