Practical overview
When it fits
Use Max Headbox when you have a Raspberry Pi-based project and want a voice interface for custom local actions, with Ollama providing the language models.
Who it is for
- Raspberry Pi users who want to trigger device actions with spoken commands.
- Developers who want to define custom JavaScript tools for a locally operated agent.
- People building a voice-controlled Pi assistant without cloud AI providers.
Documented uses
- Issue voice commands to a locally running language-model agent.
- Create JavaScript tools that perform user-configured actions on a Pi.
- Expose Pi hardware information to tools through backend REST routes when needed.
Requirements & limits
The project is open source under the GPL-3.0 license and is provided as a public GitHub repository.
- The README specifies Raspberry Pi 5 and a microphone for voice-command use; other setups need about 6 GB available for language models.
- The listed software stack is Node 22, Python 3 and Ollama.
- Voice activation and transcription are attributed to Vosk and faster-whisper.
- Custom tools use JavaScript modules; some hardware-facing tools also need Express backend routes.
- Ollama can run on a separate device, but its network address must then be configured.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up Max Headbox and configure its local services
Prepare the project dependencies, Ollama models and service addresses before starting the agent.
Before you start
- Raspberry Pi 5 and a microphone for voice commands; the README says about 6 GB is needed for language models on other setups.
- Node 22, Python 3 and Ollama.
- Local IP addresses for the backend, WebSocket service and Ollama.
Steps
Clone the repository, enter its directory, select the Node version with nvm use and install Node dependencies with npm install.
Install the backend Python packages from backend/ using pip3 install -r requirements.txt.
Install Ollama and pull the listed models with ollama pull gemma3:1b and ollama pull gemma4:e2b.
Set VITE_BACKEND_URL, VITE_WEBSOCKET_URL and VITE_OLLAMA_URL in .env to the relevant local addresses; set the Ollama address separately if it runs on another device.
Expected outcome
The documented software dependencies and local service addresses are prepared for starting the agent.
Guide limitations
- The README’s setup steps include exposing Ollama on the network through its systemd service configuration.
- This recipe covers setup and configuration; it does not verify successful operation.
Add a custom JavaScript tool
Define a tool module for an action the agent can execute.
Before you start
- A working Max Headbox project.
- A JavaScript module in src/tools/.
Steps
Create a JavaScript module in src/tools/.
Export an object containing the tool name, parameters, description and execution function.
For a tool that needs to read Pi hardware through the backend, add an Express route to expose that information through REST.
Expected outcome
The tool is defined in the structure the README describes for use by the agent.
Guide limitations
- The README notes that some frontend tools need backend API handlers to access Pi hardware.
- The setup instructions do not describe a separate tool-registration or testing procedure.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- syxanash/maxheadbox · Official homepage title · retained in its source language

