Welcome to the official repository for the AI Agents Workshop! This guide will walk you through setting up your environment and running the exercises.
Follow these steps to get everything up and running.
This project uses uv, a fast Python package and project manager. If you don't have it installed, you can use pip:
pip install uvFor other installation methods, see the official uv documentation.
Once uv is installed, sync the project dependencies:
uv syncThis command installs all the necessary packages listed in the uv.lock file.
You have two options for running the application:
-
Using the Command Line: Run the following command in your terminal at the project root:
uv run chainlit run aia25/app.py -w -h
-
Using the Shorthand Command: First, install the project in editable mode:
uv pip install -e .Then, you can use the shorthand command:
uv run app
This will start the user interface.
You can have a look at the flow of execution, by inspecting the traces. Traces are separated by experiment, and each time you start a specific exercise, a new trace is generated. We are using MLFlow for tracing, to launch the dashboard, just enter the following command in your CLI (ensure your virtual environment is activated):
mlflow ui --backend-store-uri sqlite:///mlflow.db --port 5001This starts the MLFlow server on port 5001. To inspect your server just go to: http://localhost:5001/
The repository is organized into the following directories:
aia25/: Contains the core application logic and user interface, powered by Chainlit.exercise01/toexercise04/: These folders contain the exercises for the workshop.solution_exercise02/tosolution_exercise04/: These folders contain the solutions to the corresponding exercises.images/: Contains images used in the documentation.
-
Start the application using one of the methods described above.
-
Select an agent to interact with by clicking the gear icon on the left side of the chat interface.
-
Choose the agent you want to run from the dropdown menu. Each agent corresponds to an
execute_agentfunction within themy_agents.pyfile of each exercise module.
Now you're all set! Enjoy the workshop.

