← Open Source

Talk with Reachy Mini.

ApplicationsPersonalPython
Momentum
+1stars in 24 hours+0.3%
372
Stars
285
Forks
+5
This week
19
Contributors
Created 2025-09-01 Ā· Updated 2026-12-05 Ā· #7557 today
Top developers
README
title Reachy Mini Conversation App
emoji šŸŽ¤
colorFrom red
colorTo blue
sdk static
pinned false
short_description Talk with Reachy Mini!
suggested_storage large
tags
reachy_mini
reachy_mini_python_app

Reachy Mini conversation app

Conversational app for the Reachy Mini robot combining realtime voice, vision, personality-aware tools, and choreographed motion.

Table of contents

Overview

  • Low-latency audio conversation through the Hugging Face realtime backend, using the built-in server or a local endpoint.
  • Vision is handled by the realtime backend when the camera tool is used.
  • Layered motion system queues primary moves (dances, emotions, goto poses, breathing) while blending speech-reactive wobble.
  • Async tools integrate motion, camera capture, and MCP Tool Spaces. The optional web UI (--ui) manages conversations, personalities, tools, and settings, and its Talk view can show the live transcript. The backend's per-turn latencies appear there when Settings → Developer options → Show response latencies is on; the choice is saved across launches.

Architecture

The app connects the user, AI services, and robot hardware:

Installation

Important

Install Reachy Mini's SDK before using this app.
Windows support is currently experimental and has not been extensively tested. Use with caution.

Using uv (recommended)

Set up with uv:

# macOS (Homebrew)
uv venv --python /opt/homebrew/bin/python3.12 .venv

# Linux / Windows (Python in PATH)
uv venv --python python3.12 .venv

source .venv/bin/activate
uv sync

Include dev dependencies:

uv sync --group dev

Note

Run uv sync --frozen to install the exact dependency set from uv.lock without re-resolving versions.

Using pip
python -m venv .venv
source .venv/bin/activate
pip install -e .

Install dev dependencies:

pip install -e .[dev]                   # Development tools

Configuration

The default setup uses the Hugging Face backend and does not require an API key.

Copy .env.example to .env when you want to point Hugging Face at your own local endpoint.

Variable Description
REALTIME_TRANSCRIPTION_LANGUAGE Conversation language for every personality. Defaults to auto for automatic language detection; set to a backend-supported code such as en for English or zh for Chinese to fix the language. A fixed language forces speech recognition and synthesis, and the model is told to greet and answer in it.
LOCAL_BARGE_IN_ENABLED Local audio interruption. Defaults to true; requires LOCAL_VAD_ENABLED=true.
GESTURES_ENABLED Speech-driven gestures. Defaults to true. The robot plays a matching recorded emotion as it starts an expressive sentence and reacts to what the user says, with no tool call; neutral sentences get none. A 118 MB multilingual gesture model (MiniLM fine-tuned to pick a move) is downloaded to the Hugging Face cache on first use and runs on CPU with ONNX Runtime; once loaded it uses about 200 MB of RAM. The Movement switch in the settings UI overrides it and applies without a restart.
GESTURES_LEVEL How readily the robot gestures: when_necessary, when_sure (default), when_unsure or every_sentence. Each level sets how sure the gesture model must be before a gesture plays. every_sentence also fills the robot's plain sentences with a calm nod or thinking look, unless it already reacted to what the user said, and lets a reaction and a confident reply gesture play one after the other. The Expressiveness control under Movement in the settings UI overrides it.
LOCAL_VAD_ENABLED Local Silero speech detection for faster physical listening reactions. Defaults to true; set to false to use server VAD alone for movement.
HF_REALTIME_CONNECTION_MODE Hugging Face connection selector: deployed uses the built-in Hugging Face server; local uses HF_REALTIME_WS_URL. Defaults to deployed.
HF_REALTIME_WS_URL Direct websocket endpoint for your own Hugging Face backend. Accepts either a base URL like ws://127.0.0.1:8765/v1 or the full websocket URL ws://127.0.0.1:8765/v1/realtime. Used when HF_REALTIME_CONNECTION_MODE=local.
HF_TOKEN Optional token for Hugging Face access. Local endpoints receive only this explicitly configured token.
REACHY_MINI_APP_TIMEOUT_MINUTES Minutes of inactivity before Reachy goes to sleep and the app stops. Defaults to 1440 (one day); set to 0 to disable.
REACHY_MINI_INSTANCE_PATH Directory for this instance's data: long-term memory, user personalities and settings. Defaults to conversation_app beside the daemon's own config (~/.config/reachy_mini on Linux). Data written by an older version inside the installed package is copied over once.
REACHY_MINI_MEMORY_ENABLED Long-term memory. When false, remembered facts stay on disk but are not injected into the prompt, and the remember / forget tools decline. Defaults to true.
REACHY_MINI_CAMERA_ENABLED Camera tool. --no-camera forces it off regardless. Defaults to true.

