Build AI Agents with Google Gemini
Google's Gemini models with native multimodal understanding and real-time search grounding.
Available Google Gemini Models
| Model | ID |
|---|---|
| Gemini 2.0 Flash | gemini-2.0-flash |
| Gemini 2.0 Flash Lite | gemini-2.0-flash-lite |
| Gemini 1.5 Pro | gemini-1.5-pro |
| Gemini 1.5 Flash | gemini-1.5-flash |
Why use Google Gemini for AI agents?
Native multimodal
Large context windows
Search grounding
Competitive pricing
Best use cases
- Multimodal agents
- Image analysis
- Search-augmented tasks
- Document understanding
Quick start code
agent.py
from agno.agent import Agent
from agno.models.google import Gemini
agent = Agent(
name="My Google Gemini Agent",
model=Gemini(id="gemini-2.0-flash"),
instructions=["You are a helpful assistant."],
markdown=True,
)
agent.print_response("Hello! What can you help me with?")Install: pip install agno Then set GOOGLE_API_KEY