Agent code for the Hugging Face Agents Course (Unit 4).
The agent runs in Google Colab. See agent.py and tools.py in the Files tab.
agent.py
tools.py