Get your key from Google here.
Create a virtual environment
Open the Terminal and create a python virtual environment.
Terminal
Install libraries
pip install -U google-generativeai phidata
Export `GOOGLE_API_KEY`
export GOOGLE_API_KEY=***
Run Gemini Agent
python cookbook/providers/google/basic.py
Was this page helpful?