These variables are the starting value. What you change through the settings UI (or from the mobile app) is written to settings.json in the instance directory and wins over them, so a toggle always does what it says.

Pick the conversation language with the flag button next to the personality on the Talk view. Save for chooses between the active personality only and all personalities; saving for all also clears the languages saved for single personalities. A personality's own language wins over the shared one and applies from the startup greeting on, so switching personality switches the language with it. Saving reconnects the conversation, and Reachy greets you again in the new language.

LOCAL_VAD_ENABLED defaults to true. Change Local speech detection in the gear-wheel Settings → Speech behavior view. Saved choices take precedence over environment defaults and persist across launches; saving reconnects the conversation to apply the change. Local Silero VAD and server VAD both control physical listening: either detector freezes the antennas and suppresses idle movement. Movement resumes smoothly once both report silence. Local detection holds through 400 ms of silence and clears after 500 ms without microphone frames. Model history clears after each completed speech segment and after 500 ms of consecutive low-confidence idle audio (512 ms at the 32 ms inference cadence). These resets preserve pending microphone samples and context during speech and within-segment pauses. It uses the SDK's 16 kHz microphone audio; conversation turns continue to use server VAD. If local detection fails, the app logs a warning and uses server VAD alone.

Local barge-in defaults to enabled. Change Local barge-in in Settings → Speech behavior, or set LOCAL_BARGE_IN_ENABLED=false to disable it when no saved preference exists. It requires local speech detection; disabling that switch also disables local interruption while preserving the saved barge-in preference. While audio is buffered or being submitted for playback (plus a 100 ms trailing margin), a Silero speech candidate lowers upcoming playback to 25% amplitude. Playback only stops once server VAD confirms the user turn, so loud background speech ducks the robot without dropping its answer; late audio from the interrupted response is discarded. A rejected candidate restores normal volume after 64 ms of silence. Server interruptions remain enabled, and microphone audio continues streaming to the backend. Playback is fed to the SDK in paced 20 ms chunks; already-submitted audio and SDK/transport latency delay audible volume changes. This is experimental: speaker echo, motor noise, audible latency and CPU overhead still need robot testing. With --debug, open /static/vad-monitor.html on the app settings server for a read-only live monitor with completed user and robot transcripts. The transcript view keeps the last 100 turns received while the page is open and clears on refresh. The /rpc WebSocket emits conversation.vad diagnostics with a Unix timestamp, the latest Silero speech probability, local/server/combined listening states, barge-in candidate and playback gain. Probability updates are limited to 10 Hz; state changes are reported immediately. Diagnostics reuse existing inference and do not change the inactivity timer.

On the first startup with local VAD enabled, the app downloads the Silero VAD v6.2.1 model and MIT license directly from the pinned upstream commit and verifies their SHA-256 checksums. They are stored in the Hugging Face assets cache (HF_HOME/assets, or HF_ASSETS_CACHE when set), like the cached emotion recordings. Later starts reuse the files without a network request. The model runs on CPU with ONNX Runtime. If the download or model load fails, the app logs a warning and continues with server VAD alone.

