A HIPAA-compliant agentic AI system that reads real Medicare data, reasons about care context, takes actions, and remembers across sessions — replacing traditional UI with a 100% conversational experience.
37
AI Tools Built
Read/write tools for medications, claims, providers, documents, and more
21
Behavioral Skills
Domain-specific AI behaviors loaded per conversation turn
100%
Chat-Driven Experience
Entire product migrated from traditional UI to conversational AI
HIPAA
Full Compliance
PHI anonymization, encrypted sessions, BAA-signed infrastructure
53 million Americans are family caregivers — most of them Gen X adults juggling jobs, kids, and the health of aging parents. Their daily reality is chaos:
The first version of the platform (codenamed "Illuminator") tackled this with a traditional dashboard approach: a Next.js frontend, Laravel backend, and PostgreSQL database pulling Medicare Blue Button data into organized screens for medications, conditions, providers, and documents.
It worked — but the founder had a bigger vision. Dashboards still require the caregiver to know what to look for. The real need was an intelligent companion that could reason about the complete care picture and proactively surface what matters. The question became: what if the entire product experience was a conversation with an AI that truly understood your family's care situation?
We built Twila OS — an agentic AI operating system that replaced the traditional dashboard entirely with a conversational interface. Twila isn't a chatbot wrapper around an LLM. It's a purpose-built AI runtime with deep healthcare domain knowledge, real data access, and the ability to take actions on behalf of caregivers.
The system consists of three layers:
Twila can read real Medicare claims data, search prescription histories, list insurance benefits, browse uploaded documents, and check care contact information. It can also write — adding medications, creating notes, generating CareMinder action items, updating care context, and even sending SMS messages to family members. Write operations use a proposal-confirm pattern so the AI never makes changes without caregiver approval.
Every message is sanitized before reaching the LLM — patient names, dates of birth, SSNs, and Medicare IDs are masked while preserving clinical content. Messages are encrypted at rest with AES-256-GCM. The entire system operates under a signed Business Associate Agreement.
The migration from traditional app to agentic AI operating system was executed in structured phases with a controlled cutover:
We built the core personality engine, LLM provider abstraction (supporting both OpenAI and Anthropic Claude), the tool execution framework, an evaluation engine for response quality, and the workspace card system for dynamic UI rendering.
Conversation memory, SMS delivery via AWS Pinpoint, document extraction using GPT-4o vision (replacing an earlier OCR pipeline), write-back pipelines for extracted data, and persistent learning — Twila remembers preferences like "Carol prefers morning appointments" across sessions.
The proactive engine runs on a 15-minute scheduler with 7 detection rules, quiet hours, daily alert limits, and cooldown periods. Predictive reasoning cross-correlates medications with diagnoses, detects care gaps, and identifies potential drug interactions. Multi-channel routing ensures alerts reach caregivers through the right channel at the right time.
Six hardening phases covered token budget enforcement, JWT authentication, card security, database-backed encrypted sessions, structured logging, and PHI sanitization validation. The cutover from the legacy app followed a controlled path: shadow mode (AI runs alongside old app), canary routing (percentage-based traffic split), then full cutover.
The shared PostgreSQL database made this possible — both systems read from the same Medicare claims data and user records, so there was no data migration needed. Just a clean handoff of the experience layer.
296 tests across 64 test files cover the gateway's tool execution, context assembly, PHI sanitization, skill loading, and proactive engine. Smoke test runners validate end-to-end flows in staging before every deployment.
Twila OS is now live at os.twila.ai, operating at 100% cutover from the legacy application.
The platform demonstrates that healthcare AI doesn't have to be a thin wrapper around a language model. By building domain-specific tools, behavioral skills, proactive detection, and HIPAA-grade data protection into the runtime itself, Twila OS delivers an experience that's genuinely more capable than the traditional dashboard it replaced.
My mom has 14 medications and sees 6 specialists. Before this platform, I kept a paper list that was always out of date. Now I open the app and everything is there — current, accurate, and in language I actually understand. Last month in the ER, it probably saved her life.
Team
4 people
Full-stack product team across two major platform generations
See how we achieved 37 ai tools built — and what we can do for you.
Start a Conversation