This project is set up for developing agents using the Google Agent Development Kit (ADK).
This project works in Firebase Studio, simply click the button below:
This project uses Poetry for dependency management and packaging.
-
Install Poetry: If you don't have Poetry installed, follow the official installation guide: https://python-poetry.org/docs/#installation
-
Install Dependencies: Navigate to the project root directory in your terminal and run:
$ poetry install- Create a
.envFile: Copyagents/.sample.envtoagents/.envand edit it to include either an AI Studio API Key or Vertex AI project details.
# USING VERTEX AI?
# If so, change to TRUE and edit the GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION variables.
# Otherwise, change to FALSE and add your GOOGLE_API_KEY.
export GOOGLE_GENAI_USE_VERTEXAI=FALSE
# GOOGLE AI STUDIO API KEY
export GOOGLE_API_KEY=PASTE_YOUR_ACTUAL_API_KEY_HERE
# VERTEX AI
export GOOGLE_CLOUD_PROJECT=PASTE_YOUR_ACTUAL_PROJECT_ID
export GOOGLE_CLOUD_LOCATION=us-central1- Run ADK:
$ poetry env activate
$ adk web ./agents
or
$ poetry run adk web ./agents