Inspiration

I was inspired by MacOS app Focu that provides a local AI assistant that you can discuss mood and feelings with for the purposes of improving productivity.

What it does

The web app gives you a quiz about certain moods, negative mental effects, and feelings you are feeling to inform an AI chatbot (gemini-flash-2.5) about how to best consult you in a positive and growth oriented way. The AI chatbot (Brain Buddy) can perform research and provide you with top research articles regarding your issues.

How we built it

The project was built solo by Robert Rojo. Using technology, NextJS, Typescript, TailwindCSS. It uses Gemini's function tool capabilities to fetch resources from the OpenAlex API.

Challenges I ran into

One challenge I ran into towards the end of the project was getting effective results from the OpenAlexAPI. At first results were almost irrelevant to the issue at hand. Solving this required prompting Gemini to better phrase keyword queries for research article databases and filtering results that are most relevant and later than 2004.

Accomplishments that we're proud of

I'm proud of the UI design around the chatbot and resources sections. It was challenging to make a design that complemented both the Chatbot aspect of this project and the emphasis on collecting academic resources.

What we learned

I learned how to use NextJS (previously used Vite). I also learned how to use function tools with AI to give AI the option to perform actions like querying an API or almost anything that you can do with a computer.

What's next for Brain Buddy

Next for Brain Buddy is probably more APIs that the AI can gather resources from. This functionality is mostly implemented but needs extension with an actual API that provides quality mental health related resources.

Built With

Share this project:

Updates