Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Building Agents with Gemini API (By: Rabbia Ars...

Building Agents with Gemini API (By: Rabbia Arshad) - Road To DevFest 2025

Workshop by Rabbia Arshad (https://www.linkedin.com/in/rabbiaarshad/) at Road To DevFest by GDG Lahore.

Avatar for GDG Lahore

GDG Lahore PRO

November 28, 2025
Tweet

More Decks by GDG Lahore

Other Decks in Programming

Transcript

  1. • Agentic AI — Introduction & Core Concepts: Introduction to

    Agentic AI: understanding autonomous, goal-driven AI systems that perceive, plan, act and learn. • Hands-on Practical: Build a Web-Search & Validation Agent: Live coding session where we build an agent that searches the web, validates information, and returns a verified answer. • Q&A & Next Steps: Discuss open questions, limitations and ethical considerations — and brainstorm how you could build your own agentic projects Agenda 26-07-2025
  2. Evolution Toward Agentic AI 2021- 2022 DALL·E (OpenAI): Introduced text-to-image

    diffusion models, sparking the generative art revolution. ChatGPT (OpenAI): Launched in Nov 2022, bringing natural language conversations to the mainstream. 26-07-2025 2023- 2024 2025–2026 GPT-4: Enabled multimodal input (text + image), with enhanced reasoning and controllability. Gemini 1 & 1.5 (Google): Gemini 1.5 pushed boundaries with massive context windows—up to 1 million tokens. the mainstream. Rise of Agentic AI: Autonomous agents emerge, capable of reasoning, planning, and executing tasks independently. Multi-Agent Collaboration: Agents begin functioning like human teams, collaborating across domains like code, business, and research.
  3. Strong Suit Make Agent development feels like software development. ADK

    stands for Agent Development Kit, an open‑source, code‑first toolkit by Google for building intelligent AI agents. Designed from the ground up for multi-agent systems, agents that reason, communicate, and collaborate like a team Google ADK 26-07-2025
  4. • Command-Line Interface (CLI): Commands like adk run, adk web,

    and api_server simplify agent execution and debugging. • Web UI: Visualizes agent definitions, execution steps, and event traces for easier development. • Event-Driven Architecture: Logs every interaction (e.g., user inputs, tool calls, LLM responses) for transparency and debugging. • Session and State Management: Maintains conversational context and memory across sessions. Developer Tools and Capabilities • MCP Integration: Standardizes tool communication, enabling agents to interact with external APIs and databases. • Deployment Flexibility: Supports containerization for deployment across environments, including Google Cloud. • Agent2Agent (A2A) Protocol: Facilitates interoperability between agents across platforms via standard HTTP endpoints. 26-07-2025
  5. • python -m venv .venv • source .venv/bin/activate • pip

    install google-adk • adk run llm_auditor
  6. Try Google Cloud for Free! Visit https://trygcp.dev/claim/road-to-devfest-lahore to sign up

    with your Google Account and get access to the Free Tier. Learn about Free Tier products at cloud.google.com/free and more!
  7. Last step to apply credit! Set your project’s billing account

    to Google Cloud Platform Trial Billing Account
  8. Issues When attempting to redeem credits It may be unclear

    where the credits land. If you users are confused, have them navigate to the Credits tab on the page on of the console That is where they will see the credits
  9. Issues if the user ALREADY has a existing billing account

    make sure they use the correct one Click on the 3 Dot menu on the project, and select “Change Billing,” from the drop down select that Google Cloud Platform Trial Billing