---
title: "Quickstart"
description: "Install envloop-cli from PyPI, connect to EnvLoop, and submit your first Dataset and single-task Jobs."
last_update:
  date: 2026-11-18
---

import SkillInstall from '@site/src/components/SkillInstall';

<span id="quickstart" className="legacy-anchor" />

Install the public [envloop-cli package](https://pypi.org/project/envloop-cli/) to use the equivalent `envloop` / `el` commands and `envloop.Client`. Use Python 3.12 or later; no repository checkout is needed.

## Pick a path

This quickstart runs a small task and reads its artifacts. If your goal is model training, go directly to [Train, deploy and call](../training/train-deploy.md). For a browser-first introduction, start with the [Console tour](console.md). You can return to [Core concepts](core-concepts.md) after your first result.

## EnvLoop Skill {#envloop-skill}

EnvLoop Skill helps a coding agent follow the CLI steps in this guide. Run the installer from the agent’s project using Node.js 22.20 or newer:

```bash
npx skills@latest add https://docs.envloop.ai --skill envloop
```

<SkillInstall compact />

The Install button copies the command to your clipboard. The installer lets you choose which agent should use the Skill. See [Skill installation and updates](../cli-install.md#envloop-skill) to verify the installed path, refresh an existing copy or check installation in a temporary project.

## 1. Install

Follow [Installation](../cli-install.md) to create an isolated Python environment, then install the public package:

```bash
python -m pip install --upgrade envloop-cli
el --help
```

Keep the virtual environment activated while following this guide. `el` and `envloop` are equivalent commands.

## 2. Connect

On Linux or macOS, prepare a private configuration directory before saving your connection. If you set `ENVLOOP_HOME`, use an absolute path owned by you:

```bash
mkdir -p "${ENVLOOP_HOME:-$HOME/.envloop}"
chmod 700 "${ENVLOOP_HOME:-$HOME/.envloop}"
```

Windows users should follow the [environment-variable or explicit SDK setup](authentication.md#storage-and-platform-support).

Register or sign in, then verify your email to open your personal workspace and Default project. To work with a team, accept its invitation or ask for project access. Create a **Project automation** Key under **Configure → API Keys → Create API Key** and store it securely; see [Authentication](authentication.md).

```bash
envloop auth config
envloop auth status --check
```

The wizard hides Key input, verifies it and saves the connection for both CLI and SDK. Read the connection check and any warnings, then run `el job list --limit 5` to confirm Job access in the selected project. If you see `CONFIG_INSECURE_PATH`, check ownership and permissions on the directory and existing files using the [credential storage requirements](authentication.md#storage-and-platform-support). For an unexpected URL or project, inspect `el auth config show --json` before submitting a Job.

## 3. Submit a dataset job

Choose a small environment Dataset readable in your project. Submitting a Job can allocate billable resources; check the selected Dataset's task count, your project permissions and applicable costs in Console first. Record and trajectory Datasets contain samples rather than executable tasks; use the [training workflow](../training/quickstart.md) for those inputs. Choose `DATASET_NAME` from the first list and `VERSION` from its revision list:

```bash
el dataset list --content-type environment --limit 10
el dataset list --name DATASET_NAME --limit 10
el job submit --dataset DATASET_NAME@VERSION
```

The JSON response includes `job_id`. Replace `JOB_ID` below with the returned value:

```bash
el job get JOB_ID
el job result JOB_ID
```

The dataset must be available on the target platform. When version, config, and split are omitted, the platform resolves and freezes the default selection. The platform continues running the job after the HTTP submission returns; `result` does not automatically wait. You can wait using `submit --wait`. Stop with `el job stop JOB_ID`.

## 4. Submit your own task

Create a directory containing only these two files:

```bash
mkdir -p my-task
cat > my-task/runner.toml <<'TOML'
schema_version = "envloop.runner/v1"
[runner]
name = "examples/hello"
[execution]
entrypoint = "main.py"
timeout_sec = 10
outputs = ["result.txt"]
TOML
cat > my-task/main.py <<'PY'
from pathlib import Path

Path("result.txt").write_text("hello\n", encoding="utf-8")
print("hello")
PY
el job submit --source ./my-task --wait
```

The submission returns a one-member Job. Read `trial_id` from `members[0].attempts[0].trial_id`, then run `el trial result TRIAL_ID` to inspect status, reward and output metadata. Read stdout/stderr in the Trial’s Console **Logs** tab. The successful Job terminal state is `completed`; its successful Trial is `succeeded`. For a benchmark task, also read its verifier score. This example writes `hello` to the log and `result.txt` to the artifacts.

## 5. Use the Python SDK

Save as `quickstart.py` and run `python quickstart.py` in the same virtual environment:

```python
from envloop import Client

with Client.remote() as client:
    job = client.jobs.submit(source="./my-task")
    final = client.jobs.wait(job["job_id"], timeout=60)
    if final["status"] != "completed":
        raise RuntimeError(f"Job ended: {final['status']}")
    print(client.jobs.result(job["job_id"]))
```

The SDK reads explicit arguments, system environment and saved user configuration, in that order, and **does not automatically read `.env.local`**. Local platform development also uses the same API client; see [Python SDK](python-sdk.md).

## Next steps

After your first run, choose the workflow you need:

- **Experiment**: [Jobs](jobs.md), [Trials](trials.md), [Runners](../training/runner.md), [Training](../training/overview.md).
- **Assets**: [Datasets](datasets.md), [Checkpoints](../training/checkpoints.md), [Recipes](recipes.md), [Profiles](profiles.md).
- **Configure**: [API Keys](authentication.md) and [client configuration](../reference/configuration.md).
- **Manage**: [Limits](../manage/limits.md), [Members](../manage/members.md), [Settings](../manage/settings.md).
- **Usage metering**: [Usage metering](../manage/usage.md).

Look up concepts and options as needed: [Core concepts](core-concepts.md) · [CLI reference](../reference/cli.md).
