Follow the slides for steps: Slides
- Create a brand new Gmail account ad activate free cloud trial (worth $300)
- go to https://console.cloud.google.com/
- Click create "Create a project"
- Enter project name
- Select "No Orginization" under Parent resource
- Click "Activate Cloud Shell" on the top right
- Make sure you the terminal shows the project id correctly
- You may be asked to
- Click "Open editor"
Codelab link: https://codelabs.developers.google.com/adkcourse/instructions
git clone https://github.com/cuppibla/adk_tutorial.git
cd adk_tutorial- https://aistudio.google.com/app/api-keys
- copy and keep it handy.
cloudshell edit .envGOOGLE_GENAI_USE_VERTEXAI=FALSE
GOOGLE_API_KEY=AIza...
adk web- a_single_agent - Plan a trip from Sunnyvale to San Francisco this weekend, I love food and art.
Note: The free Gemini API key may return 429 (quota exceeded) or 404 (model unavailable) depending on account quota or model availability. If this happens, either use a Gemini API key with available quota or use the Vertex AI version of the codelab.
.
- b2_parallel_agent - Plan my trip to San Francisco, I want to find some good concert, restaurant and museum.
- b1_sequential_agent - Find a good sushi near Stanford and tell me how to get there.
- b3_loop_agent - Plan a trip from Sunnyvale to San Francisco today.
- c_custom_agent - Plan a trip from Sunnyvale to San Francisco this weekend, I love food and art. Make sure within budget of 100 dollars.
- d_routing_agent - Plan a trip from Sunnyvale to San Francisco this weekend, I love concert, restaurant and museum.
- e_agent_as_tool - Plan a trip from Sunnyvale to San Francisco this weekend, I love concert, restaurant and museum.
Follow Step 8 of the codelab.
If you have issues with the toolbox, follow the workaround below.
cd ~/adk_tutorial/mcp_tool_box
rm -f toolbox
export VERSION=0.16.0
export OS=linux/amd64
curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/v$VERSION/$OS/toolbox
chmod +x toolboxcd ~/adk_tutorial/mcp_tool_box
./toolbox --tools-file "trip_tools.yaml" --port 7001cd ~/adk_tutorial
set -a
source .env
set +a
source .adk_env/bin/activate
cd g_agents_mcp
python -u main.pySometimes, killing the terminal and restarting the server works too!
- What are the top-rated things to do in Tokyo?
- Show me the museums in Rome.
- What can I do in New York for under 25 dollars?
