Modular AI applications and intelligent agents — built using LangChain and LangGraph, and powered by uv for fast Python dependency management.
This project is part of my AI development learning journey. Key resources and inspirations include:
A high-level framework for building modular, composable AI applications using chains, tools, and memory.
An advanced extension for orchestrating complex, multi-step AI agents using graph-based computation flows.
A fast and modern Python package manager, used here for reproducible environments via pyproject.toml and uv.lock.
Follow these steps to run this project locally using uv.
✅ Python 3.10+ is required
git clone https://github.com/BensonNgu/Python-AI-Projects.git
cd Python-AI-Projects/project1Follow the official instructions to install uv, the fast Python package manager used in this project:
Make sure you have Python 3.10+ installed before proceeding.
uv venv && uv pip installThis reads both pyproject.toml and uv.lock to install exact dependencies.
This project requires an OpenAI API key.
Create a .env file in the root directory and add the following:
OPENAI\_API\_KEY=sk-proj-xxxXXXxXxxXX...
📹 Need help finding your OpenAI API key?
Follow this tutorial: How to Get Your OpenAI API Key (YouTube)
🔐 Do not commit your
.envfile — it contains sensitive credentials.
source .venv/bin/activate.venv\Scripts\activateUsing uv:
uv run main.pyOr using Python directly:
python main.py(as long as your virtual environment is activated)
project1/
├── .venv
├── .env
├── main.py
├── pyproject.toml
├── uv.lock
└── README.md