Sword Health: lessons learned shipping LLM-powered physical therapy AI agent Phoenix
Healthcare has long faced a dichotomy between quality and affordability. Shipping LLM-powered products in a highly regulated industry presents unique challenges in ensuring safety, consistency, and reliability, with inconsistency issues emerging once features reach production.
Sword Health shipped and iterated on many LLM-powered features across its product portfolio over several years, establishing a systematic development practice with guardrails, evals, RAG, and feedback loops.
Switching from GPT-4.0 to Claude 3.5 Sonnet with minor prompt adjustments produced an increase in performance of around 10 percentage points.
Frequently asked questions
What did this team achieve with this AI workflow?
Sword Health shipped and iterated on many LLM-powered features across its product portfolio over several years, establishing a systematic development practice with guardrails, evals, RAG, and feedback loops.
What tools did this team use?
Phoenix, Gondola, Streamlit, GPT-4.0, Claude 3.5 Sonnet, MySQL, vector database, Langfuse, LangSmith, RAGAS.
What results were reported?
Latency increase from online guardrails: around 30%; Performance improvement from model switch: around 10% points; Patient non-engagement rate: around 50% (source-reported, not independently verified).
How is this customer support AI workflow structured?
Patient session begins → Phoenix delivers real-time feedback → Guardrails filter input and output → RAG retrieves knowledge articles → PT reviews clinical recommendations → Post-conversation sentiment analysis → User feedback feeds model improvement.