Skip to content

VisiumCH/pydata-agentic-2025

Repository files navigation

Building Agents with LangChain and LangGraph: From GPT to Multi-Agent Systems

This workshop is organized by Visium for Pydata Lausanne in our offices. It gives an introduction to LLMs and demonstrates how to build sophisticated AI agents using LangChain and LangGraph.

Workshop Overview

The workshop explores the progression from basic language models to complex multi-agent systems through hands-on examples in financial analysis.

Introduction to LLMs and Agents

Learn the basics of building AI applications with LangChain, including:

  • Setting up a basic chatbot
  • Setting up a basic agentic system

Getting Started

Prerequisites

  • Python 3.12 or higher
  • OpenAI API key

Environment Setup

To set up your Python environment:

Using Conda/Mamba

# Use mamba instead of conda if preferred
conda create -n financial-advisor python=3.12
conda activate financial-advisor
pip install -e .

Using venv

python -m venv .venv

# On Linux/Mac:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate

pip install -e .

Using UV

uv sync

Configuration

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'

Development Environment

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

About

Visium

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.

PyData

PyData connects users and developers of data tools to share ideas and learn together. While focused on the Python ecosystem, it welcomes other languages and technologies that support data management, processing, analytics, and visualization. Through local groups, events, and conferences, PyData fosters collaboration across diverse domains. It is organized by NumFOCUS, a U.S. nonprofit.. For more information about PyData, visit https://pydata.org/ or the lausanne meetup page https://www.meetup.com/pydata-lausanne/ .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published