oreilly_live_training_agents

oreilly_live_training_agents

Repository for all the code and notebooks for the O'Reilly live-training: "Getting Started with LLM Agents using Langchain"

Stars: 57

Visit
 screenshot

This repository provides resources and notebooks for O'Reilly Live Training on getting started with LLM Agents using LangChain & LangGraph. It includes setup instructions, core learning paths, additional topics, repository structure, and additional resources for learning and deploying LangGraph agents.

README:

O'Reilly Live Training - Getting Started with LLM Agents using LangChain & LangGraph

Setup

Conda

  • Install anaconda
  • This repo was tested on a Mac with python=3.11.
  • Create an environment: conda create -n oreilly-agents python=3.11
  • Activate your environment with: conda activate oreilly-agents
  • Install requirements with: pip install -r requirements/requirements.txt
  • Setup your openai API key

Pip

  1. Create a Virtual Environment: Navigate to your project directory. Make sure you have python3.10 installed! If using Python 3's built-in venv: python -m venv oreilly-agents If you're using virtualenv: virtualenv oreilly-agents

  2. Activate the Virtual Environment:

    • On Windows: .\\oreilly-agents\\Scripts\\activate
    • On macOS and Linux: source oreilly-agents/bin/activate
  3. Install Dependencies from requirements.txt:

    pip install python-dotenv
    pip install -r ./requirements/requirements.txt
  4. Setup your openai API key

Remember to deactivate the virtual environment afterwards: deactivate

Setup your .env file

  • Change the .env.example file to .env and add your OpenAI API key.
OPENAI_API_KEY=<your openai api key>

To use this Environment with Jupyter Notebooks:

conda install jupyter -y
python -m ipykernel install --user --name=oreilly-agents

Notebooks

Core Learning Path

The main notebooks are organized in a progressive learning path:

  1. Simple ReAct Agent with LangGraph - Quick start with a basic ReAct agent Open In Colab

  2. Intro to LangChain & LangGraph - Fundamentals of LangChain and LangGraph Open In Colab

  3. Intro to LangGraph - Deep dive into LangGraph concepts Open In Colab

  4. Local Research Agent with LangGraph - Building a research agent Open In Colab

Additional Topics

Repository Structure

├── notebooks/                      # Main learning notebooks
│   ├── assets-resources/          # Images, diagrams, and research papers
│   ├── langgraph-app/            # LangGraph deployment example
│   ├── langgraph-mcp-quick-demo/ # Model Context Protocol demo
│   ├── legacy-notebooks/         # Previous course materials
│   └── legacy-scripts/           # Utility scripts and examples
├── presentation-slides/           # Course presentation materials (PDFs)
├── requirements/                  # Python dependencies
└── docs/                         # Additional documentation

Additional Resources

  • Presentation Slides: Course slides available in presentation-slides/ folder

    • Getting Started with LangGraph
    • Getting Started with Agents Using LangChain
    • Intro LLM Agents
  • Deployment Example: Check notebooks/langgraph-app/ for a complete LangGraph deployment setup

  • MCP Demo: See notebooks/langgraph-mcp-quick-demo/ for Model Context Protocol integration examples

  • Legacy Materials: Previous course content available in notebooks/legacy-notebooks/ and notebooks/legacy-scripts/

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for oreilly_live_training_agents

Similar Open Source Tools

No tools available

For similar tasks

For similar jobs