Skip to main content
The omium CLI is the fastest way to authenticate, run scripts with tracing, inspect failures, and push projects to Automations.

Install

The CLI is installed with the Python package:
pip install omium
omium --version

Quick reference

GoalCommand
Authenticateomium init
Run a scriptomium run your_script.py
List executionsomium list
Show one executionomium show <execution_id>
Stream logsomium logs <execution_id>
Replayomium replay <execution_id> [--checkpoint-id <id>]
Create project scaffoldingomium project init --name my-agent
Push project to Automationsomium project push

Authentication

omium init

Interactive setup (recommended):
omium init
If you need a non-interactive call (CI / scripting):
omium init --api-key omium_xxx --api-url https://api.omium.ai

Running code

omium run

omium run <script.py> [OPTIONS]
Common flags:
  • --project <name>: group runs under a project name
  • --env KEY=VALUE: pass environment variables (repeatable)
  • --no-trace: disable automatic tracing for a run
  • --execution-id <id>: supply your own ID (useful for correlating with your systems)
Example:
omium run my_agent.py --env OPENAI_API_KEY=sk-... --project my-agent

Inspecting executions

omium list

omium list --limit 20

omium show

omium show exec_abc123

omium logs

omium logs exec_abc123

Recovery

omium replay

Replay an execution from the latest checkpoint (or a specific checkpoint):
omium replay exec_abc123
omium replay exec_abc123 --checkpoint-id cp_456

Projects and Automations

Projects appear in Automations after you push them.

omium project init

omium project init --name my-agent

omium project push

omium project push
If your project doesn’t appear, confirm your auth and API URL, then re-run omium project push.

Environment variables

VariableMeaning
OMIUM_API_KEYAPI key (overrides config file)
OMIUM_API_URLAPI host URL (e.g. https://api.omium.ai)
OMIUM_DEBUGEnable debug logging
See Environment variables for examples.

Next steps

Configure

Where keys and config live, and how env overrides work.

API keys & billing

Review spend and manage keys in the dashboard.