Boog is a lightweight AI agent built with in Python and Flask, integrating GPT-OSS 120B for natural conversations and Web Search for up-to-date, reference-backed answers. It features a clean and fast frontend UI and can be deployed easily to Heroku or similar platforms.
You can try out Boog live here: ๐ Boog Demo on Heroku
- Conversational AI โ chat with Boog ๐ฑ.
- Web Search mode โ integrates with web search to provide factual, reference-backed answers (similar to Perplexity).
- Frontend โ responsive chat interface with async handling and cat-themed branding.
- Backend โ Flask backend with clean JSON API.
- Deployment ready โ configured with
Procfile
for Heroku.
Boog-main/
โโโ Procfile # For Heroku deployment
โโโ README.md # Project documentation (this file)
โโโ app.py # Flask backend
โโโ requirements.txt # Python dependencies
โโโ static/
โ โโโ boog.css # Custom CSS for the UI
โโโ templates/
โโโ index.html # Chat frontend
-
Clone the repo
git clone https://github.com/robitec97/Boog.git cd Boog
-
Create a virtual environment & install dependencies
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows pip install -r requirements.txt
-
Set environment variables
export GROQ_API_KEY="your-groq-api-key" export TAVILY_API_KEY="your-tavily-api-key"
-
Run locally
python app.py
Visit ๐
http://127.0.0.1:5000
-
Login to Heroku:
heroku login
-
Create an app:
heroku create boog-agent
-
Set environment variables:
heroku config:set GROQ_API_KEY="your-groq-api-key" heroku config:set TAVILY_API_KEY="your-tavily-api-key"
-
Push to Heroku:
git push heroku main
-
Open the app:
heroku open
-
GET /
โ Chat UI (HTML) -
POST /chat
{ "message": "Hello!", "mode": "ai" | "web" }
Response:
{ "response": "Hello, how can I help you?" }
The project name is actually my cat's name Boog ๐ฑ
- Backend: Flask, Groq API, Tavily API
- Frontend: HTML, CSS
- Deployment: Heroku
This project is licensed under the Apache License 2.0.
You are free to use, modify, and share this project, but you must give appropriate credit to the original author robitec97.