Inspiration
It all started with something close to home. One of our team members’ grandparents was diagnosed with early-stage dementia, and she explained that watching the gradual changes (the moments of confusion, the loneliness, and the small lapses in memory) was heartbreaking. There were times her grandma would forget whether she had eaten, or sit quietly for hours because she “didn’t want to bother anyone.” It wasn’t just the memory loss that hurt; it was the isolation. We realized that dementia care often focuses on the medical side, but emotional well-being gets overlooked. We asked ourselves: What if technology could fill in those quiet gaps, not by replacing human care, but by bringing gentle companionship to moments when no one else is around? That’s where CompaniOn was born--inspired by Baymax, the fictional healthcare robot that never fails to ask, “How are you feeling today?”
What it does
CompaniOn remembers personal details like name, environment, hobbies, and caregiver contact to make each interaction feel familiar and grounded. It uses sentiment analysis to detect the user’s emotional state and respond with warmth, empathy, and simplicity. It keeps track of daily moods, displays an average mood indicator, and provides a caregiver summary for easy emotional monitoring. It also includes reminders and gentle activity suggestions: small, doable actions like stretching, breathing, or looking at old photos. If the user expresses distress, it immediately displays a crisis alert with the caregiver’s contact and local emergency info. In short, CompaniOn is not just a chatbot, as it’s a digital comfort presence, designed to care when people can’t always be there in person.
How we built it
We built CompaniOn in just a few hours using Python for backend logic, Streamlit for the user interface, SQLite for saving profiles, messages, and mood history, VADER Sentiment Analyzer to detect emotions in text, Groq’s Llama 3 model (via API) for generating context-aware, compassionate responses, and Pandas/Streamlit charts for mood tracking visualization We focused on designing a clean and friendly interface inspired by Baymax to make users feel safe and comfortable.
Challenges we ran into
All of us had no prior experience making an AI model before, so it was definitely challenging to learn and get used to the often frustrating debugging processes. Also, getting the AI to sound gentle and reassuring (not robotic or overly clinical) took multiple prompt iterations. We wanted it to show compassion without sounding artificial. Achieving that balance between empathy and clarity was the hardest part. But every hurdle made the final product more meaningful!
Accomplishments that we're proud of
Creating a fully working prototype in just a few hours, ultimately getting the AI to produce emotionally intelligent, mood-aware responses We also loved the prompt, as it gave us the opportunity to design for social good, focusing on emotional wellness, not just productivity And most importantly: turning a personal story into a tangible, working solution that could actually help a community. :)
What we learned
We learned how powerful sentiment analysis and AI can be when guided by genuine human care. We discovered how difficult, yet rewarding, it is to make technology feel human. And we were reminded that the smallest acts of compassion, even digital ones, can make the biggest difference.
What's next for CompaniOn
Looking ahead, we have many ambitious plans to take CompaniOn from a prototype to a real companion for people who need it most. Our next step is to add voice interaction, allowing users to speak naturally rather than type, which is especially important for elderly individuals. We also would love to connect CompaniOn to smart-home devices so it can give reminders, track daily routines, and provide safety check-ins automatically. Eventually, expanding on this project may even give us the amazing opportunity to partner with healthcare organizations and memory care centers to pilot CompaniOn with real users! In essence, our ultimate goal is to make CompaniOn+ a trusted presence in people’s lives--a soft, friendly voice that brings warmth, comfort, and connection to those facing the quiet struggles of dementia.
Log in or sign up for Devpost to join the conversation.