Fitness Assistant is a RAG-powered conversational AI designed to simplify and personalize fitness routines. By leveraging Retrieval-Augmented Generation (RAG), it provides tailored exercise recommendations, alternatives, and guidance based on user queries, making fitness accessible and engaging from the comfort of home.
Introduction
Maintaining a consistent fitness routine can be challenging, especially without personalized guidance or access to professional trainers. Traditional fitness apps often offer generic plans that fail to adapt to individual needs, preferences, or equipment availability. To address this, I developed Fitness Assistant—a conversational AI that combines the power of large language models (LLMs) with a retrieval-augmented approach to deliver precise, context-aware fitness advice. Built as an open-source project on GitHub (https://github.com/polymathLTE/fitness-assistant), this tool aims to empower users to achieve their fitness goals through natural, interactive dialogues.
This submission showcases Fitness Assistant for the Agentic AI Innovation Challenge 2025, highlighting its role as an autonomous personal AI assistant.
Methodology
System Design & Workflow
Custom Vector Search Engine (minsearch)
Core Components:
TF-IDF Vectorization: Uses scikit-learn’s TfidfVectorizer to convert text fields (e.g., exercise descriptions) into weighted term-frequency matrices.
Hybrid Search: Combines:
Text Search: Cosine similarity between query and document vectors.
1,200+ fitness documents (peer-reviewed articles, NSCA/ACSM guidelines) in /data/fitness_corpus - serves as a guideline prevent personal but wrong fitness regimen.
User interaction logs (PostgreSQL schema in /database).
Structure: JSON format with fields: exercise_name, description, category, safety_notes.
Monitoring & Maintenance
Real-Time Metrics:
Grafana dashboards track API latency (<3s target), error rates (<2%), and cache hit ratio (85%+).