In this video we build a web search agent with Gemini 2. We're using gemini-2.0-flash-exp with Google's built-in Google search tool. We'll take a look at grounding our model response with inline citations.
📌 Code:
https://github.com/aurelio-labs/cookbook/blob/main/gen-ai/google-ai/gemini-2/web-search.ipynb
🌟 Build Better Agents + RAG:
https://platform.aurelio.ai (use "JBMARCH2025" coupon code for $20 free credits)
👾 Discord:
https://discord.gg/c5QtDB9RAP
Twitter: https://twitter.com/jamescalam
LinkedIn: https://www.linkedin.com/in/jamescalam/
#artificialintelligence #ai #aiagents
00:00 Gemini with Google Search
01:36 Gemini Web Search in Python
04:20 Using Gemini 2 Flash
06:07 Google GenAI Libraries
06:59 Using Google Search with Gemini
09:51 Grounding Gemini Responses
13:46 Inserting Citations for Gemini
20:30 Why use Citations
Choose to Build with AI
Matched to Semantic Search
AI Maker Residence 3
The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code.
Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.
◆ Fri 09 Oct 2026◆ KOKO Cafe, London◆ With Nick Sarafa