π©Ί CareSketch β AI-Powered Personalized Care Plans
π± Inspiration
As someone who's witnessed family members struggle with caregiving β juggling schedules, medications, meals, and emotional stress β I wanted to build something meaningful.
CareSketch was born from the desire to make caregiving more structured, supportive, and emotionally considerate, especially for those without formal medical backgrounds.
π‘ What it does
CareSketch takes natural language descriptions of a care scenario and generates a personalized daily care plan.
It includes:
- π Medications with dosage and timing
- π½οΈ Suggested meals
- πββοΈ Light exercises and rest periods
- π§ Risk & red-flag detection
- π An interactive 5-day timeline
- π¬ An empathetic emotional support chatbot
- π PDF export of the full care plan
All generated with the help of a local LLaMA 3 model running via Ollama, so user privacy is preserved.
π οΈ How I built it
- Frontend: Streamlit for UI with gradient themes and chat functionality
- Backend:
- Ollama (LLaMA 3) for local natural language reasoning
- Custom prompt templates for structured JSON plan generation
- Risk detection with simple rule-based parsing
- Plotly for interactive timeline visualization
- FPDF for exporting structured PDFs
- Extras:
- Sidebar with input presets
- Emotion-aware tone selection
- Embedded chatbot using the same local model
- Styled with custom CSS and config
π§ Challenges I ran into
- Hosting Ollama and a large model on limited environments (Streamlit Cloud doesnβt support local LLMs)
- Managing prompt engineering to ensure consistent JSON outputs
- Preserving chat history and UI state in Streamlit without accidental refreshes
- Handling PDF export errors and formatting issues across devices
π Accomplishments that I'm proud of
- Successfully integrated a local LLM pipeline with an interactive Streamlit app
- Created a friendly, emotional interface that helps caregivers feel heard
- Made the care plan visually engaging, structured, and downloadable
- Prioritized accessibility, offline capability, and privacy from the ground up
π What I learned
- Prompt tuning and JSON parsing with LLMs can be tricky β context and ordering matter a lot
- Streamlit is powerful but requires careful state management to avoid resets
- Ollama makes working with large models locally viable even for MVPs
- Emotional design can be embedded in functional tools through tone and UX
π What's next for CareSketch
- π Add real-time voice input with Whisper for accessibility
- π§ Expand risk analysis with real medical guidelines
- πΈοΈ Integrate EHR uploads or FHIR for medical professionals
- π Add multilingual support
- πΎ Package the app as a desktop tool or secure PWA for offline caregivers
- π« Collaborate with elder care and hospice organizations for field testing
π Built with compassion and code at Hack the Vibe 2025
Letβs support caregivers β one care sketch at a time.
Log in or sign up for Devpost to join the conversation.