Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.medera.info/llms.txt

Use this file to discover all available pages before exploring further.

Medera is the AI infrastructure stack for behavioral and mental health, built for clinical accuracy, evidence anchoring, and enterprise compliance.

What ships

Agent Builder Canvas

16 core node types + 8 BH-OS rails, semver versioning, sandbox-first deployment, WORM audit.

Multimodal Sensing

Vocal Acoustic Engine (Praat / Parselmouth), Facial Physiological Engine (rPPG + HRV), RDoC Construct Computer (15 named constructs).

Care Orchestrator

4 voice agents (Grace, Alex, Jordan, Taylor) + 6 workflow agents, 30+ state workflow state machine, event bus.

Medical Coding

ICD-10-CM, ICD-10-PCS, CPT, HCPCS, SNOMED CT, LOINC, RxNorm coding from clinical context.

Two-service architecture

┌──────────────────────────────────────────────────────────────────────────┐
│                         FRONTEND (Port 5173)                             │
│   React 19 + Vite 7 + Tailwind 3 + Socket.IO + TensorFlow.js             │
└────────────────────────────────┬─────────────────────────────────────────┘

                 ┌───────────────┴───────────────┐
                 ▼                               ▼
┌──────────────────────────────┐  ┌────────────────────────────────────────┐
│    BACKEND (Port 3001)       │  │      AI SERVICES (Port 8000)           │
│  Node.js/Express + Socket.IO │  │    Python/FastAPI + OpenAI + PyTorch   │
│  58 routes · 57 services     │  │  22 routers · multimodal engines · PA  │
│  18 middleware · RLS · BAA   │  │  Care Orchestrator · Clinical RAG      │
│  Workflow Engine + Bull queue│  │  Vapi voice orchestration              │
└──────────────┬───────────────┘  └──────────────┬─────────────────────────┘
               │                                  │
               ▼                                  ▼
┌──────────────────────────────────────────────────────────────────────────┐
│              POSTGRESQL 16 (5433) + REDIS (6380)                          │
│        RLS · AES-256-GCM PHI · Merkle audit · WORM deployment log         │
└──────────────────────────────────────────────────────────────────────────┘

What you can build

Quickstart — Ambient Scribe

Real-time SOAP scribe using the clinical session APIs.

Quickstart — Intake (Grace)

Voice-first adaptive intake with 4 function calls.

Quickstart — Co-Therapy

Multimodal in-session analysis + RDoC profiles.

Quickstart — Prior Authorization

17-state PA workflow with payer-specific rules.