Skip to main content

forge

The Forge command-line interface. Sign in once with a Forge API key, then download and upload dataset episodes, convert MCAP ↔ LeRobot v2.1, and lower the video frame rate. Conversion and frame-rate changes run on your computer; for LeRobot v2.1, forge download --server-export can also have Forge build the dataset. Forge stores and serves episodes exactly as they were uploaded.

The full guide is on Forge: Documentation → Command-Line Interface (CLI).

Install

Linux only: x86_64 or arm64, glibc 2.28+ (e.g. Ubuntu 20.04+, Debian 12+, RHEL/Rocky 8+). On Windows, run it inside WSL2 (Ubuntu). macOS is not supported. No root, Python or ffmpeg needed.

curl -fsSL https://forge.eastworlds.io/install.sh | bash

This installs forge with its own Python into ~/.forge (about 310 MB) and links forge and eforge (the same program) into ~/.local/bin. A specific version: … | bash -s -- 0.2.0.

Prefer a Python tool manager (Linux)? uv tool install eastworlds-forge or pipx install eastworlds-forge.

Sign in

forge

The first run opens Forge → API keys with a CLI key filled in. Press Create, copy the command the page shows, and paste it at the prompt. In CI, set FORGE_API_KEY instead.

Use

forge datasets list                  # add --shared for datasets shared with you, -n ORG for one organisation's
forge download eastworlds/yam-fold-handkerchief -o ./data --verdict valid
forge download eastworlds/yam-fold-handkerchief -o ./lerobot --format lerobot-v21 --fps 10
forge upload ./recordings/2026-09-29 --to eastworlds/yam-fold-handkerchief
forge convert mcap-to-lerobot ./data/eastworlds/yam-fold-handkerchief -o ./lerobot/yam_fold
forge convert lerobot-to-mcap ./lerobot/yam_fold -o ./mcap_again

Global options such as --json and -y go before the command: forge --json datasets list.

forge update updates, forge doctor checks the setup, forge uninstall removes everything (your keys stay unless you confirm).

Exit code Meaning
0 OK
1 Failure
2 Usage or validation error
3 Bad or expired key
4 Missing scope
5 Not found
6 Conflict
7 Server or network error
130 Interrupted

Interactive mode and tab completion

In a terminal, forge can ask instead of making you remember flags. Type forge on its own for a menu that reaches every command (and, under "Advanced options", the useful flags), or leave arguments out of forge download, forge upload, forge episodes show, forge uploads status or forge downloads show and it asks for them. Every guided flow ends by printing the equivalent forge … command, so you can copy it into a script.

Menus appear only when both stdin and stderr are terminals, CI is not set, and you did not pass --yes or --json. Anywhere else a missing argument is the usual usage error, and nothing is ever written to stdout by a menu.

Tab completion for datasets, tasks, tags, file types, annotation runs (it uses your saved key, waits at most 2 seconds, and stays silent if it cannot reach Forge):

forge --install-completion    # then open a new shell
forge --show-completion       # print the script instead of installing it

Develop

python3.11 -m venv .venv && .venv/bin/pip install -e '.[dev]'
.venv/bin/pytest
.venv/bin/ruff check src tests
  • src/forge_cli/convert/ is a port of the production-verified MCAP → LeRobot v2.1 converter. tests/test_convert_golden.py compares the two on real recordings when FORGE_VERIFIED_SAMPLE and FORGE_GOLDEN_EPISODES are set.
  • install/install.sh is the installer; tests/test_install.py runs it against a local fake release.
  • scripts/build_release.py --out dist/release builds what the download host serves. On a vX.Y.Z tag, .github/workflows/release.yml publishes it to Tencent COS behind EdgeOne (https://cli-forge.eastworlds.io); setup in docs/RELEASE_INFRA.md.

Design: docs/INITIAL_PLAN_V2.md. What was built: docs/INITIAL_DONE_V2.md.

Metadata

Release files for eastworlds-forge 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eastworlds-forge 0.3.0
File Size Uploaded Provenance Actions
eastworlds_forge-0.3.0.tar.gz 129.5 kB With provenance Details for eastworlds_forge-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eastworlds-forge 0.3.0
File Interpreter ABI Platform Actions
eastworlds_forge-0.3.0-py3-none-any.whl Python 3 none any Details for eastworlds_forge-0.3.0-py3-none-any.whl

Total release size: 286.4 kB

Release files / eastworlds_forge-0.3.0.tar.gz

Download URL eastworlds_forge-0.3.0.tar.gz
Size 129.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4eab8ad94e5a8897c1fd461189137ba4f83be7b36ede04d84bd2d3dd71c4a629
BLAKE2b-256 checksum
How to use checksums
aa401a1c9a02bc3e42e84c262007954e3aff1318122b4b01249759ec3fa264a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / eastworlds_forge-0.3.0-py3-none-any.whl

Download URL eastworlds_forge-0.3.0-py3-none-any.whl
Size 157.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffde165dd9f41278f8b3cc7a51c69163362240e788483c41c077f23f5cf25cd2
BLAKE2b-256 checksum
How to use checksums
64f5b82da252cae9ab99cf99f810bc7d9bb60288ee8fa3c2b62dfa1d1fc1979f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Security for eastworlds-forge 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for eastworlds_forge-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page