How mysteryholic/reachy-mini works
Reachy Robotis combines a Reachy Mini conversational robot app with a ROBOTIS device-execution interface. Its main workflow takes voice, text, or web input through a realtime backend and tool calling, resolves an intent into a registered operation, executes it through a device adapter and transport, and exposes status/results. The graph also preserves the documented workflow/recipe, web control, and camera/vision capabilities. Some subsystem connections are based on README documentation; unsampled implementations are not inferred beyond those statements.
Main entry points: action_executor.py Action Executor · routes.py ROBOTIS API · openai_realtime.py Realtime Handler · main.py App Startup
Components 26
Robot App
- App Startup
src/reachy_robotis/main.py - App Configuration
src/reachy_robotis/config.py - Chat UI
src/reachy_robotis/static/chat.js - ROBOTIS Panel
src/reachy_robotis/robotis_interface/web/static/robotis_panel.js - ROBOTIS API
src/reachy_robotis/robotis_interface/web/routes.py
Conversation Tools
- Realtime Handler
src/reachy_robotis/openai_realtime.py - Tool Dispatch
src/reachy_robotis/tools/core_tools.py - Background Tools
src/reachy_robotis/tools/background_tool_manager.py
ROBOTIS Execution
- Executor Assembly
src/reachy_robotis/robotis_interface/core/service.py - Intent Resolver
src/reachy_robotis/robotis_interface/core/intent_resolver.py - Operation Catalogs
src/reachy_robotis/robotis_interface/core - Action Executor
src/reachy_robotis/robotis_interface/core/action_executor.py - Execution Schemas
src/reachy_robotis/robotis_interface/core/schemas.py - Device Status
src/reachy_robotis/robotis_interface/core/status_store.py - Recipe Sessions
src/reachy_robotis/robotis_interface/core/terminal_session_manager.py
Devices And Transport
- Device Registry
src/reachy_robotis/robotis_interface/core/device_registry.py - Connection Registry
src/reachy_robotis/robotis_interface/core/connection_registry.py - Device Adapters
src/reachy_robotis/robotis_interface/adapters/base.py - OMX Adapter
src/reachy_robotis/robotis_interface/adapters/omx_adapter.py - Command Transports
src/reachy_robotis/robotis_interface/transports/connection_transport.py - CLI Transport
src/reachy_robotis/robotis_interface/transports/cli_transport.py
Vision
- Camera Worker
src/reachy_robotis/camera_worker.py - Vision Processing
src/reachy_robotis/vision/processors.py - Object Detector
src/reachy_robotis/vision/object_detector.py
Other components
- User
- Realtime Backend
Connections 33
- User → Chat UI: sends input
- User → ROBOTIS Panel: controls
- App Startup → Realtime Handler: wires handler
src/reachy_robotis/main.py - App Startup → ROBOTIS API: mounts routes
src/reachy_robotis/main.py - App Startup → App Configuration: configures app
src/reachy_robotis/main.py - Chat UI → Realtime Handler: sends conversation
- Realtime Handler → Realtime Backend: connects realtime
- Realtime Handler → Tool Dispatch: dispatches calls
src/reachy_robotis/openai_realtime.py - Tool Dispatch → Background Tools: runs asynchronously
src/reachy_robotis/tools/core_tools.py - Tool Dispatch → Intent Resolver: resolves intent
- ROBOTIS Panel → ROBOTIS API: calls API
- ROBOTIS API → Action Executor: requests execution
src/reachy_robotis/robotis_interface/web/routes.py - Executor Assembly → Action Executor: assembles
src/reachy_robotis/robotis_interface/core/service.py - Executor Assembly → Operation Catalogs: creates catalogs
src/reachy_robotis/robotis_interface/core/service.py - Executor Assembly → Intent Resolver: creates resolver
src/reachy_robotis/robotis_interface/core/service.py - Intent Resolver → Operation Catalogs: matches operations
src/reachy_robotis/robotis_interface/core/intent_resolver.py - Action Executor → Operation Catalogs: loads operations
src/reachy_robotis/robotis_interface/core/action_executor.py - Action Executor → Device Adapters: dispatches device work
src/reachy_robotis/robotis_interface/core/action_executor.py - Action Executor → Connection Registry: uses profiles
src/reachy_robotis/robotis_interface/core/action_executor.py - Action Executor → Recipe Sessions: manages sessions
src/reachy_robotis/robotis_interface/core/action_executor.py - Action Executor → Device Status: updates status
src/reachy_robotis/robotis_interface/core/action_executor.py - Device Registry → Execution Schemas: loads device data
- Device Adapters → Execution Schemas: uses definitions
src/reachy_robotis/robotis_interface/adapters/base.py - OMX Adapter → CLI Transport: runs commands
src/reachy_robotis/robotis_interface/adapters/omx_adapter.py - OMX Adapter → Device Status: updates status
src/reachy_robotis/robotis_interface/adapters/omx_adapter.py - Recipe Sessions → Connection Registry: loads profiles
src/reachy_robotis/robotis_interface/core/terminal_session_manager.py - Recipe Sessions → Command Transports: runs commands
src/reachy_robotis/robotis_interface/core/terminal_session_manager.py - Command Transports → Connection Registry: uses profiles
src/reachy_robotis/robotis_interface/transports/connection_transport.py - CLI Transport → Device Registry: reads allowlist
src/reachy_robotis/robotis_interface/transports/cli_transport.py - ROBOTIS API → Camera Worker: serves camera controls
- ROBOTIS API → Object Detector: serves detections
src/reachy_robotis/robotis_interface/web/routes.py - Camera Worker → Vision Processing: feeds vision
- Vision Processing → Object Detector: supports detection