Prerequisites
Before setting up your development environment, ensure you have:Python 3.12+
Required for running the application
Node.js 18+
Required for chart rendering and SSR
Docker & Docker Compose
For running PostgreSQL and Redis
System Build Tools
gcc, gfortran, and scientific libraries
Git
For version control
Code Editor
VS Code, PyCharm, or your preferred IDE
Quick Setup
Install Python dependencies
The
mirobody package contains core utilities. Installing in development mode with -e . is optional.Run the application
Development Tools
Recommended VS Code Extensions
.vscode/extensions.json
Code Formatting
Running Tests
Project Structure
Key Directories
mirobody/chat
mirobody/chat
Chat service with agent orchestration, message history, and protocol adapters for HTTP (SSE) and WebSocket.
mirobody/mcp
mirobody/mcp
MCP protocol implementation with JSON-RPC 2.0 handler, tool/resource loading, and authentication.
mirobody/pulse
mirobody/pulse
Health data platform with OAuth providers, Apple Health integration, file processing, and data aggregation.
mirobody/pub
mirobody/pub
Public tools, resources, and agents that can be discovered via MCP. Add custom tools here.