A real-time AI assistant that searches the web live and answers your questions instantly — powered by Groq, Tavily, and LangChain.
Ask anything — get real-time answers with sources!
User Question
↓
Tavily searches the web live
↓
Results passed to Groq LLM as context
↓
Answer returned with sources
| Tool | Purpose |
|---|---|
| LangChain | Chain building |
| Groq (LLaMA 3.3) | LLM - super fast inference |
| Tavily | Live web search API |
| Streamlit | UI |
| Python | Backend |
live-ai-assistant/
│
├── assistant.py → Core logic (LangChain + Groq + Tavily)
├── app.py → Streamlit UI
├── requirements.txt → Dependencies
├── .gitignore → Ignores .env file
└── README.md
git clone https://github.com/vivek41-glitch/live-ai-assistant.git
cd live-ai-assistantpip install -r requirements.txtGROQ_API_KEY=your_groq_key_here
TAVILY_API_KEY=your_tavily_key_here
Get keys from:
- Groq → https://console.groq.com
- Tavily → https://app.tavily.com
streamlit run app.py- Groq — Free at https://console.groq.com
- Tavily — Free tier (1000 calls/month) at https://app.tavily.com
| My RAG Project | This Project |
|---|---|
| PDF → chunks → Vector DB | Web search → live results |
| Static data | Real-time data |
| Retriever fetches chunks | Tavily fetches live pages |
| LLM answers from docs | LLM answers from web |
Same LangChain chain concept — different data source!
Vivek — 2nd year CS student passionate about AI/ML
- GitHub: @vivek41-glitch