Metadata-Version: 2.5
Name: kalanos
Version: 0.10.3
Summary: Grade robot training data before you train on it: a 0-100 readiness score, the blocking episodes to exclude, and the evidence behind every finding, for LeRobot, HDF5, MCAP, CSV and JSON recordings
Project-URL: Homepage, https://kalanos.ai
Project-URL: Documentation, https://github.com/KalanosAI/kalanos#readme
Project-URL: Repository, https://github.com/KalanosAI/kalanos
Project-URL: Issues, https://github.com/KalanosAI/kalanos/issues
Author: Kalanos AI
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: data-quality,dataset,hdf5,imitation-learning,lerobot,mcap,robot-learning,robotics,ros2,sensor-data
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: certifi>=2026.7.22
Requires-Dist: jinja2>=3.1.6
Requires-Dist: platformdirs>=4.11.5
Requires-Dist: polars>=1.44.2
Requires-Dist: pydantic-settings>=2.0.0
Requires-Dist: pydantic>=2.10.4
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=15.0.0
Requires-Dist: typer>=0.16.0
Requires-Dist: universal-pathlib>=0.3.10
Provides-Extra: all
Requires-Dist: av<19,>=13; extra == 'all'
Requires-Dist: h5py>=3; extra == 'all'
Requires-Dist: huggingface-hub>=1.31.0; extra == 'all'
Requires-Dist: mcap-ros2-support>=0.5; extra == 'all'
Requires-Dist: mcap>=1.4; extra == 'all'
Requires-Dist: numpy>=2.2.6; extra == 'all'
Requires-Dist: opencv-python-headless>=4.10.0.84; extra == 'all'
Provides-Extra: hdf5
Requires-Dist: h5py>=3; extra == 'hdf5'
Provides-Extra: hf
Requires-Dist: huggingface-hub>=1.31.0; extra == 'hf'
Provides-Extra: mcap
Requires-Dist: mcap-ros2-support>=0.5; extra == 'mcap'
Requires-Dist: mcap>=1.4; extra == 'mcap'
Provides-Extra: numeric
Requires-Dist: numpy>=2.2.6; extra == 'numeric'
Provides-Extra: video
Requires-Dist: av<19,>=13; extra == 'video'
Requires-Dist: numpy>=2.2.6; extra == 'video'
Requires-Dist: opencv-python-headless>=4.10.0.84; extra == 'video'
Description-Content-Type: text/markdown

# Kalanos

