Skip to content
/ Boog Public

Boog ๐Ÿฑ is an AI agent capable of answering complex questions and performing web-enhanced reasoning. Lightweight, responsive, and fun to use.

Notifications You must be signed in to change notification settings

robitec97/Boog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Boog๐Ÿฑ

Python Flask Groq Deploy on Heroku

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.

๐ŸŽฎ Demo

You can try out Boog live here: ๐Ÿ‘‰ Boog Demo on Heroku

Boog Agent Chat UI

๐Ÿš€ Features

  • 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.

๐Ÿ“‚ Project Structure

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

โš™๏ธ Installation

  1. Clone the repo

    git clone https://github.com/robitec97/Boog.git
    cd Boog
  2. 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
  3. Set environment variables

    export GROQ_API_KEY="your-groq-api-key"
    export TAVILY_API_KEY="your-tavily-api-key"
  4. Run locally

    python app.py

    Visit ๐Ÿ‘‰ http://127.0.0.1:5000


๐ŸŒ Deployment (Heroku)

  1. Login to Heroku:

    heroku login
  2. Create an app:

    heroku create boog-agent
  3. Set environment variables:

    heroku config:set GROQ_API_KEY="your-groq-api-key"
    heroku config:set TAVILY_API_KEY="your-tavily-api-key"
  4. Push to Heroku:

    git push heroku main
  5. Open the app:

    heroku open

๐Ÿ”‘ API Endpoints

  • GET / โ†’ Chat UI (HTML)

  • POST /chat

    {
      "message": "Hello!",
      "mode": "ai" | "web"
    }

    Response:

    {
      "response": "Hello, how can I help you?"
    }

๐Ÿฑ Why โ€œBoogโ€?

The project name is actually my cat's name Boog ๐Ÿฑ


๐Ÿ› ๏ธ Tech Stack

  • Backend: Flask, Groq API, Tavily API
  • Frontend: HTML, CSS
  • Deployment: Heroku

๐Ÿ“œ License

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.

About

Boog ๐Ÿฑ is an AI agent capable of answering complex questions and performing web-enhanced reasoning. Lightweight, responsive, and fun to use.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published