Skip to main content

CLI workflows

el and envloop are equivalent. Install or upgrade the public envloop-cli package to use this command tree. Use the CLI for discovery, submission and progress, and the SDK to integrate the same operations into Python. All examples use placeholders such as JOB_ID, which you replace with returned IDs.

Connect and inspect before submitting​

el auth login
el auth status --check
el auth config show --json
el job list --limit 10
el dataset list --limit 10

Alternatively use el auth config with a project Key. Use the Console Dashboard for the project overview. To browse Jobs by type, use el job list --type bench or el job list --type train; continue with the returned cursor and the same type: el job list --type bench --cursor CURSOR or el job list --type train --cursor CURSOR. The current Key's project determines visible resources. Browser selection does not switch the client; use el auth config project.

Submit one workflow​

For a Dataset visible to your project:

el dataset list --name NAMESPACE/DATASET --json
el dataset get NAMESPACE/DATASET@VERSION
el job submit --type bench --dataset NAMESPACE/DATASET@VERSION
el job get JOB_ID
el job result JOB_ID

Replace NAMESPACE/DATASET@VERSION with an exact version from the list. dataset get requires a versioned name or the returned asset_id. Use that same reference for submission; an asset_id selects one copy when several projects share the same name and version. Inspect the Dataset and its Runner before launching a large selection. Submission returns a job_id; status and aggregate results are separate reads. To use a local two-file Runner package, follow Task format:

el job submit --source ./my-task --wait

--wait waits for a terminal outcome; it is not an additional resource policy. An accepted Job can continue after your terminal exits. Explicitly use el job stop JOB_ID when you intend to stop it, and inspect the resulting state. Read the verifier reward in job result to assess the answer.

Everyday command map​

IntentCommandRead next
Inspect Agent/Train workel job list --type bench --limit 10 / el job list --type train --limit 10Jobs, Training
Inspect a Model Loopel loop list / el loop get LOOP_IDModel Loops
Start or follow an RSI loop (paid)el loop start NAME --brief "GOAL" --max-model-cost-usd 5 --dry-run / el loop live LOOP_ID --followStart a loop
Read one Trialel trial get TRIAL_ID / el trial result TRIAL_IDTrials
Download Trial artifactsel trial artifact download --ref ASSET_ID --output ./artifactsTrials
Discover Dataset revisionsel dataset list --name DATASET_NAMEDatasets
Inspect Profile versionsel profile list --name PROFILE_NAMEProfiles
Find checkpointsel checkpoint list --job-id JOB_IDCheckpoints
Inspect model servingel job list --type inference / el job event JOB_IDInference
Inspect cleanupel setting operation get OPERATION_IDCLI reference

The Trial command is spelled trial. trials, task, plural resource paths and old standalone lifecycle command roots are not aliases. Use nested help instead of guessing names.

Tables, JSON and pagination​

Lists normally use uppercase headers and space-aligned columns. Use --json to retain full timestamps, including timezone offsets and fractional seconds; readable time formatting depends on your client version. Missing values appear as -. Long IDs are not truncated. Details and mutations return JSON. Piping a list does not automatically switch output mode:

el job list --limit 10
el job list --limit 10 --json
el profile list --json

Use --json for scripts. The full response preserves items, next_cursor and server fields. When next_cursor is non-null, pass it to the same command with the same filters, or copy the printed next-page command. A first page is not an exhaustive list. Some collections return the full server list and do not expose pagination; check their help.

For shell automation with jq, fail on a failed command before interpreting its output:

set -eu
set -o pipefail
response=$(el job submit --type bench --dataset NAMESPACE/DATASET@VERSION --request-id example-run-001)
job_id=$(printf '%s' "$response" | jq -er '.job_id')
el job get "$job_id"

el job submit already prints the complete JSON response; the jq example above reads .job_id from it. Client 1.7.0 also accepts --json on submission; it produces the same response.

The request ID is a synthetic example. Use one distinct ID per logical submission and reuse it only for an identical retry. Do not retry by changing data, revision or command under the same request ID; the platform preserves the first frozen selection and can report a conflict. Do not log sensitive request bodies or enable shell tracing around credential input.

Readable logs and plain text​

To follow output or keep its full metadata:

el job log JOB_ID --follow
el job log JOB_ID --follow --json

--follow --json writes one complete JSON page per line. It preserves timestamps, source/stream and capture status. Ctrl-C ends reading while the Job continues.

If el job log --help lists --no-color, text logs use YYYY-MM-DD HH:MM:SS level message, with time and level highlighted in an interactive terminal. Logs keep the record's timezone; list times are UTC with a UTC label, and JSON keeps the original offsets and fractional seconds. Use el job log JOB_ID --no-color for plain text. Pipes, redirection, NO_COLOR=1 and TERM=dumb also disable color in these clients. If your help does not list the option, use the JSON command above when you need complete timestamps and metadata.

Authentication and management are separate​

auth login stores a project API Key, not a browser session. Subject role and Key capabilities control resource access; membership and project governance require a human session. Use the authorized Console page for those actions.

For a custom development platform, save its public client address before its own Key:

el auth config set base-url http://127.0.0.1:5173/api/
el auth config

The CLI only falls back to the current directory's .env.local address when higher-priority settings are absent; it does not load the Key there. The SDK does not automatically read that file. See Configuration.

Help, errors and safe retries​

If every command fails with CONFIG_INSECURE_PATH, the configuration directory (~/.envloop or ENVLOOP_HOME) is not private. Run chmod 700 on it (or create it with mkdir -m 700) and check it is owned by you and not a symlink.

el
el help dataset list
el job submit --help
el setting operation wait --help

Help exits 0. Argument errors exit 2 and print help to stderr. Configuration, API, execution, wait and download failures exit 1. After a successful command, read the relevant result fields: verifier reward for evaluation, model outputs for quality and the cleanup Operation for resource release.

On a network failure after a write, inspect the resource or operation before submitting again. On a wait timeout, the remote work may continue; read status and decide whether to wait or stop. On a download checksum error, preserve the diagnostic and request fresh metadata rather than consuming the corrupt file. See Troubleshooting and the complete command reference.

New inference uses el job submit --type inference --spec REQUEST.json with a published Runner and optional single durable Checkpoint, without Adapter registration. See Inference for JSON, TTL and failure recovery.