Skip to main content

udcli - Unidroid CLI

Submit robotics models (VLAs, WAMs, world models) to Unidroid challenges, manage your account, evaluate locally and use BenchHub.

pip install unidroid-cli            # core
pip install "unidroid-cli[wallet]"  # needed for submission submit / account coldkey register

Env: UNIDROID_API_URL (https://api.unidroid.ai), UNIDROID_API_KEY, UNIDROID_HOME (~/.unidroid), UNIDROID_CACHE_DIR (~/.unidroid/bench-cache), HF_TOKEN. Without UNIDROID_API_URL or --api-url, udcli talks to https://api.unidroid.ai. ~/.unidroid/credentials.json is written atomically and limited to your user.

Commands that cannot be undone (account coldkey remove, auth keys delete, dataset discard, dataset archive) ask first; pass --yes / -y to skip the question in scripts.

Commands

Commands are grouped by what they act on, like the Hugging Face hf CLI. udcli <group> (or -h at any level) lists what a group can do.

Group Commands For
auth login, logout, whoami, keys list|create|revoke|delete, hf set|status|remove Who you are, API keys, the Hugging Face read token
account balance, ledger, claim, coldkey list|register|remove Platform balance, TAO deposits, coldkeys
challenge list, show, leaderboard Browsing challenges
submission hash, push, check, eval, submit, resume, list, show Your entries, from preparing to results
bench list, info, download, upload, link, status, cache list|info|clear BenchHub benchmarks
dataset list, info, mine, buy, download, upload, media, uploads, discard, set-price, edit, pending, approve, reject, archive, restore Datasets for sale
validator pending, fetch Validator accounts

--api-key and --api-url work on every command, before or after the subcommand. They apply only to that run, so you can use another account without udcli auth login and without replacing the saved key. UNIDROID_API_KEY does the same when the flag is omitted. List commands accept --json.

Miner quick start

udcli auth login                              # optional: save an API key from unidroid.ai/account/api-keys
udcli account balance --api-key unidroid_...  # or pass the key on any command; overrides login
udcli auth hf set                             # read-only HF token for validators
udcli account coldkey register --wallet miner
udcli account coldkey remove <ss58>           # or: --wallet miner
udcli account balance                         # shows the address to send TAO to
# After transferring TAO from that coldkey:
udcli account claim 9092713-0006              # extrinsic id from the block explorer

udcli challenge list
udcli challenge show pi05-libero-s1
udcli submission hash --path ./my-submission
udcli submission check --path ./my-submission --challenge pi05-libero-s1
udcli submission eval --challenge pi05-libero-s1 --hf-repo you/pi05-libero   # docker + GPU, same sandbox as validators
udcli submission eval --challenge pi05-libero-s1 --model-dir ./model          # a local model folder, mounted at /model
udcli submission submit --path ./my-submission --hf-repo you/pi05-libero --challenge pi05-libero-s1 \
             --wallet miner --hotkey default
udcli submission list
udcli submission show 42                      # each validator's status, score, error, success rate, episodes
udcli submission show 42 --compare udcli-eval-pi05-libero-s1-<ts>/out/results.json
udcli challenge leaderboard pi05-libero-s1

submission eval runs the public eval config on the challenge's public benchmarks in the validator sandbox. submission show --compare puts that local results.json next to what validators reported: the score, the success rate and episode count, and whether your run used the same eval config (by sha256).

Every submission is a folder: agent.yaml, brain/, train/, optional tests/ and docs/, and weights/. Weights go to your own Hugging Face repo; the rest goes to Unidroid as one deterministic ZIP. agent.yaml lists the sha256 of every file under weights/, and the hotkey signs those hashes with the ZIP's hash. Keep the pinned commit available and unchanged until Review ends, or you're disqualified. Winners are copied to Unidroid's HF org before payout; the published copy also holds the ZIP.

udcli submission hash --path ./my-submission            # (re)write the weights: block of agent.yaml
udcli submission hash --path ./my-submission --check    # verify only
udcli submission check --path ./my-submission --challenge pi05-franka-s1
udcli submission push --path ./my-submission --hf-repo you/pi05-weights   # optional: push weights/ on its own
udcli submission submit --path ./my-submission --hf-repo you/pi05-weights --challenge pi05-franka-s1 \
             --wallet miner --hotkey default
udcli submission resume <upload-id>                     # finish an interrupted upload (24 hours)

submission submit pushes weights/ with your local Hugging Face login (HF_TOKEN or hf auth login; it never leaves your machine), creating a private repo when missing and skipping the push when main already holds the same files. It then pins the commit, compares it with agent.yaml, builds the ZIP and uploads it. The publication terms and the fee are shown first: nothing is pushed to Hugging Face until you accept, and any files on main that agent.yaml does not declare are listed before they are removed. Interrupted uploads resume without re-sending finished parts. --skip-upload --revision <sha> uses weights you pushed yourself (--revision is only valid with --skip-upload), --write-hashes rewrites stale hashes without asking. Validators download with the read token saved by udcli auth hf set; it must belong to the repo owner and must not be able to write. The fee is charged when the upload completes. .DS_Store, Thumbs.db, swap and backup files, .cache/, .git/ and __pycache__/ are never hashed or uploaded; any other dot file under weights/ is refused.

Validators

udcli validator pending [--challenge pi05-franka-s1]
udcli validator fetch 42 --out ./submission-42          # every hash checked against what the miner signed

BenchHub

udcli bench list [--category manipulation] [--visibility public]
udcli bench info libero-spatial
udcli bench download libero-spatial     # sha256-verified, cached
udcli bench upload ./my-bench --visibility private [--thumbnail cover.png]   # team role
udcli bench link franka-tabletop-v13 --visibility private   # admin, Nepher EnvHub
udcli bench status
udcli bench cache list | info | clear [id]

A benchmark is either uploaded to R2 or linked from the Nepher EnvHub. bench link is admin only: it takes an EnvHub environment id, and the server reads that bundle's manifest.yaml as the BenchHub record. The bundle stays on EnvHub and the server pins its current sha256. Downloads work the same for both: the API checks access and returns a short-lived URL, and EnvHub bundles are streamed through the Unidroid API. You never need a Nepher API key.

  • Public: any logged-in user.
  • Private: validators and the uploading team, only during the active window (UTC). Never miners.
  • Admins: always.

A bundle needs manifest.yaml with id, name, category, format, description. Optional: robot (for example franka-panda) and robot_type (any string, for example arm or humanoid). Put any revision in the id. A benchmark id is immutable.

Datasets

Robot datasets for training VLA models. Anyone can browse; buying and downloading need udcli auth login.

udcli dataset list [--search franka] [--free] [--sort popular]
udcli dataset info franka-pick-place-v1        # price, size, license, Hugging Face preview, what you may do
udcli dataset buy franka-pick-place-v1         # pays from your balance (see: udcli account balance)
udcli dataset download franka-pick-place-v1 [--out ./data] [--extract]
udcli dataset mine

Downloads resume after an interruption and are checked against the published sha256. Archives are unpacked safely: nothing leaves the target folder.

Admins upload and price datasets; a super admin approves an admin's upload (a super admin's own upload goes on sale once verified):

