reachy-nova 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- reachy_nova-0.1.0/LICENSE +21 -0
- reachy_nova-0.1.0/PKG-INFO +103 -0
- reachy_nova-0.1.0/README.md +78 -0
- reachy_nova-0.1.0/docker/nervous-system/heartbeat.py +45 -0
- reachy_nova-0.1.0/docker/nervous-system/nervous_system.py +473 -0
- reachy_nova-0.1.0/pyproject.toml +55 -0
- reachy_nova-0.1.0/reachy_nova/__init__.py +18 -0
- reachy_nova-0.1.0/reachy_nova/antenna_animator.py +218 -0
- reachy_nova-0.1.0/reachy_nova/api_routes.py +181 -0
- reachy_nova-0.1.0/reachy_nova/audio_pipeline.py +56 -0
- reachy_nova-0.1.0/reachy_nova/config.py +48 -0
- reachy_nova-0.1.0/reachy_nova/emotions.py +487 -0
- reachy_nova-0.1.0/reachy_nova/face_manager.py +361 -0
- reachy_nova-0.1.0/reachy_nova/face_recognition.py +239 -0
- reachy_nova-0.1.0/reachy_nova/forge_validator.py +215 -0
- reachy_nova-0.1.0/reachy_nova/gestures.py +277 -0
- reachy_nova-0.1.0/reachy_nova/harness/__init__.py +13 -0
- reachy_nova-0.1.0/reachy_nova/harness/__main__.py +6 -0
- reachy_nova-0.1.0/reachy_nova/harness/app.py +308 -0
- reachy_nova-0.1.0/reachy_nova/harness/bus.py +638 -0
- reachy_nova-0.1.0/reachy_nova/harness/cognition_feed.py +93 -0
- reachy_nova-0.1.0/reachy_nova/harness/gate.py +94 -0
- reachy_nova-0.1.0/reachy_nova/harness/hearing.py +535 -0
- reachy_nova-0.1.0/reachy_nova/harness/memory_leg.py +284 -0
- reachy_nova-0.1.0/reachy_nova/harness/rules_overlay.py +552 -0
- reachy_nova-0.1.0/reachy_nova/harness/speaking.py +444 -0
- reachy_nova-0.1.0/reachy_nova/harness/statedir.py +118 -0
- reachy_nova-0.1.0/reachy_nova/harness/supervisor.py +462 -0
- reachy_nova-0.1.0/reachy_nova/harness/tools.py +794 -0
- reachy_nova-0.1.0/reachy_nova/harness/unit.py +250 -0
- reachy_nova-0.1.0/reachy_nova/harness/vision_leg.py +451 -0
- reachy_nova-0.1.0/reachy_nova/main.py +950 -0
- reachy_nova-0.1.0/reachy_nova/movement_math.py +18 -0
- reachy_nova-0.1.0/reachy_nova/nova_browser.py +364 -0
- reachy_nova-0.1.0/reachy_nova/nova_context.py +35 -0
- reachy_nova-0.1.0/reachy_nova/nova_feedback.py +417 -0
- reachy_nova-0.1.0/reachy_nova/nova_memory.py +645 -0
- reachy_nova-0.1.0/reachy_nova/nova_mqtt.py +113 -0
- reachy_nova-0.1.0/reachy_nova/nova_omni.py +241 -0
- reachy_nova-0.1.0/reachy_nova/nova_slack.py +314 -0
- reachy_nova-0.1.0/reachy_nova/nova_sonic.py +812 -0
- reachy_nova-0.1.0/reachy_nova/nova_vision.py +185 -0
- reachy_nova-0.1.0/reachy_nova/safety.py +93 -0
- reachy_nova-0.1.0/reachy_nova/sensory_log.py +38 -0
- reachy_nova-0.1.0/reachy_nova/session_state.py +347 -0
- reachy_nova-0.1.0/reachy_nova/skill_executors.py +581 -0
- reachy_nova-0.1.0/reachy_nova/skill_forge.py +342 -0
- reachy_nova-0.1.0/reachy_nova/skills/browse/SKILL.md +24 -0
- reachy_nova-0.1.0/reachy_nova/skills/control/SKILL.md +28 -0
- reachy_nova-0.1.0/reachy_nova/skills/face/SKILL.md +62 -0
- reachy_nova-0.1.0/reachy_nova/skills/focus/SKILL.md +38 -0
- reachy_nova-0.1.0/reachy_nova/skills/forge/SKILL.md +32 -0
- reachy_nova-0.1.0/reachy_nova/skills/gesture/SKILL.md +45 -0
- reachy_nova-0.1.0/reachy_nova/skills/look/SKILL.md +23 -0
- reachy_nova-0.1.0/reachy_nova/skills/memory/SKILL.md +24 -0
- reachy_nova-0.1.0/reachy_nova/skills/mood/SKILL.md +65 -0
- reachy_nova-0.1.0/reachy_nova/skills/remember_negatively/SKILL.md +24 -0
- reachy_nova-0.1.0/reachy_nova/skills/remember_positively/SKILL.md +24 -0
- reachy_nova-0.1.0/reachy_nova/skills/slack/SKILL.md +29 -0
- reachy_nova-0.1.0/reachy_nova/skills/vocalize/SKILL.md +41 -0
- reachy_nova-0.1.0/reachy_nova/skills.py +563 -0
- reachy_nova-0.1.0/reachy_nova/sleep_mode.py +68 -0
- reachy_nova-0.1.0/reachy_nova/sleep_orchestrator.py +259 -0
- reachy_nova-0.1.0/reachy_nova/speech_events.py +310 -0
- reachy_nova-0.1.0/reachy_nova/state.py +85 -0
- reachy_nova-0.1.0/reachy_nova/static/index.html +214 -0
- reachy_nova-0.1.0/reachy_nova/static/main.js +254 -0
- reachy_nova-0.1.0/reachy_nova/static/style.css +724 -0
- reachy_nova-0.1.0/reachy_nova/temporal.py +117 -0
- reachy_nova-0.1.0/reachy_nova/tracking.py +772 -0
- reachy_nova-0.1.0/reachy_nova/vocalize.py +193 -0
- reachy_nova-0.1.0/reachy_nova/wake_word.py +130 -0
- reachy_nova-0.1.0/reachy_nova.egg-info/PKG-INFO +103 -0
- reachy_nova-0.1.0/reachy_nova.egg-info/SOURCES.txt +219 -0
- reachy_nova-0.1.0/reachy_nova.egg-info/dependency_links.txt +1 -0
- reachy_nova-0.1.0/reachy_nova.egg-info/entry_points.txt +6 -0
- reachy_nova-0.1.0/reachy_nova.egg-info/requires.txt +15 -0
- reachy_nova-0.1.0/reachy_nova.egg-info/top_level.txt +8 -0
- reachy_nova-0.1.0/setup.cfg +4 -0
- reachy_nova-0.1.0/tests/chaos/__init__.py +11 -0
- reachy_nova-0.1.0/tests/chaos/test_chaos_aws_loss.py +177 -0
- reachy_nova-0.1.0/tests/chaos/test_chaos_harness_kill.py +149 -0
- reachy_nova-0.1.0/tests/chaos/test_chaos_runtime_restart.py +288 -0
- reachy_nova-0.1.0/tests/chaos/test_chaos_wifi_flap.py +220 -0
- reachy_nova-0.1.0/tests/conftest.py +50 -0
- reachy_nova-0.1.0/tests/test_audio_direction.py +235 -0
- reachy_nova-0.1.0/tests/test_cognition_feed.py +234 -0
- reachy_nova-0.1.0/tests/test_forge_validator.py +191 -0
- reachy_nova-0.1.0/tests/test_hardening.py +159 -0
- reachy_nova-0.1.0/tests/test_harness_app.py +319 -0
- reachy_nova-0.1.0/tests/test_harness_boundary.py +215 -0
- reachy_nova-0.1.0/tests/test_harness_bus.py +731 -0
- reachy_nova-0.1.0/tests/test_harness_gate.py +115 -0
- reachy_nova-0.1.0/tests/test_harness_hearing.py +749 -0
- reachy_nova-0.1.0/tests/test_harness_install_script.py +211 -0
- reachy_nova-0.1.0/tests/test_harness_memory_leg.py +454 -0
- reachy_nova-0.1.0/tests/test_harness_rules_overlay.py +378 -0
- reachy_nova-0.1.0/tests/test_harness_speaking.py +499 -0
- reachy_nova-0.1.0/tests/test_harness_supervisor.py +367 -0
- reachy_nova-0.1.0/tests/test_harness_tools.py +769 -0
- reachy_nova-0.1.0/tests/test_harness_unit.py +182 -0
- reachy_nova-0.1.0/tests/test_harness_vision_leg.py +616 -0
- reachy_nova-0.1.0/tests/test_hot_registration.py +780 -0
- reachy_nova-0.1.0/tests/test_main_integration.py +167 -0
- reachy_nova-0.1.0/tests/test_nova_act_flag.py +242 -0
- reachy_nova-0.1.0/tests/test_nova_omni.py +335 -0
- reachy_nova-0.1.0/tests/test_packaging.py +94 -0
- reachy_nova-0.1.0/tests/test_placeholder.py +11 -0
- reachy_nova-0.1.0/tests/test_rules_coverage.py +183 -0
- reachy_nova-0.1.0/tests/test_sensory_log.py +143 -0
- reachy_nova-0.1.0/tests/test_skill_forge.py +675 -0
- reachy_nova-0.1.0/tests/test_sonic_resilience.py +463 -0
- reachy_nova-0.1.0/tests/test_speech_events.py +309 -0
- reachy_nova-0.1.0/tests/test_vocalize.py +249 -0
- reachy_nova-0.1.0/tools/__init__.py +0 -0
- reachy_nova-0.1.0/tools/sonic_demo.py +174 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ori Nachum
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: reachy-nova
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Reachy Nova - Voice, Vision & Browser AI for Reachy Mini
|
|
5
|
+
Keywords: reachy-mini-app
|
|
6
|
+
Requires-Python: >=3.12
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Dist: reachy-mini
|
|
10
|
+
Requires-Dist: boto3>=1.35.0
|
|
11
|
+
Requires-Dist: aws_sdk_bedrock_runtime>=0.3.0
|
|
12
|
+
Requires-Dist: nova-act>=3.0.0
|
|
13
|
+
Requires-Dist: numpy
|
|
14
|
+
Requires-Dist: opencv-python
|
|
15
|
+
Requires-Dist: python-dotenv
|
|
16
|
+
Requires-Dist: pyaudio
|
|
17
|
+
Requires-Dist: ultralytics
|
|
18
|
+
Requires-Dist: pymongo>=4.6.0
|
|
19
|
+
Requires-Dist: neo4j>=5.0.0
|
|
20
|
+
Requires-Dist: slack-bolt>=1.18.0
|
|
21
|
+
Requires-Dist: paho-mqtt>=2.0.0
|
|
22
|
+
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Requires-Dist: nemo_toolkit[asr]
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
title: Reachy Nova
|
|
28
|
+
emoji: "\U0001F916"
|
|
29
|
+
colorFrom: indigo
|
|
30
|
+
colorTo: cyan
|
|
31
|
+
sdk: static
|
|
32
|
+
pinned: false
|
|
33
|
+
short_description: Voice, Vision & Browser AI for Reachy Mini
|
|
34
|
+
tags:
|
|
35
|
+
- reachy_mini
|
|
36
|
+
- reachy_mini_python_app
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
# Reachy Nova
|
|
40
|
+
|
|
41
|
+
AI-powered brain for Reachy Mini, integrating three Amazon Nova services:
|
|
42
|
+
|
|
43
|
+
- **Nova Sonic** - Real-time speech-to-speech conversation
|
|
44
|
+
- **Nova 2 Lite** - Camera-based vision and scene understanding
|
|
45
|
+
- **Nova Act** - Voice-controlled browser automation
|
|
46
|
+
|
|
47
|
+
This project enables Reachy Mini to see, hear, speak, and interact with the digital world.
|
|
48
|
+
|
|
49
|
+
<img width="1115" height="987" alt="image" src="https://github.com/user-attachments/assets/3b66f514-3384-47a8-8fd8-dc6f82faa38c" />
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Documentation
|
|
53
|
+
|
|
54
|
+
- [**Architecture Overview**](docs/architecture.md): High-level system design.
|
|
55
|
+
- [**Component Documentation**](docs/components/): Detailed docs for each module.
|
|
56
|
+
- [Nova Sonic (Voice)](docs/components/nova_sonic.md)
|
|
57
|
+
- [Nova Vision (Sight)](docs/components/nova_vision.md)
|
|
58
|
+
- [Nova Browser (Action)](docs/components/nova_browser.md)
|
|
59
|
+
- [Tracking Manager](docs/components/tracking.md)
|
|
60
|
+
- [Skills System](docs/components/skills.md)
|
|
61
|
+
- [**Main Application**](docs/main.md): Core loop and state management.
|
|
62
|
+
- [**Setup Guide**](docs/setup.md): detailed installation instructions.
|
|
63
|
+
|
|
64
|
+
## Quick Start
|
|
65
|
+
|
|
66
|
+
1. **Install dependencies**:
|
|
67
|
+
```bash
|
|
68
|
+
uv sync
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
2. **Configure environment**:
|
|
72
|
+
```bash
|
|
73
|
+
cp .env.sample .env
|
|
74
|
+
# Edit .env with your AWS credentials
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
3. **Run**:
|
|
78
|
+
```bash
|
|
79
|
+
uv run python -m reachy_nova.main
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Features
|
|
83
|
+
|
|
84
|
+
- **Natural Conversation**: Talk to the robot naturally - it responds with voice via Nova Sonic.
|
|
85
|
+
- **Visual Understanding**: The robot sees through its camera and describes what it sees.
|
|
86
|
+
- **Browser Automation**: Say "search for..." or "look up..." to trigger Google searches and more.
|
|
87
|
+
- **Smart Tracking**:
|
|
88
|
+
- Tracks faces automatically.
|
|
89
|
+
- Turns to look at speakers.
|
|
90
|
+
- Reacts instantly to snaps/claps.
|
|
91
|
+
- **Expressive Animations**: Mood-reactive antenna and head movements.
|
|
92
|
+
- **Web Dashboard**: Monitor status at `http://localhost:8042`.
|
|
93
|
+
|
|
94
|
+
## Project Structure
|
|
95
|
+
|
|
96
|
+
- `reachy_nova/`: Main package.
|
|
97
|
+
- `main.py`: Entry point and orchestration.
|
|
98
|
+
- `nova_sonic.py`: Voice interface.
|
|
99
|
+
- `nova_vision.py`: Vision interface.
|
|
100
|
+
- `nova_browser.py`: Browser automation.
|
|
101
|
+
- `tracking.py`: Head tracking logic.
|
|
102
|
+
- `tools/`: Utility scripts (e.g., demos).
|
|
103
|
+
- `docs/`: Detailed documentation.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Reachy Nova
|
|
3
|
+
emoji: "\U0001F916"
|
|
4
|
+
colorFrom: indigo
|
|
5
|
+
colorTo: cyan
|
|
6
|
+
sdk: static
|
|
7
|
+
pinned: false
|
|
8
|
+
short_description: Voice, Vision & Browser AI for Reachy Mini
|
|
9
|
+
tags:
|
|
10
|
+
- reachy_mini
|
|
11
|
+
- reachy_mini_python_app
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Reachy Nova
|
|
15
|
+
|
|
16
|
+
AI-powered brain for Reachy Mini, integrating three Amazon Nova services:
|
|
17
|
+
|
|
18
|
+
- **Nova Sonic** - Real-time speech-to-speech conversation
|
|
19
|
+
- **Nova 2 Lite** - Camera-based vision and scene understanding
|
|
20
|
+
- **Nova Act** - Voice-controlled browser automation
|
|
21
|
+
|
|
22
|
+
This project enables Reachy Mini to see, hear, speak, and interact with the digital world.
|
|
23
|
+
|
|
24
|
+
<img width="1115" height="987" alt="image" src="https://github.com/user-attachments/assets/3b66f514-3384-47a8-8fd8-dc6f82faa38c" />
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
- [**Architecture Overview**](docs/architecture.md): High-level system design.
|
|
30
|
+
- [**Component Documentation**](docs/components/): Detailed docs for each module.
|
|
31
|
+
- [Nova Sonic (Voice)](docs/components/nova_sonic.md)
|
|
32
|
+
- [Nova Vision (Sight)](docs/components/nova_vision.md)
|
|
33
|
+
- [Nova Browser (Action)](docs/components/nova_browser.md)
|
|
34
|
+
- [Tracking Manager](docs/components/tracking.md)
|
|
35
|
+
- [Skills System](docs/components/skills.md)
|
|
36
|
+
- [**Main Application**](docs/main.md): Core loop and state management.
|
|
37
|
+
- [**Setup Guide**](docs/setup.md): detailed installation instructions.
|
|
38
|
+
|
|
39
|
+
## Quick Start
|
|
40
|
+
|
|
41
|
+
1. **Install dependencies**:
|
|
42
|
+
```bash
|
|
43
|
+
uv sync
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
2. **Configure environment**:
|
|
47
|
+
```bash
|
|
48
|
+
cp .env.sample .env
|
|
49
|
+
# Edit .env with your AWS credentials
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
3. **Run**:
|
|
53
|
+
```bash
|
|
54
|
+
uv run python -m reachy_nova.main
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Features
|
|
58
|
+
|
|
59
|
+
- **Natural Conversation**: Talk to the robot naturally - it responds with voice via Nova Sonic.
|
|
60
|
+
- **Visual Understanding**: The robot sees through its camera and describes what it sees.
|
|
61
|
+
- **Browser Automation**: Say "search for..." or "look up..." to trigger Google searches and more.
|
|
62
|
+
- **Smart Tracking**:
|
|
63
|
+
- Tracks faces automatically.
|
|
64
|
+
- Turns to look at speakers.
|
|
65
|
+
- Reacts instantly to snaps/claps.
|
|
66
|
+
- **Expressive Animations**: Mood-reactive antenna and head movements.
|
|
67
|
+
- **Web Dashboard**: Monitor status at `http://localhost:8042`.
|
|
68
|
+
|
|
69
|
+
## Project Structure
|
|
70
|
+
|
|
71
|
+
- `reachy_nova/`: Main package.
|
|
72
|
+
- `main.py`: Entry point and orchestration.
|
|
73
|
+
- `nova_sonic.py`: Voice interface.
|
|
74
|
+
- `nova_vision.py`: Vision interface.
|
|
75
|
+
- `nova_browser.py`: Browser automation.
|
|
76
|
+
- `tracking.py`: Head tracking logic.
|
|
77
|
+
- `tools/`: Utility scripts (e.g., demos).
|
|
78
|
+
- `docs/`: Detailed documentation.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Heartbeat — publishes periodic tick events to MQTT."""
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
import logging
|
|
5
|
+
import threading
|
|
6
|
+
import time
|
|
7
|
+
import uuid
|
|
8
|
+
from datetime import datetime, timezone
|
|
9
|
+
|
|
10
|
+
logger = logging.getLogger(__name__)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Heartbeat:
|
|
14
|
+
"""Publishes periodic time events to MQTT."""
|
|
15
|
+
|
|
16
|
+
def __init__(self, mqtt_client, interval: int = 60):
|
|
17
|
+
self.client = mqtt_client
|
|
18
|
+
self.interval = interval
|
|
19
|
+
self._thread = None
|
|
20
|
+
|
|
21
|
+
def start(self, stop_event: threading.Event):
|
|
22
|
+
def _run():
|
|
23
|
+
tick_count = 0
|
|
24
|
+
while not stop_event.is_set():
|
|
25
|
+
stop_event.wait(timeout=self.interval)
|
|
26
|
+
if stop_event.is_set():
|
|
27
|
+
break
|
|
28
|
+
tick_count += 1
|
|
29
|
+
event = {
|
|
30
|
+
"event_id": str(uuid.uuid4()),
|
|
31
|
+
"type": "tick",
|
|
32
|
+
"source": "heartbeat",
|
|
33
|
+
"payload": {
|
|
34
|
+
"interval": self.interval,
|
|
35
|
+
"tick_count": tick_count,
|
|
36
|
+
"wall_clock": datetime.now(timezone.utc).isoformat(),
|
|
37
|
+
},
|
|
38
|
+
"timestamp": time.time(),
|
|
39
|
+
}
|
|
40
|
+
self.client.publish("nova/heartbeat", json.dumps(event))
|
|
41
|
+
logger.debug(f"Heartbeat tick #{tick_count}")
|
|
42
|
+
|
|
43
|
+
self._thread = threading.Thread(target=_run, daemon=True, name="heartbeat")
|
|
44
|
+
self._thread.start()
|
|
45
|
+
logger.info(f"Heartbeat started (interval={self.interval}s)")
|