Hugging Face Connection Modes

Use the built-in Hugging Face server through the app-managed Space proxy. This is the default for a new install; set it explicitly only when you want to switch back from a saved local endpoint:

HF_REALTIME_CONNECTION_MODE=deployed

Deployed session allocation falls back to cached hf auth login credentials and reports the daemon-provided hardware ID when available. Cached credentials and the hardware ID are not sent to local endpoints.

Run your own realtime voice backend using speech-to-speech on the same machine as the conversation app:

HF_REALTIME_CONNECTION_MODE=local
HF_REALTIME_WS_URL=ws://127.0.0.1:8765/v1/realtime

Run your own Hugging Face backend on your laptop and connect to it from Reachy Mini Wireless over the same Wi-Fi network:

HF_REALTIME_CONNECTION_MODE=local
HF_REALTIME_WS_URL=ws://<your-laptop-lan-ip>:8765/v1/realtime

For that LAN setup, make sure the backend listens on an address reachable from the robot, not only on 127.0.0.1.

If the backend stays bound to loopback on your laptop, you can forward it into the robot over SSH instead:

ssh -N -R 8765:127.0.0.1:8765 <robot-user>@<robot-host>

Then set this on the robot:

HF_REALTIME_CONNECTION_MODE=local
HF_REALTIME_WS_URL=ws://127.0.0.1:8765/v1/realtime

In the web UI's Settings view, the Connection section lets you choose either the built-in server or a local host:port target. The UI writes HF_REALTIME_CONNECTION_MODE for you, and the local path writes HF_REALTIME_WS_URL with a default of localhost:8765.

Running the app

Activate your virtual environment, then launch:

reachy-mini-conversation-app

Tip

Make sure the Reachy Mini daemon is running before launching the app. If you see a TimeoutError, it means the daemon isn't started. See Reachy Mini's SDK for setup instructions.

The app runs in console mode. Add --ui to serve the web interface at http://127.0.0.1:7860/.

CLI options

Option Default Description
--no-camera False Run without camera capture.
--ui False Serve the web UI at http://127.0.0.1:7860/, in addition to console mode.
--robot-name None Optional. Connect to a specific robot by name when running multiple daemons on the same subnet. See Multiple robots on the same subnet.
--debug False Enable verbose logging for troubleshooting.

Examples

# Audio-only conversation (no camera)
reachy-mini-conversation-app --no-camera

# Launch with the minimal web UI for personality/mic/settings control
reachy-mini-conversation-app --ui

LLM tools exposed to the assistant

The default profile exposes these tools. Use Tools → Tool access to customize any profile. Every bundled profile enables head_tracking by default; users can still disable it per personality.

