Documentation Index
Fetch the complete documentation index at: https://docs.osmosis.ai/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the Osmosis CLI from PyPI:Python 3.12 or later is required. The package registers three equivalent CLI aliases:
osmosis, osmosis-ai, and osmosis_ai.Upgrading
The CLI can upgrade itself in-place. It auto-detects your install method (pip, pipx, or uv tool) and runs the appropriate upgrade command:
Authentication
Login
| Option | Description |
|---|---|
-f, --force | Force re-login, clearing existing credentials |
--token <TOKEN> | Authenticate with a personal access token instead of browser flow (useful for CI/CD) |
Logout
| Option | Description |
|---|---|
-y, --yes | Skip confirmation prompt |
Who Am I
Platform Workspace Context
All CLI operations are scoped to the active platform workspace. Platform workspaces are remote organizational spaces on the Osmosis platform for managing datasets, training runs, models, and team members.Platform workspaces are distinct from local workspace directories created by
osmosis init. A local workspace is a directory on your machine that contains your AgentWorkflows, Graders, configs, and datasets. See Workspace Overview for details on local workspace structure.Interactive Browser
Runningosmosis workspace without a subcommand launches an interactive TUI for browsing workspace contents:
List Workspaces
Create a Workspace
| Argument / Option | Description |
|---|---|
name (required) | Workspace name. Must be lowercase alphanumeric characters and hyphens only, max 64 characters. |
--timezone | IANA timezone for the workspace (default: UTC). Example: America/New_York. |
Switch Workspace
| Argument | Description |
|---|---|
name (required) | Name of the workspace to switch to |
Delete a Workspace
| Argument / Option | Description |
|---|---|
name (required) | Name of the workspace to delete |
-y, --yes | Skip confirmation prompt |
Next Steps
Command Reference
Full reference for every CLI command and its options.
Configuration Files
TOML config formats for training, eval, and serve.