Inspiration

We were inspired by Trump and how every word he makes affected the stock market. See the video below to understand: Trump in the Market

What it does

BuffAI is your personal assistant that aims to help you make better decisions in trading and market research. You can see Trump's tweets plotted along the price of any stock. You can also here a TTS of the tweet content as well, though originally this was supposed to be Trump's voice. Also talk to Buff, an agentic AI chatbot that is able to interact with tools for up to date information.

How we built it

Frontend with Next.js and shadcn component library. Backend with FastAPI, S3 for TTS storage, ElevenLabs to convert text to audio, Redis to store scraped posts, selenium for scraping, Gemini for LLM and agents. Frontend deployed to Vercel. Backend deployed to Render.

Challenges we ran into

ElevenLabs had 10,000 credit limit, so we had to reduce our 125 scraped posts to only around 30. Amazon S3 had issues due to CORs and creating presigned URLs. Scraping and processing each post to TTS took hours due to learning new technologies and rate limits.

Accomplishments that we're proud of

Created agentic AI with Gemini for the first time. Deployed our services live.

What we learned

Learned a new tech stack in Next.js and FastAPI. Learned how Gemini handled tools as function calling models. Learned how to handle multiple data sources in S3 and Render as well as processing with Elevenlabs.

What's next for BuffAI

More celebrities. For example, Elon Musk. More agents with a more intelligent model.

Built With

Share this project:

Updates