Tool Action Dependencies
dance Queue a dance from reachy_mini_dances_library. Core install only.
stop_dance Clear queued dances. Core install only.
play_emotion Play a recorded emotion clip via Hugging Face datasets. Core install only. Uses the default open emotions dataset: pollen-robotics/reachy-mini-emotions-library.
stop_emotion Clear queued emotions. Core install only.
camera Capture the latest camera frame and analyze it with the selected realtime backend. Core install only. Requires the camera (disable with --no-camera).
idle_do_nothing Explicitly remain idle during an idle turn. Not intended for normal conversation turns. Core install only.
move_head Queue a head pose change (left/right/up/down/front). Core install only.
head_tracking Follow the user's face with the head, or stop following. Core install only. Requires a daemon with the vision extra and a camera.
go_to_sleep Run Reachy's sleep movement and stop the current app after an explicit user request. Core install only.
sweep_look Sweep Reachy's head left, right, and back to center. Shared tool, enabled by default in the default profile.
remember Save one short, stable fact about the user for future sessions. Core install only. Stored in the app instance data directory.
forget Remove a saved memory fact by matching a short query. Core install only.
volume_control Read or change Reachy's speaker or microphone volume. Core install only. Uses the daemon REST API.
robot_status Read one status topic: name, software (version, update available), wifi (IP address, network), account (Hugging Face sign-in), imu (which way the head is tilted, motion, temperature), apps (installed apps). Core install only. Uses the daemon REST API. The update check and the Wi-Fi network details are wireless-version only; the IP address is reported on any robot.
get_time Report the current date and time for a timezone or the user's local time, or the difference between two timezones. Core install only. Explicit timezone queries work offline. An empty timezone honors an explicit process timezone (TZ); otherwise, it estimates the local timezone once per session through ipwho.is. Lookup failure returns host time with a warning and retries after one minute.
pollen_robotics_reachy_mini_search_tool__search_web Search the web and return a short list of results. Preinstalled MCP Space: pollen-robotics/reachy-mini-search-tool.
pollen_robotics_reachy_mini_weather_tool__get_weather Report today's weather for a place: current conditions, high and low temperature, and rain chance. Preinstalled MCP Space: pollen-robotics/reachy-mini-weather-tool.
pollen_robotics_reachy_mini_knowledge_tool__get_info Read the official overview, capabilities, versions, and prices for a Pollen Robotics product or the company. Preinstalled MCP Space: pollen-robotics/reachy-mini-knowledge-tool.
pollen_robotics_reachy_mini_knowledge_tool__search_docs Search the official Reachy Mini FAQ and troubleshooting documentation. Preinstalled MCP Space: pollen-robotics/reachy-mini-knowledge-tool.

Note

remember/forget facts are stored in memory.v1.json inside the app's instance data directory (~/.local/share/reachy_mini_conversation_app/ by default, or the instance path used by the desktop launcher). forget only removes facts matched by query. To reset all remembered facts, delete this file.

Creating and adding tools

Tools can run locally as Python code or remotely in an MCP-compatible Hugging Face Space. Keep robot, camera, and local-data operations in local tools. A Space is a better fit for shareable, stateless services such as search and external API lookups.

Local tools

Create one Python module per tool, with the file name matching the tool's unique name. See idle_do_nothing.py for a minimal implementation.

Each tool subclasses Tool and defines name, a model-facing description, an object-shaped JSON Schema in parameters_schema, and an async __call__ method. Use ToolDependencies for runtime services, and set needs_response = False for actions that should not trigger a spoken follow-up. Catch expected operational failures, log them with the module logger, and return {"error": "..."} so the conversation can continue.

Restart the app after adding the module. Use Tools → Tool access to enable it for a personality, or add its name to that profile's default_tools in profile.md. See External profiles and tools for external directories and autoload behavior.

Hugging Face Space tools

To publish a remote tool, create a Gradio Space, expose its API as MCP with mcp_server=True, and give each function clear type hints and docstrings. Verify that https://<space-subdomain>.hf.space/gradio_api/mcp/schema lists the expected tools before installing the Space.

Use the maintained weather and search Spaces as examples. See Gradio's MCP server guide for additional publishing guidance and Installing Hugging Face Space tools for this app's installation steps.

Advanced features

Built-in motion content is published as open Hugging Face datasets:

Custom profiles

Create custom profiles with dedicated instructions and per-profile tool access.

Select and save a startup profile in the UI. The choice is stored in startup_settings.json. Before one is saved, REACHY_MINI_CUSTOM_PROFILE=<name> can select profiles/<name>/; otherwise the app uses default.

Every profile directory contains one strict schema-version-1 profile.md. TOML metadata is enclosed by +++; the remaining Markdown body is the realtime assistant prompt:

+++
schema_version = 1
voice = "Aiden"
greeting = "Greet me warmly in one sentence, in character, and vary the wording each time."
hidden = false
default_tools = [
  "dance",
  "camera",
  "sweep_look",
]
+++

## Identity

You are a concise, friendly robot guide.

