A modular Python-based reactive companion system optimized for small single-board computers.
This system uses three communicating processes via ZeroMQ:
- Awareness Node - Monitors environment via audio/video
- Brains Node - Processes triggers and generates responses
- UI Node - Provides visual feedback and interaction
Setup is simple with our all-in-one installation script:
git clone <this-repo-url>
cd reactive-companion
chmod +x install.sh
./install.shThis will:
- Set up a lightweight GUI environment (OpenBox)
- Configure auto-login and display
- Create the project structure
- Set up Python environment with Poetry
- Configure SSH for local network access only
After installation, you can run the components:
# The environment is automatically activated
cd ~/reactive-companion
# Start the UI
python -m src.ui.ui
# In separate terminals:
python -m src.awareness.awareness
python -m src.brains.brains- awareness: Environmental monitoring and trigger detection
- brains: Core processing and response generation
- ui: Pygame-based user interface
- common: Shared utilities and messaging infrastructure