Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.07 KB

File metadata and controls

35 lines (21 loc) · 1.07 KB

Steps

Start reading https://google.github.io/adk-docs/get-started/quickstart/

Install python add-on to VS code

python -m venv .venv

  • macOS/Linux: source .venv/bin/activate
  • Windows CMD: .venv\Scripts\activate.bat
  • Windows PowerShell: .venv\Scripts\Activate.ps1

Call "pip install google-adk" , takes a few minutes

Call "pip install --upgrade google-genai"

Environment variables are set already on .env file (no longer subject to .gitignore)

Install Google Cloud CLI installer from here https://cloud.google.com/sdk/docs/install#windows

Install the gcloud CLI component manager.

Setup agent starter pack : https://github.com/GoogleCloudPlatform/agent-starter-pack?tab=readme-ov-file#-get-started-in-1-minute

Deployment to Vertex AI

Run from the repository root dir:
python agent_x/agent_engine_app.py --project=qwiklabs-gcp-01-b04f6026c908

Invoke agent via REST

  1. Get the api token using gcloud auth print-access-token
  2. Set the token and an arbitrary user id in the file: API requests.http
  3. Execute the API calls i