Alok Pattani

What are AI agents?

  • Generative AI agents are applications that use AI models to make decisions and act independently to achieve a user-specified goal.

    • Key terms emphasized: models, decisions, independently, and goal.
    • The talk uses words like thinking, reasoning, and decisions, but emphasizes that these are AI-driven, not human-like cognition.
  • Agents can perform tasks such as interacting with databases, calling APIs, making changes, or producing reports.

  • Conceptual view: an agent or a team of agents are intelligent workers assigned specific tasks or high-level goals, operating with LLMs (e.g., Gemini, GPT) as the interface to tools and data.

  • Core capabilities of AI agents:

    • Reason, plan, and execute
    • Interact with users
    • Use external tools (databases, APIs, functions you write)
  • This represents an evolution of software development where input prompts and outputs become part of a broader, tool-driven workflow rather than simple one-shot prompts.

  • Tooling and ecosystems (Google-focused examples):

    • Tools with built-in agent capabilities:
    • Gemini Deep Research: advanced research assistant with web reasoning and plan-driven output
    • NotebookLM: note-taking/organization with video overviews
    • AI First Colab: coding tool for Jupyter Notebooks
    • Building and configuring agents can involve:
    • Using agents built by others (Google Agent space, A2A protocol)
    • Building your own agents with frameworks like Google’s Agent Development Kit (ADK)
    • A2A protocol (Agent-to-Agent): protocol to enable cross-language/framework agent communication (originated at Google, donated to the LNN Clinics Foundation). Purpose: connect agents across languages/frameworks for interoperability.
    • ADK (Agent Development Kit): launched in April; open source; enables building agents with tooling and customization; supports multiple models, not just Google models; aims to simplify orchestration without writing low-level if-this-then-that logic.

Practical introduction to curling with AI agents (demo-focused)

  • Overview goal: show how AI agents help accelerate research and learning by answering a broad question and producing consumable outputs.

  • Deep Research in Gemini 2.5 Flash model:

    • Deep Research can plan, search the web, and then reason across sources to produce a prioritized report.
    • Outputs can be textual or as audio overviews.
  • Quick starter demo flow (curling example):

    • Prompt: "What is curling and who are the top contenders?" with a starter, ill-formed question.
    • The agent returns a plan and a comprehensive overview that includes: major results, top-ranked teams, men’s and women’s competitions (and note on mixed events in research findings).
    • Result packaging includes a report plus supporting citations. The demo emphasizes the agent’s ability to surface important facets and to provide citations for verification.
    • A follow-up interaction allows inspecting the results and verifying accuracy against sources.
    • Acknowledgement: model-fact accuracy is generally good for many use cases now, and the tool is useful as a time-saver compared to manual deep-dive research; still a wall of text challenge for consumers who don’t want to read long reports.
  • Output formats to address information density:

    • Text report
    • Audio overview (spoken summary)
    • Video overview (via Notebook element): upload document, specify what to focus on, and generate a narrated slide/video summary (e.g., a six-minute overview).
  • Demonstrated value for audiences who want quick, relatable learning:

    • Converts dense research into approachable formats suitable for sports fans (e.g., curling) or other domains.
    • Encourages translating raw research into multiple formats to suit different learning styles.
  • Example content highlights from curling results:

    • How curling is described (roaring game, chess-like strategy, ice hockey-like precision)
    • Key terms: skips, sweeping, throwing stones, and strategic elements
    • Contenders and emerging trends (top men’s and women’s contenders, with notes on possible mixed events)
    • Availability of tables and citations in the report for deeper validation
  • Practical considerations and limitations:

    • Wall of text: long reports can be challenging to consume; mitigations include audio or video overviews.
    • Verification: reports include citations, allowing users to verify facts against sources.
    • Data formats and reliability: model-backed synthesis can be time-saver but requires careful validation for critical decisions.
  • Workflow takeaway: use deep research to accelerate initial understanding and then tailor the output format (text, audio, video) for different stakeholder audiences.

  • Data and media handling workflow demonstrated:

    • Data sources included Olympic-related data (e.g., figure skating, aerials) and professional sources from USOPC collaboration; data can be challenging to scrape and normalize manually.
    • Generative AI can help generate homogenized outputs from diverse data sources without writing scraping code.

