Skip to main content
The osmosis CLI is the command-line interface for the Osmosis AI Platform. Use it to authenticate, resolve a workspace from Git, manage datasets and models, and submit evaluation, training, and benchmark runs. It ships in the same osmosis-ai Python package as the open source SDK.

Start Here

1

Install and authenticate

Install the CLI, verify its version, and sign in. CI can use OSMOSIS_TOKEN instead of an interactive login.
2

Enter a workspace repository

Most Platform commands resolve their workspace from the current repository’s Git origin. Complete Platform onboarding and run commands from inside the connected repository.
3

Choose a run workflow

Evaluate a rollout before training, submit a training config when the evaluation is healthy, or run a published benchmark to compare agents independently of workspace rollout code.

Run Workloads

Evaluation

Test a rollout and grader against a Platform dataset.

Training

Train a base model with a validated rollout and dataset.

Benchmarks

Compare agents on published task sets and environments.

Command Areas

See the Command Reference for every command and option.

Repository Inputs

Evaluation and training use rollout code from the synced repository. Benchmark configs select published benchmark environments and do not reference that rollout code.
Use Workspace for the repository contract and Config Files for the TOML schemas.

Automation and Output

Global --json and --plain flags work before or after a command. Use --json for stable machine-readable envelopes, --yes only after reviewing a destructive or paid operation, and OSMOSIS_TOKEN for non-interactive authentication.
For per-run credentials, use --secrets-file, process environment variables, stored Platform secret records, or the hidden terminal prompt. Never place secret values directly in command arguments or committed TOML files.

Next Steps

Installation & Authentication

Install the current CLI and configure local or CI authentication.

Workspace

Understand repository structure, Git scope, and validation.

Command Reference

Review every command, option, and output contract.

Config Files

Configure evaluation, training, and benchmark runs.
Last modified on August 10, 2026