Skip to content

gatorduck/AI_Agents_w_Langraph_MCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI_Agents

Creating an AI agent using Langchain and Langraph.

Project Directory Structure

AI_Agents/
│   README.md
│   requirements.txt
│
├── src/
│   ├── ai_agent_langraph.ipynb
│   ├── langraph_w_mcp.py
│   ├── mcp/
│   │   └── math_server.py
│   └── ...
│
└── ...

Setup Instructions

1. Create a Python virtual environment

On Windows:

python -m venv venv
venv\Scripts\activate

2. Install required packages from a requirements file

pip install -r requirements.txt

Summary of files in src/

  • ai_agent_langraph.ipynb: Jupyter notebook for experimenting with AI agents using LangGraph and Langchain.

  • langraph_w_mcp.py: Script integrating LangGraph with the MCP protocol for tool usage.

    Run from the command line:

    python src/langraph_w_mcp.py
  • mcp/math_server.py: MCP server providing math functions (e.g., remainder).

About

Creating an AI agent using Langchain and Langraph

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors