Finally understand what's affecting your health Dual-Model Claude AI Architecture for Symptom Correlation

Track what you eat, drink, and do โ€” Buddie connects the dots to your symptoms Multi-window temporal correlation analysis with LLM validation, HIPAA compliance, and 590+ tests

๐Ÿ• โ†’ ๐Ÿ’ญ โ†’ ๐Ÿค•
590
Tests
34
Services
55+
Endpoints
HIPAA
Compliant

Meet Buddie, Your Health Companion

Just tell Buddie what you ate, how you feel, what medicines you took. Buddie remembers everything, spots patterns you'd never notice, and helps you understand your body.

Powered by Claude Haiku 4.5 for real-time conversational AI with tool calling. Every message is processed through structured tool calls (log_intake, log_symptom, ask_clarification, save_memory) โ€” no regex parsing. Dynamic context injection includes recent intakes, active correlations, known side effects, and persistent patient memories capped at ~500 tokens.

I had a coffee and a bagel this morning
Got it! I've logged your coffee and bagel. โ˜• By the way, I've noticed you tend to get headaches about 4 hours after having coffee. Want me to keep tracking this pattern?

Powerful Features, Simple to Use

๐Ÿฝ๏ธ

Smart Food Tracking

Ingredient Decomposition

Tell Buddie what you ate in plain English. It automatically looks up ingredients.

OpenFoodFacts + USDA FoodData Central APIs. 'Coca-Cola' โ†’ caffeine, phosphoric acid, high fructose corn syrup. Automatic dietary tagging: histamine, FODMAP, migraine triggers, allergens.

๐Ÿ’Š

Medicine & Supplement Tracking

Pharmacological Intelligence

Log your medications and Buddie checks for known side effects.

OpenFDA + NIH RxNorm + SIDER database. 38 food-drug interactions checked per intake. Side effect frequency enrichment (common/uncommon/rare) for 24+ drugs.

๐Ÿ”

Pattern Detection

Multi-Window Temporal Correlation

Buddie spots connections between what you consume and how you feel.

5 time windows: acute (0-4h), standard (4-12h), extended (12-48h), cumulative 3-day, withdrawal (24-72h). Two-pass: deterministic statistics โ†’ Claude Sonnet 4.6 LLM validation. Confounder detection, ingredient deduplication, 85 mechanism pathways.

๐Ÿ“Š

Visual Insights

Dose-Response Analysis

See your health patterns in easy-to-read charts and summaries.

Quantity parsing (2 cups โ†’ 474ml), severity parsing (7/10 โ†’ 7.0), tercile binning, gradient detection. Results stored in correlation metadata for pattern strength visualization.

๐Ÿงช

Elimination Experiments

Hypothesis Engine

Test your triggers with guided challenges. 'Try cutting coffee for 2 weeks.'

Claude Sonnet 4.6 generates 2-4 actionable hypotheses from high-confidence correlations. 14-day elimination challenges with 7-day baseline, auto-outcome determination (>30% improvement = success).

๐Ÿ“‹

Body User Manual

Body User Manual (Generative)

A living document about YOUR body โ€” confirmed triggers, protective factors, questions for your doctor.

4 sections: confirmed triggers, under investigation, protective factors, doctor questions. Priority-sorted questions generated from patterns, dose-response, medications.

๐Ÿ“ฑ

Wearable Integration

Wearable Data Pipeline

Connect Apple Health or Google Fit for automatic sleep, heart rate, and activity tracking.

HealthMetric model with batch import, summary stats, trend detection. Correlation engine enrichment via _enrich_correlation_with_health_context(). Unified SDK abstraction with graceful Expo Go fallback.

๐Ÿ”’

Private & Secure

HIPAA/SOC 2 Infrastructure

Your health data is encrypted and never shared without your permission.

Fernet field-level encryption, append-only audit trail, RBAC (patient/provider/admin/researcher), 6-year retention policy, GDPR deletion with cascade + anonymization, consent framework with explicit opt-in.

How It Works

1
๐Ÿ’ฌ

Tell Buddie What You Ate

Haiku Tool Calling & Data Extraction

Share what you consumed in natural language.

Claude Haiku 4.5 extracts structured data via tool calls โ†’ ingredient lookup via OpenFoodFacts/OpenFDA โ†’ dietary tagging โ†’ interaction checking (38 critical interactions).

