Installation Methods
Choose the installation method that best suits your needs:- Docker (Recommended)
- From Source
Docker deployment is the recommended method for both development and production environments.Edit Add at least one LLM API key to
Step 1: Install Docker
- macOS
- Linux
- Windows
Step 2: Clone Repository
Step 3: Configure Environment
Create your configuration files:.env to set your environment:config.localdb.yaml:Step 4: Deploy
The deployment script will build and start all required services.
Verify Installation
After installation, verify everything is working:Post-Installation Setup
Configure Data Providers
Configure Data Providers
To enable health device integrations, you need OAuth credentials from each provider.See the Configuration guide for detailed instructions on obtaining and setting up OAuth credentials for:
- Garmin Connect
- Whoop
- Custom providers
Set up AI Chat & Agents
Set up AI Chat & Agents
To enable AI features, add at least one API key to
config.localdb.yaml:Mirobody Health includes two agent types:
- DeepAgent (LangChain-based): Best for complex tasks, file operations, multi-step planning
- BaselineAgent (Native Gemini): Best for simple conversations, lightweight MCP integration
Configure Database Encryption
Configure Database Encryption
For production, set secure encryption keys:
Set up Cloud Storage (Optional)
Set up Cloud Storage (Optional)
Configure S3-compatible storage for data backups:
Directory Structure
After installation, your directory structure will look like this:Troubleshooting Installation
Docker installation fails
Docker installation fails
Problem: Docker commands fail with permission errors.Solution:
Port conflicts
Port conflicts
Problem: Port 18080 is already in use.Solution: Change the port in
config.localdb.yaml:Database connection fails
Database connection fails
Problem: Cannot connect to PostgreSQL.Solutions:
-
Verify PostgreSQL is running:
-
Check connection settings in
config.localdb.yaml: -
Check database logs:
Python version mismatch
Python version mismatch
Problem: Python 3.12 not available.Solutions:
- macOS
- Linux
- Windows
Module import errors
Module import errors
Problem:
ModuleNotFoundError when running the application.Solution:Uninstallation
- Docker
- Source Installation
Remove all containers, volumes, and images: