100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
feat: google_adk_crash_course update agents to use Gemini 3 Pro model and adjust environment variable settings
Shubhamsaboob318d91ac6c0
diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/1_starter_agent/creative_writing_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/1_starter_agent/creative_writing_agent/agent.pyindex 1cd52cac..4ef6de71 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/1_starter_agent/creative_writing_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/1_starter_agent/creative_writing_agent/agent.py@@ -3,7 +3,7 @@ from google.adk.agents import LlmAgent# Create a creative writing agentroot_agent = LlmAgent(name="creative_writing_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="A creative writing assistant that helps with stories, poems, and creative content",instruction="""You are a creative writing assistant.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/agent.pyindex 3896d2b8..a190b589 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_1_customer_support_ticket_agent/customer_support_agent/agent.py@@ -24,7 +24,7 @@ class SupportTicket(BaseModel):root_agent = LlmAgent(name="customer_support_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Creates structured support tickets from user reports",instruction="""You are a support ticket creation assistant.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/agent.pyindex b86ceeb0..e56bbbda 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/3_structured_output_agent/3_2_email_agent/email_generator_agent/agent.py@@ -13,7 +13,7 @@ class EmailContent(BaseModel):root_agent = LlmAgent(name="email_generator_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Professional email generator that creates structured email content",instruction="""You are a professional email writing assistant.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/code_exec_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/code_exec_agent/agent.pyindex a02d816d..32022bab 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/code_exec_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/code_exec_agent/agent.py@@ -4,7 +4,7 @@ from google.adk.code_executors import BuiltInCodeExecutor# Create a code execution agent using Google ADK's built-in Code Execution Toolroot_agent = LlmAgent(name="code_exec_agent",- model="gemini-2.0-flash",+ model="gemini-3-pro-preview",description="A computational agent that can execute Python code safely",instruction="""You are a computational assistant with the ability to execute Python code safely.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/search_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/search_agent/agent.pyindex 9282c790..599de6e5 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/search_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_1_builtin_tools/search_agent/agent.py@@ -4,7 +4,7 @@ from google.adk.tools import google_search# Create a web search agent using Google ADK's built-in Search Toolroot_agent = LlmAgent(name="search_agent",- model="gemini-2.0-flash",+ model="gemini-3-pro-preview",description="A research agent that can search the web for real-time information",instruction="""You are a research assistant with access to real-time web search capabilities.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/crewai_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/crewai_agent/agent.pyindex 771e9a25..e160533e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/crewai_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/crewai_agent/agent.py@@ -13,7 +13,7 @@ scrape_website_tool = CrewaiTool(config=dict(llm=dict(provider="google",- config=dict(model="gemini-2.5-flash"),+ config=dict(model="gemini-3-pro-preview"),),embedder=dict(provider="google",@@ -33,7 +33,7 @@ directory_search_tool = CrewaiTool(config=dict(llm=dict(provider="google",- config=dict(model="gemini-2.5-flash"),+ config=dict(model="gemini-3-pro-preview"),),embedder=dict(provider="google",@@ -53,7 +53,7 @@ file_read_tool = CrewaiTool(config=dict(llm=dict(provider="google",- config=dict(model="gemini-2.5-flash"),+ config=dict(model="gemini-3-pro-preview"),),embedder=dict(provider="google",@@ -69,7 +69,7 @@ file_read_tool = CrewaiTool(# Create an agent with CrewAI toolsroot_agent = LlmAgent(name="crewai_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="A versatile agent that uses CrewAI tools for web scraping, file operations, and content analysis",instruction="""You are a versatile assistant with access to powerful CrewAI tools for web scraping,diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/langchain_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/langchain_agent/agent.pyindex 7b97051a..d684a1cd 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/langchain_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_3_thirdparty_tools/langchain_agent/agent.py@@ -10,7 +10,7 @@ wiki_tool = LangchainTool(WikipediaQueryRun(api_wrapper=WikipediaAPIWrapper()))# Create an agent with LangChain toolsroot_agent = LlmAgent(name="langchain_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="A research agent that uses LangChain tools for web search and Wikipedia queries",instruction="""You are a research assistant with access to powerful LangChain tools.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/.env.exampleindex 0da26b93..2212f982 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/.env.example@@ -1,3 +1,3 @@-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"FIRECRAWL_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/README.md b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/README.mdindex 128aa811..9e37fe3c 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/README.md+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/README.md@@ -90,7 +90,7 @@ Successfully created notes.txt with the content "Meeting notes for today".### Agent Definition```pythonroot_agent = LlmAgent(- model='gemini-2.5-flash',+ model='gemini-3-pro-preview',name='filesystem_mcp_agent',instruction="""You are a helpful filesystem assistant that can help users manage their files.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/agent.pyindex e1133ba0..9d117f10 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/filesystem_agent/agent.py@@ -25,7 +25,7 @@ with open(sample_file_path, "w") as f:# Create the ADK agent with MCP filesystem toolsroot_agent = LlmAgent(- model='gemini-2.5-flash',+ model='gemini-3-pro-preview',name='filesystem_mcp_agent',instruction=f"""You are a helpful filesystem assistant that can help users manage their files.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/__init__.py b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/__init__.pyindex 90652995..c4be8e1b 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/__init__.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/__init__.py@@ -1 +1 @@-"""Firecrawl MCP Agent Package"""\ No newline at end of file+from . import agent\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/agent.pyindex 96867b10..d65adc42 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/4_tool_using_agent/4_4_mcp_tools/firecrawl_agent/agent.py@@ -12,7 +12,7 @@ from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset, StdioServerParamet# Create the ADK agent with Firecrawl MCP toolsroot_agent = LlmAgent(- model='gemini-2.5-flash',+ model='gemini-3-pro-preview',name='firecrawl_mcp_agent',instruction="""You are an advanced web scraping and research assistant powered by Firecrawl.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/agent.pyindex 01ecc302..2996ef43 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_1_in_memory_conversation_agent/agent.py@@ -14,7 +14,7 @@ load_dotenv()session_service = InMemorySessionService()agent = LlmAgent(name="memory_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="A simple agent that remembers conversations",instruction="You are a helpful assistant. Remember what users tell you and reference it in future conversations.")diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/agent.pyindex 53c3c213..490b007a 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/5_memory_agent/5_2_persistent_conversation_agent/agent.py@@ -17,7 +17,7 @@ session_service = DatabaseSessionService(# Create a simple agent with persistent memoryagent = LlmAgent(name="persistent_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="A simple agent that remembers conversations in a database",instruction="You are a helpful assistant. Remember what users tell you and reference it in future conversations. Your memory persists across program restarts.")diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/agent.pyindex fee9d2ad..beb62ef3 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_1_agent_lifecycle_callbacks/agent.py@@ -53,7 +53,7 @@ def after_agent_callback(callback_context: CallbackContext) -> Optional[types.Co# --- 2. Setup Agent with Callbacks ---llm_agent_with_callbacks = LlmAgent(name="agent_lifecycle_demo_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",instruction="You are a helpful assistant. Respond to user questions clearly and concisely.",description="An LLM agent demonstrating lifecycle callbacks for monitoring",before_agent_callback=before_agent_callback,diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/agent.pyindex 41c4d76b..dd14a71e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_2_llm_interaction_callbacks/agent.py@@ -91,7 +91,7 @@ def after_model_callback(callback_context: CallbackContext, llm_response) -> Opt# Create agent with LLM callbacksroot_agent = LlmAgent(name="llm_monitor_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Agent with LLM interaction monitoring",instruction="""You are a helpful assistant with LLM monitoring.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/agent.pyindex 5525419c..e8a9dd59 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/6_callbacks/6_3_tool_execution_callbacks/agent.py@@ -77,7 +77,7 @@ def after_tool_callback(tool: BaseTool, args: Dict[str, Any], tool_context: Tool# --- 2. Setup Agent with Tool Callbacks ---llm_agent_with_tool_callbacks = LlmAgent(name="tool_execution_demo_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",instruction="You are a helpful assistant with calculator tools. When users ask for calculations, use the calculator_tool with appropriate parameters and provide clear explanations of the results.",description="An LLM agent demonstrating tool execution callbacks for monitoring",tools=[calculator_function_tool],diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/agent.pyindex 04d45d99..377ad8a3 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/7_plugins/agent.py@@ -65,7 +65,7 @@ async def calculator_tool(tool_context: ToolContext, operation: str, a: float, b# AGENT AND RUNNER SETUP# ============================================================================# Create agent with the calculator tool-agent = LlmAgent(name="plugin_demo_agent", model="gemini-2.0-flash",+agent = LlmAgent(name="plugin_demo_agent", model="gemini-3-pro-preview",instruction="You are a helpful assistant that can perform calculations. Use the calculator_tool when needed.",tools=[calculator_tool])diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/.env.example b/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/.env.exampleindex f5cfcfb4..e10dd22e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/.env.example+++ b/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/.env.example@@ -1,3 +1,3 @@# If using Gemini via Google AI Studio-GOOGLE_GENAI_USE_VERTEXAI=False+GOOGLE_GENAI_USE_VERTEXAI=0GOOGLE_API_KEY="your-api-key"\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/__init__.py b/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/__init__.pyindex b437de51..efcb2b69 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/__init__.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/__init__.py@@ -1 +1,3 @@from .agent import root_agent++__all__ = ['root_agent']\ No newline at end of filediff --git a/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/agent.pyindex 8f05ba3c..0d700133 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/8_simple_multi_agent/multi_agent_researcher/agent.py@@ -1,16 +1,11 @@-import os-from dotenv import load_dotenvfrom google.adk.agents import LlmAgentfrom google.adk.tools.agent_tool import AgentToolfrom google.adk.tools import google_search-# Load environment variables-load_dotenv()-# --- Sub-agents ---research_agent = LlmAgent(name="research_agent",- model="gemini-2.0-flash",+ model="gemini-3-pro-preview",description="Finds key information and outlines for a given topic.",instruction=("You are a focused research specialist. Given a user topic or goal, "@@ -27,7 +22,7 @@ research_agent = LlmAgent(summarizer_agent = LlmAgent(name="summarizer_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Summarizes research findings clearly and concisely.",instruction=("You are a skilled summarizer. Given research findings, create:\n"@@ -42,7 +37,7 @@ summarizer_agent = LlmAgent(critic_agent = LlmAgent(name="critic_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Provides constructive critique and improvement suggestions.",instruction=("You are a thoughtful analyst and critic. Given research and summaries, provide:\n"@@ -58,7 +53,7 @@ critic_agent = LlmAgent(# --- Coordinator (root) agent ---root_agent = LlmAgent(name="multi_agent_researcher",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Advanced multi-agent research coordinator that orchestrates research, analysis, and critique.",instruction=("You are an advanced research coordinator managing a team of specialized agents.\n\n"diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_1_sequential_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_1_sequential_agent/agent.pyindex 95aff12d..47abf347 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_1_sequential_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_1_sequential_agent/agent.py@@ -15,7 +15,7 @@ load_dotenv()# --- Search Agent (Wrapped as AgentTool) ---search_agent = LlmAgent(name="search_agent",- model="gemini-2.0-flash",+ model="gemini-3-pro-preview",description="Conducts web search for current market information and competitive analysis",instruction=("You are a web search specialist. When given a business topic:\n"@@ -32,7 +32,7 @@ search_agent = LlmAgent(# --- Simple Sub-agents ---market_researcher = LlmAgent(name="market_researcher",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Conducts market research and competitive analysis using search capabilities",instruction=("You are a market research specialist. Given a business topic:\n"@@ -48,7 +48,7 @@ market_researcher = LlmAgent(swot_analyzer = LlmAgent(name="swot_analyzer",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Performs SWOT analysis based on market research",instruction=("You are a strategic analyst. Given market research findings:\n"@@ -62,7 +62,7 @@ swot_analyzer = LlmAgent(strategy_formulator = LlmAgent(name="strategy_formulator",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Develops strategic objectives and action plans",instruction=("You are a strategic planner. Given SWOT analysis results:\n"@@ -76,7 +76,7 @@ strategy_formulator = LlmAgent(implementation_planner = LlmAgent(name="implementation_planner",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Creates detailed implementation roadmap",instruction=("You are an implementation specialist. Given the strategy plan:\n"diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/agent.pyindex 647d8363..2cd4b39e 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/agent.py@@ -22,7 +22,7 @@ load_dotenv()# ------------------------------------------------------------plan_refiner = LlmAgent(name="plan_refiner",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Iteratively refines a brief product/launch plan given topic and prior context",instruction=("You are an iterative planner. On each turn:\n"diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/app.py b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/app.pyindex aaa272db..f9bda0d7 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/app.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_2_loop_agent/app.py@@ -5,7 +5,7 @@ from agent import iterate_spec_until_acceptancest.set_page_config(page_title="Loop Agent Demo", page_icon=":repeat:", layout="wide")-st.title("π Iterative Plan Refiner (Loop Agent)")+st.title("π Iterative Plan Refiner with Gemini 3 Pro(Loop Agent)")st.markdown("""This demo runs a LoopAgent that repeatedly executes sub-agents to iteratively refine a plan.diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/agent.py b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/agent.pyindex 4d89d32b..22c9dad8 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/agent.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/agent.py@@ -11,7 +11,7 @@ load_dotenv()# Child agents write to distinct keys in session.state for UI consumptionmarket_trends_agent = LlmAgent(name="market_trends_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Summarizes recent market trends for the topic",instruction=("Summarize 3-5 recent market trends for the topic in session.state['topic'].\n"@@ -21,7 +21,7 @@ market_trends_agent = LlmAgent(competitor_intel_agent = LlmAgent(name="competitor_intel_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Identifies key competitors and positioning",instruction=("List 3-5 notable competitors for session.state['topic'] and describe their positioning briefly."@@ -30,7 +30,7 @@ competitor_intel_agent = LlmAgent(funding_news_agent = LlmAgent(name="funding_news_agent",- model="gemini-2.5-flash",+ model="gemini-3-pro-preview",description="Reports funding/partnership news",instruction=("Provide a short digest (bulleted) of recent funding or partnership news related to session.state['topic']."diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/app.py b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/app.pyindex 7b33f8d3..a3d859e0 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/app.py+++ b/ai_agent_framework_crash_course/google_adk_crash_course/9_multi_agent_patterns/9_3_parallel_agent/app.py@@ -4,7 +4,7 @@ from agent import market_snapshot_team, gather_market_snapshotst.set_page_config(page_title="Parallel Agent Demo", page_icon=":fast_forward:", layout="wide")-st.title("β‘ Market Snapshot (Parallel Agents)")+st.title("β‘ Market Snapshot with Gemini 3 Pro(Parallel Agents)")st.markdown("""This demo runs multiple research agents in parallel using a ParallelAgent:diff --git a/ai_agent_framework_crash_course/google_adk_crash_course/README.md b/ai_agent_framework_crash_course/google_adk_crash_course/README.mdindex 94d336fc..bdd2ddb4 100644--- a/ai_agent_framework_crash_course/google_adk_crash_course/README.md+++ b/ai_agent_framework_crash_course/google_adk_crash_course/README.md@@ -2,6 +2,9 @@A comprehensive tutorial series for learning Google's Agent Development Kit (ADK) from basics to advanced concepts. This crash course is designed to take you from zero to hero in building AI agents with Google ADK.+> **π Note: This course has been updated for the new Gemini 3 Pro model!**+> All tutorials in this course use the **Gemini 3 Pro** model (e.g., `gemini-3-pro-preview`).+## π What is Google ADK?Google ADK (Agent Development Kit) is a flexible and modular framework for **developing and deploying AI agents**. It's optimized for Gemini and the Google ecosystem but is **model-agnostic** and **deployment-agnostic**, making it compatible with other frameworks.