[![PyPI](https://img.shields.io/pypi/v/kalanos)](https://pypi.org/project/kalanos/) [![Python](https://img.shields.io/pypi/pyversions/kalanos)](https://pypi.org/project/kalanos/) [![CI](https://github.com/KalanosAI/kalanos/actions/workflows/ci.yaml/badge.svg)](https://github.com/KalanosAI/kalanos/actions/workflows/ci.yaml) [![License](https://img.shields.io/github/license/KalanosAI/kalanos)](https://github.com/KalanosAI/kalanos/blob/main/LICENSE)

**Find which robot episodes need a closer look before training.**

Kalanos audits recorded demonstrations for issues such as noisy commands, flatlined signals, and missing data. It runs where your data lives and writes an HTML report for inspection or JSON for automation. Nothing is uploaded unless you publish. No account or API key is needed for local audits.

[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/KalanosAI/kalanos/blob/main/notebooks/kalanos_quickstart.ipynb)

## Get started

With Python 3.10+ in a virtual environment:

```bash
python -m pip install kalanos
kalanos grade ./my_recordings --report audit.html
```

Replace `./my_recordings` with a local dataset folder or recording file. Open `audit.html` in a browser. To use the results in code, set the output to `audit.json` instead.

Kalanos reads local LeRobot datasets, CSV, and JSON out of the box. For HDF5 or MCAP/ROS 2, install `"kalanos[hdf5,mcap]"` and see [adapters](https://github.com/KalanosAI/kalanos/blob/main/docs/ADAPTERS.md). For sampled camera checks, install `"kalanos[video]"` and choose a [vision profile](https://github.com/KalanosAI/kalanos/blob/main/docs/PROFILES.md).

## See what needs review

In the [Colab quickstart](https://github.com/KalanosAI/kalanos/blob/main/notebooks/kalanos_quickstart.ipynb), Kalanos checks 50 simulated ALOHA cube-transfer demonstrations: **39 pass, 11 need review**. Start with **episode 2**: its left-waist command barely moves and has low signal-to-noise. Compare it with **episode 29**, which also moves little but passes. The chart shows where to look, not proof of a fault.

![Scatter plot of left-waist command movement versus signal-to-noise. Episodes to review are brown diamonds below the 15 dB line; passing episodes are green dots. Episode 2 has about −5 dB and needs review; episode 29 has about 19 dB and passes.](https://raw.githubusercontent.com/KalanosAI/kalanos/main/docs/assets/aloha-episode-review.png)

<sub>One dot per episode with a measured ratio: 47 of 50. This run checks numeric signals, not cameras. An episode decision reflects the checks that ran, not task success or training performance.</sub>

## Go further

[Website](https://kalanos.ai) · [Public reports](https://hub.kalanos.ai/?utm_source=github&utm_medium=referral&utm_campaign=grader_readme&utm_content=public_reports) · [How decisions work](https://github.com/KalanosAI/kalanos/blob/main/docs/DECISIONS.md) · [GitHub Action](https://github.com/marketplace/actions/kalanos-robotics-dataset-audit) · [Experiment tracking](https://github.com/KalanosAI/kalanos-tracking) · [More notebooks](https://github.com/KalanosAI/kalanos/blob/main/notebooks/README.md) · [Apache-2.0 license](https://github.com/KalanosAI/kalanos/blob/main/LICENSE)

[Report a bug](https://github.com/KalanosAI/kalanos/issues/new/choose) · Private feedback: [hello@kalanos.ai](mailto:hello@kalanos.ai)

## Use Kalanos in your editor

The Kalanos plugin adds the [dataset audit skill](skills/audit-robot-dataset/SKILL.md) and a read-only MCP connection for published reports. It does not install the grader CLI.

- **Codex:** Add the GitHub catalog with `codex plugin marketplace add KalanosAI/kalanos`. In the Codex app's Plugins Directory, select **Kalanos AI** and install **kalanos**.
- **Claude Code:** Run `/plugin marketplace add KalanosAI/kalanos`, then `/plugin install kalanos@kalanos-ai`. Invoke it as `/kalanos:audit-robot-dataset`.
- **Cursor:** The portable plugin works in Cursor Desktop. Copy `plugin.json`, `mcp.json` and `skills/` into `~/.cursor/plugins/local/kalanos/` (copy, don't symlink) and reload the window; a Cursor Marketplace listing is not live yet. Or use the skill-only install below and add `https://mcp.kalanos.ai/mcp` as a Streamable HTTP server in Cursor’s MCP settings.
- **VS Code / Copilot:** Use the skill-only install and connect MCP separately.

### Install only the skill

From your project directory:

```bash
npx skills add KalanosAI/kalanos --skill audit-robot-dataset
```

Select your editor when prompted. Add `-a <agent>` to skip the prompt or `-g` to install for all projects. To refresh the skill, rerun the install command; the installed `metadata.version` shows which copy you have. Prefer a manual install? Copy the entire `skills/audit-robot-dataset/` folder into `.claude/skills/` for Claude Code, `.agents/skills/` for Codex or Cursor, or `.github/skills/` for VS Code with GitHub Copilot. Replace manual copies to update them.

For a fresh audit with either install, install the [tested Grader CLI version](https://pypi.org/project/kalanos/0.10.2/) in your local Python environment (`python -m pip install "kalanos==0.10.2"`). To look up published reports from a skill-only install, add `https://mcp.kalanos.ai/mcp` as a Streamable HTTP server in your editor's MCP settings. No Kalanos account or API key is required for public reports.

- **Local audit:** “Which episodes in `./my_recordings` should I review before training?”
- **Published report:** “Is there a published audit for `lerobot/pusht`? Which checks did it cover?”

Related: [LeRobot episode selection](https://github.com/KalanosAI/kalanos-mcp) and [attaching an audit to a training run](https://github.com/KalanosAI/kalanos-tracking).