schema_version, default_tools, and a non-empty Markdown body are required. voice, greeting, and hidden are optional. Set hidden = true to omit a profile from the UI. An empty default_tools list is valid and inherits nothing.

default_tools is the authored baseline. Tools → Tool access stores overrides in instance-local profile_toolsets.json without changing bundled profiles. Restoring defaults removes the override. Active-profile changes reconnect the conversation; other changes apply when selected.

Profile directories are data-only. Python tool implementations belong in src/reachy_mini_conversation_app/tools/, or in REACHY_MINI_EXTERNAL_TOOLS_DIRECTORY for external tools. Each enabled tool ID must resolve to a shared tool, an external tool, or a tool from an installed Hugging Face Space.

See Creating and adding tools for the local tool interface and a maintained example.

To manage personalities in the UI:

With --ui, Home lists the available profiles and the built-in default:

  • Tap a card to apply that personality and start talking.
  • Tap "Manage tools" on a saved personality to open its tool access directly.
  • Tap "Custom" to create a personality with a name, instructions, and optional greeting. It inherits the default tools, which can be changed under "Manage tools". Managed instances store it at user_personalities/<name>/profile.md; standalone runs use external_content/user_personalities/<name>/profile.md.

Switching a personality reloads its prompt and effective tools through a quick backend reconnect. Editing profile.md directly requires re-selecting the profile or restarting the app.

Locked profile mode

To create a locked variant of the app that cannot switch profiles, edit src/reachy_mini_conversation_app/config.py and set the LOCKED_PROFILE constant to the desired profile name:

LOCKED_PROFILE: str | None = "mars_rover"  # Lock to this profile

When set, the app ignores saved startup settings, REACHY_MINI_CUSTOM_PROFILE, and UI selection. The UI marks the profile as locked and disables editing.

External profiles and tools

You can extend the app with profiles/tools stored outside the repository defaults.

  • Core profiles are under profiles/.
  • Core tools are under src/reachy_mini_conversation_app/tools/.

Recommended layout:

external_content/
ā”œā”€ā”€ external_profiles/
│   └── my_profile/
│       └── profile.md
ā”œā”€ā”€ external_tools/
│   └── my_custom_tool.py
ā”œā”€ā”€ user_personalities/
│   └── my_custom_profile/
│       └── profile.md
ā”œā”€ā”€ installed_tool_spaces.json
└── profile_toolsets.json

Environment variables:

Set these values in your .env when you want env-driven external profile/tool selection:

# Optional fallback/manual profile selector:
REACHY_MINI_CUSTOM_PROFILE=my_profile
REACHY_MINI_EXTERNAL_PROFILES_DIRECTORY=./external_content/external_profiles
REACHY_MINI_EXTERNAL_TOOLS_DIRECTORY=./external_content/external_tools
# Optional convenience mode:
# AUTOLOAD_EXTERNAL_TOOLS=1

Loading rules:

  • Profiles: each directory requires a schema-version-1 profile.md with explicit default_tools; there is no cross-profile fallback.
  • Default mode: enabled IDs must resolve to a shared, external, or installed Tool Space tool.
  • Autoload: AUTOLOAD_EXTERNAL_TOOLS=1 adds every valid *.py module from REACHY_MINI_EXTERNAL_TOOLS_DIRECTORY.
  • Web UI: Tools → Tool access enables external modules per profile; it does not upload or edit Python.
  • Separation: profile directories contain data only; external Python belongs in REACHY_MINI_EXTERNAL_TOOLS_DIRECTORY.
  • Tool names: every loaded class needs a unique Tool.name; duplicates fail fast.

Installing Hugging Face Space tools

You can install MCP-compatible Hugging Face Spaces as remote tool sources for this app. Private Spaces work too, as long as HF_TOKEN is set (or you have run hf auth login) for an account that can access them. To publish a new Space, follow Creating and adding tools.

