Agent and CLI for operating the Reachy Mini expressive robot — device setup, app management, and runtime ops.
Project description
reachy-mini-cli
Agent and CLI for operating the Reachy Mini expressive robot — device setup, app management, and runtime ops.
What you get
- An agent-first CLI cited from teken
(
afi-cli) — the runtime package has no third-party dependencies. - A mesh identity —
culture.yaml(suffix+backend) and the matching prompt file (CLAUDE.mdforbackend: claude). - The canonical guildmaster skill kit (11 skills) under
.claude/skills/, vendored cite-don't-import. Seedocs/skill-sources.md. - A build + deploy baseline — pytest, lint, the agent-first rubric gate, and PyPI Trusted Publishing wired into GitHub Actions.
Quickstart
uv sync --extra daemon # default: + the local reachy-mini-daemon
# uv sync # remote profile: HTTP-only, no daemon deps
uv run pytest -n auto # run the test suite
uv run reachy whoami # identity from culture.yaml
uv run reachy learn # self-teaching prompt (add --json)
uv run teken cli doctor . --strict # the agent-first rubric gate CI runs
CLI
| Verb | What it does |
|---|---|
whoami |
Report this agent's nick, version, backend, and model from culture.yaml. |
learn |
Print a structured self-teaching prompt. |
explain <path> |
Markdown docs for any noun/verb path. |
overview |
Read-only descriptive snapshot of the agent. |
doctor |
Check the agent-identity invariants (prompt-file-present, backend-consistency). |
cli overview |
Describe the CLI surface itself. |
Every command supports --json. Results go to stdout, errors/diagnostics to
stderr (never mixed). Exit codes: 0 success, 1 user error, 2 environment
error, 3+ reserved.
Robot operations
The daemon, device, app, and move noun groups operate the Reachy Mini.
Install profiles
The Reachy daemon (reachy-mini-daemon) and the in-process SDK ship in
reachy-mini. Choose your install by where the daemon runs:
- Default — with the daemon:
pip install 'reachy-cli[daemon]'. Bundlesreachy-mini, soreachy daemon startcan bring the daemon up locally. This is the profile for a machine with a robot attached. - Remote — without the daemon:
pip install reachy-cli(bare). The base install keeps zero runtime dependencies (thehttptransport and thedaemon status/stopverbs use only the stdlib). Use it on a control box that only talks to a daemon running elsewhere via--base-url/REACHY_BASE_URL.daemon starthere exits2with a hint to install the[daemon]extra.
[sdk] (also reachy-mini) adds the in-process --transport sdk client.
Bring the daemon up
device/app/move are clients of a running daemon; daemon is the other
half — it manages the local reachy-mini-daemon process.
| Verb | What it does |
|---|---|
daemon start |
Spawn reachy-mini-daemon in the background, then poll its health route until ready. Idempotent. |
daemon stop |
Stop the daemon this CLI started (SIGTERM, then SIGKILL). |
daemon status |
Reconcile the tracked process (running/stopped/stale) with the HTTP health check. |
reachy-mini-daemon defaults to --wake-up-on-start, so daemon start already
wakes the robot. Forward daemon args after --, e.g.
reachy daemon start -- --sim --no-wake-up-on-start. State (PID + log) lives
under $XDG_STATE_HOME/reachy (~/.local/state/reachy).
Transports
The device, app, and move verbs talk to a running daemon through a
selectable transport flavor:
http(default) — the Reachy daemon's REST API. Uses only the Python standard library, so the default install keeps zero runtime dependencies. Point it at a daemon with--base-urlorREACHY_BASE_URL(defaulthttp://localhost:8000).sdk— the in-processreachy_miniclient. Install the optional extra:pip install 'reachy-cli[sdk]'. Covers motion/state; daemon and app verbs still requirehttp.
Select per command with --transport {http,sdk} (or REACHY_TRANSPORT). Action
verbs also accept --timeout. If no daemon is reachable, the command exits 2
with a clean error:/hint: pair — never a traceback.
| Verb | What it does |
|---|---|
device status |
Daemon status: state, version, wireless/lite, simulation, IP. |
device state |
Live robot state: head pose, antenna positions, body yaw. |
app list |
Available apps (installed and installable). |
app status |
The currently running app, if any. |
app start <name> |
Start an installed app by name. |
app stop |
Stop the currently running app. |
move goto |
Move head/antennas (mm + degrees); see reachy explain move for flags. |
move wake |
Play the wake-up animation. |
move sleep |
Play the go-to-sleep animation. |
Each noun also exposes overview (e.g. reachy move overview).
uv run reachy daemon start # bring the local daemon up (and wake the robot)
uv run reachy device status # now answers instead of exit-2
uv run reachy app list --json
uv run reachy move goto --z 10 --pitch -5 --duration 2
uv run reachy move wake
uv run reachy daemon stop # put it back down when you're done
Make it your own
- Rename the package
reachy/and thereachy-mini-cliCLI/dist name throughoutpyproject.toml, the package,tests/, andsonar-project.properties. - Edit
culture.yamlwith yoursuffixandbackend. - Rewrite
CLAUDE.mdfor your agent and run/init. - Re-vendor only the skills you need from guildmaster (see
docs/skill-sources.md).
See CLAUDE.md for the full conventions (version-bump-every-PR,
the cicd PR lane, deploy setup).
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reachy_cli-0.3.0.tar.gz.
File metadata
- Download URL: reachy_cli-0.3.0.tar.gz
- Upload date:
- Size: 245.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d08e8518266f0859ae18c99eddf11ffa38a86e7843f0728178bc4011c627e14
|
|
| MD5 |
bb000bd949cb21f459a3c8e3c7a08aad
|
|
| BLAKE2b-256 |
c6299384010e8306333607324b4f68dfbf5af36d31a91b5f5638ddf822417942
|
File details
Details for the file reachy_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: reachy_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 41.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66b337ceb49c3f824540e342dac9daaeec2ced209d876c7ff8835240fe3a7af1
|
|
| MD5 |
7b9a4fd59fec2d0f76b9fa6791c0e38e
|
|
| BLAKE2b-256 |
403196aff0cbbcfd5b9f175954d7fc53aaa120f0a3ded16aed31675dd61ce6dc
|