โ†’
2
โค๏ธ

Log How You're Feeling

Symptom Capture & Correlation Trigger

Report your symptoms with severity and timing.

Symptom logged with severity, duration, body area โ†’ triggers correlation refresh โ†’ temporal analysis begins.

โ†’
3
๐Ÿง 

Buddie Finds the Patterns

Multi-Pass Analysis & LLM Validation

AI analyzes correlations and builds your unique profile.

5-window temporal analysis โ†’ confounder detection โ†’ mechanism matching โ†’ LLM validation pass (Claude Sonnet 4.6) โ†’ spurious pattern filtering.

โ†’
4
๐Ÿ’ก

Get Actionable Insights

Hypotheses, Challenges & Body Manual

Receive personalized recommendations and track experiments.

Hypothesis generation โ†’ elimination challenges โ†’ dose-response analysis โ†’ body manual compilation โ†’ doctor-ready reports.

Designed for Healthcare Providers

Share Insights With Your Doctor

Provider Dashboard with Generative UI

BodyBuddie generates a personalized health report with your confirmed triggers, active experiments, and curated questions for your next appointment.

Web-based clinical interface with generative UI. Claude Sonnet 4.6 generates interactive Chart.js visualizations inline via SSE-streamed tool calls. Providers can ask exploratory questions and receive bespoke data visualizations on demand. Architecture: FastAPI SSE endpoint โ†’ Claude streaming with show_widget tool โ†’ morphdom progressive rendering โ†’ bidirectional communication.

  • โœ“ Customizable health reports (PDF export)
  • โœ“ Patient-specific hypothesis summaries
  • โœ“ De-identified cohort analytics
  • โœ“ Secure patient-provider messaging
๐Ÿ“Š Your Health Report
Confirmed Triggers 3 patterns
Under Investigation 2 hypotheses
Protective Factors 5 items
Doctor Questions 4 ready

Security & Privacy Built-In

Your health data is yours. Everything is encrypted. We never sell your data. You can delete everything at any time.

Enterprise-grade security infrastructure designed for HIPAA and SOC 2 compliance. Every feature is built with privacy-first principles.

๐Ÿ”

End-to-End Encryption

Fernet Field-Level Encryption

All sensitive health data is encrypted at rest and in transit.

Symmetric encryption (Fernet) on all PHI columns. Queryable fields (patient_id, dates, categories) remain unencrypted for efficient filtering.

๐Ÿ“‹

Immutable Records

Append-Only Audit Trail

Every action is logged and cannot be altered.

Immutable audit_logs table with timestamped entries. Action types: login, data_access, data_modify, data_delete, consent_change.

๐Ÿ‘ฅ

Fine-Grained Access

Role-Based Access Control (RBAC)

You control who sees your data.

4 role tiers: patient, provider, admin, researcher. Consent-gated data access. De-identification pipeline for research queries.

โฐ

Data Retention

6-Year HIPAA Retention Policy

Your data is kept as long as required, then securely deleted.

Configurable retention windows. GDPR right-to-deletion with cascade deletion and full anonymization option for research datasets.

โœ…

Explicit Consent

Consent Framework with Versioning

You explicitly opt-in to data usage.

consent_records table with policy versioning, grant/revoke timestamps, IP/user-agent tracking. No pre-checked boxes, no implied consent.

๐Ÿ›ก๏ธ

Input Validation

Security Headers & Sanitization

Protection against common attack vectors.

CSP, HSTS, X-Frame-Options headers. Pydantic schema validation on all inputs. SQL injection and XSS prevention throughout.

๐Ÿ“Š

Research Privacy

De-Identification Pipeline

Contribute to health research safely.

HMAC-SHA256 patient ID hashing, date rounding, PII stripping. Cohort analytics with explicit opt-in consent. No re-identification possible.

โœ”๏ธ

Compliance Ready

HIPAA/SOC 2 Compliant

Built to healthcare and data protection standards.

19 compliance tests. Audit logging, retention policy enforcement, deletion verification, consent workflows, security header validation.

By The Numbers

590
Automated Tests
34
Backend Services
55+
API Endpoints
19
Test Modules
5
Correlation Time Windows
85
Mechanism Pathways
38
Drug Interactions Checked
6
Year Data Retention

Start Understanding Your Body Today

Free to get started. No credit card required.