Registry / llm-agents / valohai-cli

valohai-cli

JSON →
library0.36.0pypypi✓ verified 86d ago

A command-line client for Valohai, a machine learning platform. Current version 0.36.0. Enables local execution, pipeline management, and model catalog interactions. Requires Python >=3.10. Released irregularly with minor versions every few months.

pip install valohai-cli
INSTALL
IMPORT
SIG · VALOHAI-CLI
V
valohai-cli
llm-agentspythonv0.36.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

valohai_cli
import valohai_cli
Imports are typically not used; the package is a CLI tool. The Python package name is 'valohai_cli'.

This is an illustrative import; the typical usage is via the 'vh' command-line tool. Run `vh --help` after installing.

import os import valohai_cli os.environ['VALOHAI_URL'] = os.environ.get('VALOHAI_URL', '') os.environ['VALOHAI_TOKEN'] = os.environ.get('VALOHAI_TOKEN', '') from valohai_cli import cli cli.main(['--help'])
valohai --version
Debug
Known issues
breakingv0.36.0 dropped support for Python < 3.10. Ensure your environment uses Python 3.10+.
fix
Upgrade Python to 3.10 or later.
affects: >=0.36.0
deprecatedThe `vh exec run` command's `--parameter` and `--input` flags are being replaced by structured options. Old-style flags may be removed in future versions.
fix
Use the new syntax as shown in `vh exec run --help`.
affects: >=0.33.0 <1.0
gotchaAPI tokens must be set via environment variable `VALOHAI_TOKEN` or configured via `vh login`. The CLI does not read tokens from `.env` files automatically.
fix
Export VALOHAI_TOKEN or run `vh login`.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'valohai_cli'
Package not installed or wrong Python environment.
fix
Run `pip install valohai-cli` in the correct environment.
Error: Invalid value for '--parameter': ...
Using deprecated `--parameter key=value` syntax in newer versions.
fix
Use the new format: `--parameter key:type:value` or see `vh exec run --help`.
Upgrade
Version history
0.36.0latest on PyPI · released Mar 30, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
32
Perplexity
1
OpenAI (training)
1
Resources
valohai-cli — pip install valohai-cli · libregistry