udcli dataset upload ./my-dataset --id franka-pick-place-v1 --license CC-BY-4.0 --price 25 \
  --robot franka-panda --hf-repo unidroid/franka-pick-place-v1-sample --sample-episodes 3 \
  --thumbnail ./cover.png --video ./preview.mp4
udcli dataset media franka-pick-place-v1 --thumbnail ./new-cover.png --video ./clip.mp4
udcli dataset uploads                          # your uploads and their review state
udcli dataset set-price franka-pick-place-v1 30
udcli dataset pending                          # super admin
udcli dataset approve franka-pick-place-v1 [--note ...]
udcli dataset reject franka-pick-place-v1 --reason "..."
udcli dataset archive franka-pick-place-v1     # off sale; buyers keep access

When --hf-repo is given, udcli extracts N episodes (--sample-episodes N, plus optional --sample-frames to slice each episode), rewrites LeRobot meta/ counts so the sample loads directly, generates a Dataset Card README.md, and pushes the free sample to Hugging Face using your local token (--hf-token, HF_TOKEN, or hf auth login; never sent to Unidroid). The sample is public, so the files are listed and you confirm before they are pushed (--yes or --confirm-rights skips it), and a paid dataset whose sample would hold every episode is refused. Pass --auto-media to extract a thumbnail and short preview clip from the dataset folder automatically. The full folder is packaged deterministically as a store-only ZIP, uploaded to R2 in parallel parts (--jobs), and resumes without re-zipping when you run the same command again.

Development

pip install -e ".[dev]"
pytest

tests/protocol_vectors.json is copied from unidroid-backend. tests/test_backend_e2e.py runs against the real backend when it's installed alongside, and is skipped otherwise.

Metadata

Release files for unidroid-cli 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 unidroid-cli 0.3.0
File Size Uploaded Provenance Actions
unidroid_cli-0.3.0.tar.gz 74.6 kB Without provenance Details for unidroid_cli-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unidroid-cli 0.3.0
File Interpreter ABI Platform Actions
unidroid_cli-0.3.0-py3-none-any.whl Python 3 none any Details for unidroid_cli-0.3.0-py3-none-any.whl

Total release size: 142.3 kB

Release files / unidroid_cli-0.3.0.tar.gz

Download URL unidroid_cli-0.3.0.tar.gz
Size 74.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ad7a01e0c5f41238548c24b7d164ec515e69220cb2cbf50e9bbd9aed801c65d8
BLAKE2b-256 checksum
How to use checksums
a931cf63d7edc51d30aa8b81eb35ee9e295440832976f78ec9edf7df7715b02c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

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

Download URL unidroid_cli-0.3.0-py3-none-any.whl
Size 67.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
663a33408051ab8f2e7cb50c73a59f8aba58483481143306873a4c653632245c
BLAKE2b-256 checksum
How to use checksums
7d3e1480f2dd5e075259b94d4e67fc6b137d62b6e797c5cba12b41dcee8a229c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Security for unidroid-cli 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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