Documentation Index
Fetch the complete documentation index at: https://docs.mirobody.ai/llms.txt
Use this file to discover all available pages before exploring further.
What is Mirobody?
Mirobody is an open-source, self-hosted data + agent engine for personal AI — built on the belief that the next frontier of AI is not knowing more about the world, but knowing more about you.- 🔌 HTTP Remote MCP Server — your tools instantly become callable by ChatGPT, Claude, Cursor, or any MCP client.
- 🤖 Native agent runtime — a self-developed engine that reproduces Claude Code’s autonomous capabilities locally, plus support for Claude Agent Skills (
SKILL.md). - 🔄 Pluggable data providers — bring your own data source via the Providers API; 300+ wearables, Apple Health, Google Health, and EHR coverage for ~90% of US records are already wired up.
- 🏥 Health-grade standards — 400+ health indicators normalized to FHIR / LOINC / SNOMED CT / RxNorm with cross-vocabulary search.
Health, Finance & More. Mirobody is domain-agnostic: this docs site focuses on the health vertical (the engine behind Theta Wellness), but the same architecture powers finance, legal, devops, or any vertical where personal data meets AI. Drop your own modules intotools/andskills/to start.
Quick Start
Use Cases & Examples
Provider Integration
API Reference
Why Mirobody?
Write tools once, run everywhere
Write tools once, run everywhere
tools/ instantly works in ChatGPT (via Apps SDK), Claude / Cursor (via MCP), and the local web client. Mirobody runs simultaneously as an MCP client (to use tools) and an OAuth-enabled MCP server (to expose them).Your data, never leaves your machine
Your data, never leaves your machine
Three agents for three jobs
Three agents for three jobs
- DeepAgent — single-model tool orchestration, best for complex multi-step research
- MixAgent — two-phase fusion: a capable model orchestrates tools, a cheaper model writes the response. Cost/quality balance for high-volume workloads.
- BaselineAgent — direct LLM chat with no tools, ideal for low-latency Q&A
Claude Agent Skills, natively
Claude Agent Skills, natively
SKILL.md + metadata.json into skills/ and the agent auto-discovers it. The full Skill body is loaded into the agent’s context when activated — write detailed playbooks, examples, edge cases freely.Files, multimodally processed
Files, multimodally processed
Sandbox code execution
Sandbox code execution
execute tool runs shell + Python in isolated E2B cloud sandboxes for data analysis, chart generation, and computation — with PostgreSQL-backed file persistence so write_file in one turn is visible to execute in the next.Deploy anywhere
Deploy anywhere
./deploy.sh for Docker, pip install -e . for local Python dev, or MCP_PUBLIC_URL=https://yourdomain.com to expose your MCP server publicly for ChatGPT Apps.Architecture at a glance
| Layer | Path | Notes |
|---|---|---|
| Agent runtime | mirobody/pub/agents/ | DeepAgent, MixAgent, BaselineAgent |
| LLM clients | mirobody/utils/llm/ | OpenAI, Gemini, Anthropic, Azure, Volcengine, Dashscope (HIPAA-compliant routing) |
| MCP server | mirobody/mcp/ | JSON-RPC 2.0, local + HTTP remote |
| Chat service | mirobody/chat/ | Sessions, history, streaming (HTTP/WebSocket), memory |
| Data pipeline (Pulse) | mirobody/pulse/ | 300+ wearables, Apple/Google Health, EHR, file parser, aggregation |
| Health standards | mirobody/indicator/, mirobody/pulse/core/ | 400+ indicators, FHIR/LOINC/SNOMED CT/RxNorm |
| Embeddings | mirobody/utils/embedding.py | 1024-dim, Gemini/Qwen, pgvector |
| Directory | Purpose |
|---|---|
tools/ | Python tools → auto-exposed as MCP tools |
skills/ | Claude Agent Skills (SKILL.md + metadata.json) |
agents/ | Custom agent implementations |
providers/ | Custom data providers |
prompts/ | Jinja2 prompt templates |
resources/ | Static resources exposed via MCP |
Supported Providers (Health Vertical)
Garmin
Whoop
Oura
Renpho
Apple Health
Google Health
Tech Stack
- Python 3.10+ with async/await throughout
- FastAPI / Starlette ASGI for the HTTP layer
- PostgreSQL for primary storage + pgvector for semantic search
- Redis for caching and session store
- Docker Compose for one-command deploy
- E2B for sandboxed code execution
- OAuth 1.0a / 2.0 / OIDC / WebAuthn / FIDO2 for auth
Who is this for?
Individual users
Developers
tools/ + skills/ can take youReal-World Examples
Private Health Data Management & Chat
Track health issues across systems and years
Track health issues across systems and years
Knee Pain Progress
Cardiovascular Disorders
Unified health issue analysis
Unified health issue analysis
Cardiovascular Summary
Diabetes History & Progress
Prepare for doctor visits
Prepare for doctor visits
PCP Visit Preparation
Deep Research for Personal Health
Identify patterns and drivers
Identify patterns and drivers
Blood Glucose Analysis
Symptoms & Feelings Drivers
Personalized treatment research
Personalized treatment research
Diabetes Treatment Options
Mirobody as a Data Engine for Developers
Wearable manufacturers
Research applications
tools/ to deploy subject-facing research appsConsumer health apps
Enterprise
Theta Wellness: Mirobody in Production
Theta Wellness is our flagship application built on Mirobody — a personal health intelligence app that demonstrates what Mirobody can do at production scale. It connects 300+ devices, Apple/Google Health, and EHR records, and supports voice, image, file, and text as inputs. We’re open-sourcing the engine because the same architecture that powers a medical-grade health agent can power your finance analyzer, legal assistant, or devops bot. Swap the files intools/ and you’re in a new vertical.
Next Steps
Get started
./deploy.sh.Configure providers
Explore the API
Add custom providers or tools
tools/.