Tools → Tool Spaces installs or refreshes a global source. Its tools then appear under Tools → Tool access for per-profile selection. Removing a Space removes its tools from every profile. Active-profile changes reconnect the conversation; other changes apply when selected.

The app accepts Hugging Face Spaces exposing the standard /gradio_api/mcp/ endpoint, and custom MCP servers given by their URL (see below). Installation discovers the source's tools and assigns namespaced local IDs, so do not guess or hard-code those IDs beforehand.

# install + enable in active profile
reachy-mini-conversation-app tool-spaces add <owner/space-name>

# enable in a specific profile
reachy-mini-conversation-app tool-spaces add <owner/space-name> --profile NAME

# install without enabling
reachy-mini-conversation-app tool-spaces add <owner/space-name> --install-only

# list installed spaces
reachy-mini-conversation-app tool-spaces list

# remove an installed space
reachy-mini-conversation-app tool-spaces remove owner/space-name

A custom MCP server, for example a Home Assistant hub on your network, is installed and refreshed the same way, with its URL in place of the Space name. It is listed and removed by its alias. On the Tools page, typing a URL shows fields for the alias, a token and plain HTTP. On a robot, add servers from the Tools page: the command line writes to external_content/ in the current folder, which the app started by the daemon does not read.

reachy-mini-conversation-app tool-spaces add https://mcp.example.com/mcp

# name the tool prefix and send a bearer token read from an environment variable
reachy-mini-conversation-app tool-spaces add http://homeassistant.local:8123/api/mcp/assist --alias hass --token-env HASS_TOKEN --allow-insecure-http

reachy-mini-conversation-app tool-spaces remove hass
  • The URL must use HTTPS. Plain HTTP is accepted on the local network only: loopback, private or link-local addresses and .local names.
  • Put secrets in the token, not in the URL. A URL with a user name or password is refused.
  • A token entered on the Tools page is saved in the instance .env as MCP_TOKEN_<ALIAS>. --token-env names the environment variable holding the token, for example a line in the instance .env. The manifest stores the variable name, never the token. A server whose variable is not set is skipped at startup.
  • A token is sent over plain HTTP only with --allow-insecure-http, since anyone on the network can then read it.
  • A custom server never receives the Hugging Face token.
  • For Home Assistant, use /api/mcp/assist, which serves only the entities exposed to Assist. By default /api/mcp also serves the Home Assistant tool set, which can perform any action and needs an administrator token. Create the token for a non-administrator user, and expose to Assist only entities anyone near the robot may control.

Bundled Pollen Spaces use static specs and are enabled by the default profile. Newly bundled Spaces are added to existing installations without restoring older tools the user removed. The former time Space is dropped from existing installations, and profiles that enabled it use the built-in get_time tool instead. Reinstalling that Space is rejected; enable get_time under Tool access. Custom Spaces are validated through the Hugging Face Hub; HF tokens are sent only to private Spaces. Tool metadata is cached in:

  • installed_tool_spaces.json in the managed app instance directory
  • external_content/installed_tool_spaces.json in terminal mode

Startup and profile switching read this cache without discovery or MCP probing. Network access occurs only during install, refresh, or remote tool calls. Per-profile access is stored in profile_toolsets.json beside the manifest, or under external_content/ in terminal mode.

Recommended tags for discoverability on Hugging Face:

  • reachy-mini-tool
  • mcp

Tags are advisory; installation still requires successful MCP validation.

[!NOTE] Preinstalled Pollen Spaces can be removed like any other (tool-spaces remove pollen-robotics/reachy-mini-weather-tool). To restore access, reinstall the Space and restore or update the relevant profile under "Tool access".

Multiple robots on the same subnet

If you run multiple Reachy Mini daemons on the same network, use:

reachy-mini-conversation-app --robot-name <name>

<name> must match the daemon's --robot-name value so the app connects to the correct robot.

Contributing

See CONTRIBUTING.md for the development workflow and AGENTS.md for coding-agent standards.

License

Apache 2.0

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store