Skip to content

git-pranavbabu/LanggraphChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– LangGraphChatBot: Professional Agentic AI Framework

LangGraphChatBot is a production-ready, modular framework for building and deploying AI agents using LangGraph and Streamlit. It demonstrates a clean separation of concerns, robust state management, and a dynamic user interface for real-world AI applications.


πŸš€ Key Advanced Features

πŸ—οΈ Modular "Industry-Standard" Architecture

Unlike monolithic scripts, this project follows a strict enterprise-grade structure:

  • src/ui/: Decoupled presentation layer using Streamlit.
  • src/graphs/: Specialized graph builders for different use cases.
  • src/nodes/: Discrete logic components for easy testing and scaling.
  • src/llms/: Abstracted LLM configurations (Groq, etc.).

πŸ’» Streamlit-Powered Command Center

The chatbot features a polished, interactive dashboard that allows users to:

  • Configure model parameters (Temperature, Token limits).
  • Switch between different autonomous use cases.
  • Visualize agent thought-processes in real-time.

πŸ”„ Dynamic Graph Routing

The system uses a factory pattern to build and compile graphs on the fly based on user requirements, demonstrating high flexibility in agentic orchestration.


πŸ› οΈ Tech Stack

  • Orchestration: LangGraph
  • Frontend: Streamlit
  • LLM Integration: Groq (Llama 3 / Mixtral)
  • State Management: Stateful TypedDicts
  • Dependency Management: Modern Python (pip/requirements)

πŸ“‚ Project Structure

LangGraphChatBot/
β”œβ”€β”€ app.py                     # Entry point for Streamlit
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ langgraphagenticai/
β”‚   β”‚   β”œβ”€β”€ graph/             # Graph assembly logic
β”‚   β”‚   β”œβ”€β”€ nodes/             # Individual node functions
β”‚   β”‚   β”œβ”€β”€ llms/              # Model wrappers
β”‚   β”‚   β”œβ”€β”€ ui/                # UI components & display logic
β”‚   β”‚   └── state/             # State definitions
β”œβ”€β”€ requirements.txt           # Project dependencies
└── README.md                 # Professional documentation

🚦 Getting Started

1. Requirements

  • Python 3.9+
  • Groq API Key

2. Installation

pip install -r requirements.txt

3. Usage

streamlit run app.py

Created as part of the LangGraph Learning Series - Tier 1 Showcase.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages