Skip to content

πŸ† Winner @ Google x Flare Verifiable AI Hackathon

Notifications You must be signed in to change notification settings

vectorthrust/FlareBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– FlareBot

Flare

πŸ† 2nd Place Winner at the Google x Flare Verifiable AI Hackathon

FlareBot is an autonomous AI agent designed to provide 24/7 support for the Flare Network Discord server. Built with a real-time Retrieval-Augmented Generation (RAG) pipeline and deployed inside a secure Trusted Execution Environment, FlareBot is the most robust and secure Discord bot for dev and user support.


πŸš€ Why FlareBot?

  • ⚑ Always-On Support
    Answers technical and user questions instantly, day or night.

  • πŸ“š Live Knowledge Updates
    Dynamically learns from new Discord messages by support staff, no redeploy needed.

  • 🧠 Built for Flare
    Fine-tuned using Flare Developer Docs and real support chat logs for maximum relevance.

  • πŸ”§ Fully Customizable
    Staff can expand FlareBot’s knowledge base on the fly and restrict topics with !norag.

  • πŸ›‘οΈ Secure by Design
    Deployed in a TEE (Trusted Execution Environment) using Google Confidential Space for privacy-preserving AI.


πŸ›  Tech Stack

Layer Tech
Backend Python 3.12, FastAPI, Gemini API
Retrieval Qdrant (Vector Search DB)
RAG Pipeline Live Discord message ingestion + Flare doc embeddings
Infra Docker, GCP Confidential Space (AMD SEV), uv

🧠 How It Works

  1. Ingests Flare docs and real-time Discord messages from support staff.
  2. Indexes using Qdrant for fast embedding and retrieval.
  3. Gemini API reformulates user questions, retrieves context, and responds.
  4. RAG is live: the bot retrains itself whenever staff chat.
  5. Staff can issue commands like !norag to restrict content live.

πŸ“Έ Preview Example

FlareBot learning live from support staff in Discord

New support messages are automatically added to the knowledge base in real-time. πŸ”

FlareBot Live Learning Preview

About

πŸ† Winner @ Google x Flare Verifiable AI Hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published