This project contains two parts:
- Smolagents example
- Browser use example
Both of them are set up to use Gemini API.
To run the project, you need to set the GEMINI_API_KEY environment variable.
You can get the key from here.
Then, paste the key into the .env file in the root of the project, similarly to the .env.example file.
Steps to run the project:
- Create a virtual environment
MacOs/Linux:
python -m venv .venv
source .venv/bin/activateWindows:
python -m venv .venv
.venv\Scripts\activate- Install the dependencies
pip install -r requirements.txt- Run the project
python weather-agent.pypython check_appointments.pyAnd don't forget to navigate to the respective project folder before running the commands!