Skip to main content
The Lyceum CLI is a Python-based command-line tool that wraps the REST API. Every dashboard feature except inference deployment management is accessible from it.

Install

Requires Python 3.8 or newer. The package installs a single binary, lyceum.

Authenticate

Logs you in via the dashboard browser flow and stores the token locally. For non-interactive environments, pass --manual to be prompted for tokens directly, or supply an API key with --api-key lk_....

Command groups

Global flags


auth

lyceum auth login

Sign in to Lyceum Cloud.

lyceum auth logout

Clear stored credentials.

lyceum auth status

Show the current authentication status.

python

lyceum python run <code-or-file>

Execute a Python snippet or file on Lyceum Cloud.

lyceum python config init|show|refresh

Manage the workspace config at .lyceum/config.json. init creates one, show prints the current config, refresh regenerates it.

docker

lyceum docker run <image>

Run a Docker container on Lyceum Cloud.

lyceum docker logs <execution-id>

Stream logs from a Docker run.

lyceum docker registry-examples

Print example registry credential payloads.

compose

lyceum compose run <compose-file>

Run a Docker Compose stack on Lyceum Cloud.

lyceum compose logs <execution-id>

Stream logs from a Compose run.

lyceum compose registry-examples

Print example registry credential payloads.

gpu-selection

lyceum gpu-selection run <code-or-file>

Submit Python code that fans out across GPU types so you can compare them.

lyceum gpu-selection status <execution-id>

Get the parent run status and per-sub-job results.

notebook

lyceum notebook launch

Launch a Jupyter notebook server on Lyceum Cloud. Returns a URL you can open in a browser.

lyceum notebook list

List notebook sessions.

lyceum notebook stop <execution-id>

Stop a running notebook session.

workloads

lyceum workloads list

List your runs.

lyceum workloads abort <execution-id>

Hard-stop a run. The run is marked aborted.

lyceum workloads history

Show recent execution history.

infer

lyceum infer deploy <hf-model-id>

Deploy a Hugging Face model as a dedicated inference endpoint.

lyceum infer status <deployment-id>

Get the status of a deployment.

lyceum infer stop <deployment-id>

Stop a deployment.

lyceum infer models

List available models.

lyceum infer chat

Send a chat completion to a deployed model.

lyceum infer result <request-id>

Fetch the result of an async chat request.

storage

lyceum storage ls [prefix]

List files in your bucket.

lyceum storage load <local-path>

Upload a file or directory to your bucket.

lyceum storage download <remote-path>

Download a file from your bucket.

lyceum storage rm <remote-path>

Delete a single file.

lyceum storage rmdir <folder-prefix>

Delete every file under a prefix.

vm

lyceum vm start

Provision a new VM instance.

lyceum vm list

List your VMs. By default, includes provisioning, ready, failed, and terminated VMs; toggle each with the corresponding flag.

lyceum vm status <vm-id>

Get detailed status for a VM, including IP and connection info.

lyceum vm availability

Check what hardware profiles are currently available to provision.

lyceum vm terminate <vm-id>

Terminate a VM.