Knonik Overview

Knonik turns raw robot recordings into training-ready datasets and streams them into your training loop. One wheel installs everything you need on your own machine: the knonik command-line tool, the ingest and export Python APIs, the dataloader, and the knonik viz dashboard for checking and annotating episodes.

The pipeline is:

1Raw dataset
knonik ingest▼
2Episode dirs
knonik vizoptional▼
3Checked & annotated
knonik pack▼
4KHLP shards
dataloader▼
5Training
knonik export▼
↗Other formats

The normal workflow is:

  1. ▸Install the Knonik wheel and log in for ingest.
  2. ▸Run offline ingest on your raw dataset (HDF5, Zarr, LeRobot, ROS bag / MCAP, RLDS, D3IL, or a folder of videos). It writes episode directories, one per episode, plus a config.json describing them.
  3. ▸Optionally inspect, quality-check and annotate the episodes in knonik viz. Results are stored with the episodes and carried into the pack.
  4. ▸Pack the episodes into KHLP shards, with an hlp_manifest.json that the dataloader reads.
  5. ▸Train with the Knonik dataloader, or export the dataset to HDF5, Zarr, NumPy, LeRobot, ROS bag / MCAP, RLDS or D3IL for other tools.

1. Install

Use a virtual environment and install the wheel that matches your Python version (wheels are provided for CPython 3.8-3.13, Linux x86_64). The wheel bundles its native readers and core dependencies, so you normally do not install FFmpeg, h5py or zarr yourself.

bash
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install /path/to/knonik-<version>-cp311-cp311-manylinux*.whl    # match your Python

Verify:

bash
knonik --version
python -c "import knonik.ingest, knonik_multidataloader; print('OK')"

Optional extras, only if you need them:

PackageNeeded for
torchframework="torch" in the dataloader
tensorflowRLDS / TFRecord ingest and export

2. Log In

Knonik authenticates with a CLI key, not your website password.

  1. ▸Sign in at knonik.com and open your dashboard.
  2. ▸Under CLI keys, create a key. It starts with knk_ and is shown once, so copy it somewhere safe.
  3. ▸Log in on your machine. You are asked for your Knonik email and the CLI key:
bash
knonik login --product ingest             # ingest, pack, config, export
knonik login --product multidataloader    # the dataloader
knonik login --product processing         # knonik viz

Log in once per product you use. The session is stored on the machine and refreshes itself.

On a headless machine without an OS keyring, add --allow-file-key-store:

bash
knonik login --product ingest --allow-file-key-store

Check or clear sessions:

bash
knonik status --product ingest
knonik logout --product ingest
knonik logout --all

Several processes at once. Processes that share one login share one session. If you launch many independent jobs on one machine at the same time and see sessions being revoked, give each job its own KNONIK_HOME directory and log in once in each.

Revoke a key from the dashboard at any time. Machines logged in with it are signed out the next time their session refreshes.


3. Where To Go Next

GuideWhat it covers
IngestConvert raw datasets into Knonik episodes and pack them for training.
ExportTurn Knonik data back into HDF5, Zarr, LeRobot, ROS bag and more.
DataLoaderStream training batches, single or mixed datasets, one or many GPUs.
Quality & Annotationknonik viz: inspect, quality-check and annotate episodes.
ExamplesEnd-to-end walkthroughs on real datasets.