Skip to content

nupurvavhal/LangGraph-AI-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Simple LangGraph AI Agent

A stateful AI chatbot built with LangGraph and Google Gemini. This agent is "time-aware," meaning it knows the current date and year, bypassing the default AI knowledge cutoff.

๐Ÿš€ Features

  • State Management: Uses LangGraph to maintain conversation history.
  • Gemini 2.5 Integration: Connects to Google's latest Flash models.

๐Ÿ› ๏ธ Installation

  1. Clone the repository:
    git clone <your-repo-url>
    cd langgraph-simple-agent
    
  2. Set up a Virtual Environment:
    python -m venv .venv
     .venv\Scripts\activate
    
  3. Install Dependencies:
    pip install langchain-google-genai langgraph python-dotenv
    
  4. Configure Environment Variables: Create a .env file in the root directory and add your Google API Key: GOOGLE_API_KEY=your_actual_key_here

๐Ÿ’ป Usage

Run the main script to start a conversation:

 python main.py

About

Simple LangGraph AI Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages