This workshop is organized by Visium for the Applied Machine Learning Days (AMLD) 2025 at EPFL. It demonstrates how to build sophisticated AI agents using LangChain and LangGraph frameworks.
The workshop explores the progression from basic language models to complex multi-agent systems through hands-on examples in financial analysis.
Learn the basics of building AI applications with LangChain, including:
- Setting up a basic chatbot
- Understanding Retrieval Augmented Generation (RAG)
- Working with vector databases
- Creating custom tools
- Implementing a RAG-enhanced financial advisor
Explore more sophisticated AI applications using LangGraph:
- Creating specialized AI agents
- Managing state and workflow
- Implementing agent communication
- Building a complete financial analysis system with multiple agents
- Python 3.11 or higher
- OpenAI API key
To set up your Python environment:
# Use mamba instead of conda if preferred
conda create -n financial-advisor python=3.12
conda activate financial-advisor
pip install -e .
python -m venv .venv
# On Linux/Mac:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
pip install -e .
uv sync
You'll need to configure your OpenAI API key. Here are two ways to do it:
Set it as an environment variable:
export OPENAI_API_KEY='your-api-key-here'
Or store it in a .env
file in your project root:
OPENAI_API_KEY='your-api-key-here'
This workshop uses Jupyter notebooks. You can run them using:
- VS Code with the Python extension installed
- Jupyter Lab through the web interface with
jupyter lab
S1 - Introduction to LangChain and RAG.ipynb
: First session covering LangChain basics and RAG implementationS2 - Building a Multi-Agent System.ipynb
: Second session exploring multi-agent systems with LangGraph
The workshop uses a curated set of Bloomberg financial news articles for demonstration purposes. The data is stored in data/bloomberg_financial_news_1k.pkl
.
Visium is a Swiss-born AI & Data company helping businesses build their data-driven future through artificial intelligence and advanced data analytics. We help organizations leverage cutting-edge technology to solve complex business challenges.
Applied Machine Learning Days (AMLD) is one of the largest machine learning and AI events in Europe, held annually at EPFL in Lausanne, Switzerland. For more information about AMLD 2025, visit https://www.appliedmldays.org.