Skip to main content

What You Can Do

The osmosis-ai CLI enables you to:
  • Test rubric stability - Run the same rubric against the same data multiple times to verify scoring consistency (see multiple runs)
  • Compare rubrics - Evaluate different rubrics side-by-side to choose the best one for your use case (see comparison)
Ready-to-use examples are available in the SDK’s examples/ folder. Let’s get started!

Installation

Access the CLI with:

5-Minute Workflow

Step 1: Create a Rubric Configuration

Create rubric_configs.yaml:

Step 2: Prepare Your Dataset

Create sample_data.jsonl:

Step 3: Set API Key

Step 4: Preview Configuration

Validate your setup:

Step 5: Run Evaluation

Understanding Output

Console:
JSON File: Results are saved to ~/.cache/osmosis/eval_result/helpfulness/

Advanced Usage

Multiple evaluation runs

Test rubric stability by running multiple evaluations:

Compare rubrics

Compare two different rubrics to find the best one:
Custom output location:

Tips

The CLI auto-discovers rubric_configs.yaml in your current directory, data directory, or ./examples/.
Never commit API keys. Always use environment variables.

Next Steps

CLI Reference

Complete CLI documentation

Quick Start

Learn the Python SDK API