Welcome to the EuroSTEMPeers 2025 hands-on beginner-level workshop on Agentic AI!
This session aims to demystify language model agents by walking participants through how to build simple, modular agents using LangGraph — an open-source Python framework for creating multi-agent workflows.
Hosted by TeamVPE at BioMed X Institute
Welcome to the hands-on workshop on Agentic AI with LangGraph! This session is hosted by TeamVPE at the BioMed X Institute, proudly supported by Sanofi.
By the end of this workshop, you'll be able to:
- Understand the LangGraph framework for building stateful LLM agents
- Create and manage agent state and tool-calling workflows
- Use OpenAI or NVIDIA NIMs as your LLM backend
- Build a ReAct-style reasoning loop with tools
- Visualize LangGraph agent flows
- Extend agents with tools for:
- 🧮 Math calculation
- 📊 Matplotlib plotting
- 🌍 Language translation
- 📄 PDF Q&A pipeline
- 🎨 DALL·E image generation
You will implement several progressively advanced agents:
- Echo agent using LangGraph
- LLM-powered assistant (OpenAI or NVIDIA NIM)
- ReAct agent with intermediate memory and reasoning
- Multi-tool agent with tool routing and control flow
- PDF reasoning agent that can download, extract, and answer questions from papers
- Image generation agent using DALL·E 3
- Python 3.12+
- Jupyter Notebook environment (e.g. Anaconda, VS Code, Colab)
- One of the following API keys:
Install required libraries with:
pip install langgraph langchain openai matplotlib pymupdf graphviz pydot requests
You’ll also need to install:
langchain_nvidia_ai_endpoints
(if using NVIDIA NIMs)IPython
(if not included in your environment)
You can either:
- Set environment variables (
OPENAI_API_KEY
orNVIDIA_API_KEY
) - Or paste the key directly into the notebook (demo-friendly)
Section | Highlights |
---|---|
✅ Basics | LangGraph setup, Echo agent |
🧠 LLMs | OpenAI/NVIDIA NIM integration |
🔁 ReAct | Reasoning + tool invocation |
🔧 Tools | Calculator, plot generator, translator |
📄 PDFs | Download, extract, and answer |
🎨 Vision | Image generation with DALL·E |
📊 Visualization | Flowchart of LangGraph workflows |
This workshop is part of the AIAgents4Pharma initiative — an open-source toolkit for enabling biomedical researchers and pharma professionals to interact with complex data through intelligent, language-powered agents.
👉 Explore more: VirtualPatientEngine/AIAgents4Pharma
Developed by TeamVPE, AI research team at BioMed X Institute. Sponsored by Sanofi.
Launch the Jupyter Notebook and start from:
!pip install -q langgraph langchain openai
Then follow the steps to build your first intelligent agent!