Generative AI integration and the ADK workflow (data extraction focus)

  • Generative AI-based data extraction and automation:
    • The engine development kit (ADK) enables building flexible, modular agents that can integrate with tools like Google Search, third-party tools, and user-defined functions.
    • Supports multi-agent systems, agent-to-agent protocols, and deployment across local and cloud environments.
    • ADK emphasizes developer-friendly experiences, including a web interface (two pages) to try agents quickly. It shows example tool usage and token costs to help with debugging and cost estimation.
  • A concrete agent example: data extraction agent
    • Two tools integrated: extract skating data; extract aerials data.
    • The agent’s sole decision is whether a given PDF contains skating or aerials data, and then performs the appropriate extraction task.
    • The approach uses control generation: specify an output schema, and the LLM outputs data in that exact schema.
    • Example schemas provided by Elliot: skating data schema and aerials data schema
    • Skating: (element, code, score)
    • Aerials: (jump, score)
    • This avoids hand-coding scraping pipelines; instead you provide natural-language instructions and an explicit schema, and the agent outputs data accordingly.
  • Practical ADK demonstration details:
    • The developer interface (ADK web) can be launched quickly to interact with an uploaded PDF and a chosen tool (e.g., generate skating data from PDF).
    • The agent uses its tools to interpret the document, select the correct extraction tool, and return data formatted to the requested schema.
    • The interface shows token usage and other debugging information to help optimize prompts and tool usage.
    • You can constrain outputs to match the required schema (including fields like city/state separation, etc.).
  • Key takeaway from the ADK demo:
    • You do not need to write traditional scraping code; you provide task instructions and a target schema, and the agent handles extraction and formatting.
    • Text remains a dominant format, but the orchestration and tool usage are handled by the ADK, reducing manual coding effort.
  • Practical caveats when using ADK:
    • Many experiments fail at first; debugging is a normal part of the process, and token budgeting is important to manage costs.
    • The “how many tokens” cost is something you can see in the interface to inform design decisions.

Practical guidance and best practices for using AI agents

  • Ground the use of agents in real problems:
    • Start with a concrete need or bottleneck (e.g., summarization of meetings, data extraction, plotting in Python) and apply agents to that problem.
    • Avoid chasing the latest gadget for every task; incremental progress can accumulate into meaningful impact over time.
  • Incremental adoption strategy:
    • Begin with high-impact, everyday tasks (e.g., meeting summaries, email summarization, report drafting).
    • Expand to more complex workflows (e.g., multi-step data extraction, automated research pipelines).
  • Summarization as a recurring value driver:
    • Meeting notes, emails, lecture/video summaries, and long reports can all be efficiently condensed by agents.
  • Security, compliance, and infrastructure considerations:
    • Works best when data remains within compliant environments; plan for private data handling and governance.
    • For proprietary data, an organization may need internal agent runtimes or cloud-guarded deployments (infrastructure managed by cloud teams) to ensure compliance.
  • Real-world framing and mindset:
    • Ground your use of agents in specific problems you want to solve, not in chasing novelty.
    • Expect a learning curve; aim for practical, repeatable workflows that you can improve over time.

Personal experiences and practical takeaways from the talk

  • AI-assisted coding: one of the speaker’s favorite demos
    • Benefits: allows plotting and data visualization with simple prompts; when plots aren’t correct, you can ask the model to fix them.
    • Caveats: some coding and domain knowledge are still helpful; you’ll benefit from understanding the domain and the data you’re working with.
  • General sentiment on adoption:
    • It’s about incremental gains: use what you can right now, then gradually adopt more advanced agent-based workflows as needs arise.
    • The biggest immediate win is often in summarization and lightweight writing/analysis tasks.
  • Final encouragement:
    • Ground the approach in your organizational goals and workflows; incremental gains can compound into meaningful improvements over time.
    • Engage with tool builders and cloud teams to align agent deployments with governance and security needs.

Q&A takeaway and closing prompts

  • Acknowledgement: multiple presenters and examples were highlighted, including data sources and real-use cases.
  • The next presenter is Dr. Katherine Evans, a senior basketball researcher, illustrating the ongoing expansion of AI agent-enabled research across domains.

Quick reference: key terms and schemas

  • Schematic data extraction schemas (examples):
    • Skating data: Sextskating=(extelement,extcode,extscore)S_{ ext{skating}} = \big( ext{element}, ext{code}, ext{score} \big)
    • Aerials data: Sextaerials=(extjump,extscore)S_{ ext{aerials}} = \big( ext{jump}, ext{score} \big)
  • Token cost awareness:
    • Let T=t<em>extin+t</em>extoutT = t<em>{ ext{in}} + t</em>{ ext{out}} where t<em>extint<em>{ ext{in}} is input tokens and t</em>extoutt</em>{ ext{out}} is output tokens; total cost scales with this quantity.
  • Output modes used in demonstrations:
    • Text report
    • Audio overview
    • Video overview (narrated slides)"