Inspiration
What is a “gym bro?” A gym bro is your companion when you go to the gym. Gym bros provide guidance, support, and motivation. But, you can’t always have your friend with you to go to the gym.
The inspiration behind developing GymBro AI was to create an app that could be such a companion. As frequent gym-goers, our team wanted a personal assistant to help answer questions and plan workout sessions, weekly splits, and more. With the recent rise of ChatGPT and other chatbots, we hoped to harness the power of language models to build our dream. This is how GymBro AI started.
What it does
GymBro AI is a revolutionary fitness companion designed to provide users with personalized workout plans that adapt to their capabilities, conditions, and preferences. The app's user-friendly chatbot interface allows you to effortlessly generate a workout plan and customize it in an infinite number of ways.
How we built it
Our backend was built entirely in Python. We used the OpenAI API, through the Python LangChain API to build the fundamental AI assistant functionality. To create consistency, we engineered our own prompts, and then fine-tuned our prompt generation with LangChain to make answers personalized to users. We also ensured that our output was specified and parsable, so we could easily integrate it. To do this, we used Flask as a go-between from our backend to our frontend.
We utilized Terra API, which helped us to integrate user health data. The data is first collected through the user’s wearable device. We then access that data using the functions in the Terra API. One example is sleep time. When we generate a workout session, we take the user’s sleep time into consideration. If the user lacked sleep the night before, we provide the user with a relatively light workout plan.
Challenges we ran into
Creating GymBro AI presented a multitude of challenges. Ensuring that GPT accurately understood user prompts, maintained contextual awareness, consistently generated understandable output, and crafted effective workout plans proved to be a formidable task.
Integrating the Terra API, responsible for managing user health data, posed yet another set of hurdles. The massive amount of data was difficult to handle but offered huge possibilities for providing users with fine-grained feedback.
Moreover, the creation of an interactive and user-friendly interface demanded meticulous design thinking and rigorous user testing. In particular, making sure that our backend integrated smoothly with our frontend posed challenges at first.
Accomplishments that we're proud of
Our proudest accomplishment is the creation of GymBro AI itself. By providing personalized workout plans and making fitness more accessible, we believe we're contributing to the well-being of individuals around the world.
What we learned
The journey of creating GymBro AI was a continuous learning experience. We gained valuable insights into the complexities of data integration and the importance of user-centered design.
Furthermore, we learned the significance of teamwork and perseverance when tackling complex projects. Collaboration, innovative thinking, and a shared vision were key to our success.
What's next for GymBro AI
The future of GymBro AI is brimming with exciting possibilities. We aim to further fine-tune our prompting methods to generate better tailored workout plans. We also hope to implement very long-term contextual information about users, so that their workout plans can grow with them. We plan to expand our integration with other health and fitness data sources, creating a comprehensive wellness platform.
We're also planning to add a new nutrition feature to GymBro AI. This feature will use image recognition and computer vision to identify the user's food and offer nutritional advice. It's all about helping users reach their fitness goals more effectively, as nutrition is a crucial factor in achieving gains.
In the coming months, we'll be engaging with the fitness community to gather feedback and refine our product. Our ultimate goal is to be the go-to companion for anyone on their fitness journey, helping them achieve their goals, one personalized workout at a time. GymBro AI is more than just an app; it's your virtual fitness buddy, here to motivate, support, and guide you towards a healthier, happier you.
Built With
- css
- html
- openai
- python
- react
- terra
- typescript

Log in or sign up for Devpost to join the conversation.