Skip to content

rathod-0007/AgenticChatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

End to End Agentic Chatbot πŸš€

🧠 An end-to-end AI Agentic system built with LangGraph, LangChain, and Streamlit.

LangGraph Tavily Streamlit

This chatbot goes beyond simple conversation by integrating real-time web search 🌐 and automated news summarization πŸ“°.

πŸš€ Live Demo & walkthrough

✨ Features

  • Basic AI Chatbot: Intelligent conversational interface.
  • Web Search Integration: Powered by Tavily API for real-time external data retrieval.
  • AI News Summarizer: Generates Daily, Weekly, and Monthly reports.
  • Automated Storage: Summaries are automatically saved as Markdown files in a structured directory.
  • Modern UI: Clean and responsive interface built with Streamlit.

πŸ“‚ Project Structure

AgenticChatbot/
β”œβ”€β”€ AINews/                 # Generated AI News reports (.md)
β”‚   β”œβ”€β”€ daily_summary.md
β”‚   β”œβ”€β”€ monthly_summary.md
β”‚   └── weekly_summary.md
β”œβ”€β”€ src/
β”‚   └── langgraphagenticai/
β”‚       β”œβ”€β”€ graph/          # LangGraph workflow definitions
β”‚       β”‚   └── graph_builder.py
β”‚       β”œβ”€β”€ LLMS/           # LLM configurations (Groq, etc.)
β”‚       β”‚   └── groqllm.py
β”‚       β”œβ”€β”€ nodes/          # Individual agent nodes
β”‚       β”‚   β”œβ”€β”€ ai_news_node.py
β”‚       β”‚   β”œβ”€β”€ basic_chatbot_node.py
β”‚       β”‚   └── chatbot_with_tool_node.py
β”‚       β”œβ”€β”€ state/          # State management for the graph
β”‚       β”‚   └── state.py
β”‚       β”œβ”€β”€ tools/          # Custom tools (Tavily Search, etc.)
β”‚       β”‚   └── search_tool.py
β”‚       β”œβ”€β”€ ui/             # Streamlit frontend components
β”‚       β”‚   └── streamlitui/
β”‚       β”‚       β”œβ”€β”€ display_result.py
β”‚       β”‚       β”œβ”€β”€ loadui.py
β”‚       β”‚       └── uiconfigfile.py
β”‚       β”œβ”€β”€ main.py         # Logic entry point
β”‚       └── __init__.py
β”œβ”€β”€ app.py                  # Main Streamlit application entry
β”œβ”€β”€ requirements.txt        # Project dependencies
└── README.md

πŸ–ΌοΈ Visuals & Screenshots

πŸ–₯️ Application Interface

Main UI Web Search Feature
UI Web Search

πŸ“‚ Project Structure Visuals

To understand the modular architecture of this agentic system:

Core Structure Source Internals Sub-modules
Struc 1 Struc 2 Struc 3

πŸ€– Feature Spotlights

1. Basic Chatbot

Simple and intuitive conversational agent powered by Groq/OpenAI. Basic Chatbot

2. Intelligent Web Search

The agent uses Tavily to browse the live web and provide cited answers. Web Search Result

3. AI News Summarizer

Automated workflows that generate and save markdown reports.

Summarization Process Generated Output
Summarize Output
Summarize 2

πŸ› οΈ Tech Stack

🧠 Orchestration & Frameworks

Python LangChain LangGraph

πŸ€– AI & LLM Inference

OpenAI Groq Tavily

πŸ“Š Vector Store & Frontend

Streamlit FAISS

πŸš€ Domain Expertise

Agentic AI Generative AI AI Agent Machine Learning


πŸ“¦ Core Dependencies

The system leverages a modern AI stack for orchestration, inference, and real-time data:

  • Orchestration Framework: langgraph, langchain, langchain-core, langchain-community, langchainhub
  • LLM Providers: langchain-groq (Llama-3.1 8B instant), langchain-openai
  • Search Engine: tavily-python (Optimized for AI Agents)
  • User Interface: streamlit
  • Vector Database: faiss-cpu
  • Environment & CLI: python-dotenv, langgraph-cli[inmem]

βš™οΈ Installation & Setup

Follow these steps to get the Agentic Chatbot running locally:

1. Clone the Repository

git clone [https://github.com/rathod-0007/AgenticChatbot.git](https://github.com/rathod-0007/AgenticChatbot.git)
cd AgenticChatbot

2. Create a Virtual Environment (Recommended)

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Configure Environment Variables

Create a .env file in the root directory and add your API credentials:

GROQ_API_KEY=your_groq_api_key_here
TAVILY_API_KEY=your_tavily_api_key_here
OPENAI_API_KEY=your_openai_api_key_here

5. Launch the Application

streamlit run app.py

Made with 🩡 by rathod-0007
Copyright Β© 2026 | All Rights Reserved

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages