Skip to content

About

Simple LangGraph AI Agent

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages