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:
The normal workflow is:
- ▸Install the Knonik wheel and log in for ingest.
- ▸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.jsondescribing them. - ▸Optionally inspect, quality-check and annotate the episodes in
knonik viz. Results are stored with the episodes and carried into the pack. - ▸Pack the episodes into
KHLP shards, with an
hlp_manifest.jsonthat the dataloader reads. - ▸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.
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:
knonik --version
python -c "import knonik.ingest, knonik_multidataloader; print('OK')"
Optional extras, only if you need them:
| Package | Needed for |
|---|---|
torch | framework="torch" in the dataloader |
tensorflow | RLDS / TFRecord ingest and export |
2. Log In
Knonik authenticates with a CLI key, not your website password.
- ▸Sign in at knonik.com and open your dashboard.
- ▸Under CLI keys, create a key. It starts with
knk_and is shown once, so copy it somewhere safe. - ▸Log in on your machine. You are asked for your Knonik email and the CLI key:
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:
knonik login --product ingest --allow-file-key-store
Check or clear sessions:
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_HOMEdirectory 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
| Guide | What it covers |
|---|---|
| Ingest | Convert raw datasets into Knonik episodes and pack them for training. |
| Export | Turn Knonik data back into HDF5, Zarr, LeRobot, ROS bag and more. |
| DataLoader | Stream training batches, single or mixed datasets, one or many GPUs. |
| Quality & Annotation | knonik viz: inspect, quality-check and annotate episodes. |
| Examples | End-to-end walkthroughs on real datasets. |