Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Strands AgentsからADKの実装を呼んでGoogle検索を実現した話 / Call...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Strands AgentsからADKの実装を呼んでGoogle検索を実現した話 / Calling ADK for Google Search from Strands Agents

隅田川.dev vol.7 LT会 で発表したスライドです。
イベントページ: https://sumidagawa-dev.connpass.com/event/404393/

Avatar for Mitsuhiro Komuro (nekorush14)

Mitsuhiro Komuro (nekorush14)

September 19, 2026

Transcript

  1. ⾃⼰紹介 Mitsuhiro Komuro Wantedly, inc. / Visit AI Squad /

    Backend Enginer Tech Research / Stargazing / Music / Game and more… / @nekorush14 details © 2026 Wantedly, Inc. 2
  2. BedrockのClaudeでGoogle検索したい Google検索はGemini APIでツールとして提供されている Bedrock の Claude を動かす Strands Agents の

    Agent に Web 検索機能を持たせたかった Google I/O Extended Tokyo で ADK 経由なら使えるらしいことを知った Strands Agents は A2A もサポートしているためできるのではと思い試してみた (A2A は使⽤しなかった) © 2026 Wantedly, Inc.
  3. Agent as Tools パターンで実現する Agent を「Agent のツール」として定義する Strands Agents は

    Agent ハーネスとして標準的な機能をサポート Strands Agents はツールを Agent にすることもできる Google 検索グラウンディングは Gemini の Agent から呼ぶ必要がある Ref) https://ai.google.dev/gemini-api/docs/google-search © 2026 Wantedly, Inc.
  4. Agent as Tools パターンで実現する ADK の実装を経由して Google 検索結果を取得する import {

    LlmAgent, GOOGLE_SEARCH } from '@google/adk'; export const adkSearchAgent = new LlmAgent({ name: 'google_search_agent', model: 'gemini-flash-latest', description: 'An agent that searches the latest information ...', tools: [GOOGLE_SEARCH], // Google Search toolは ADK組み込み }); export const runner = new InMemoryRunner({ agent: adkSearchAgent, appName: 'strands-adk-search-agent', }); for await (const event of runner.runEphemeral({userId, message}) { // ... } ADK の InMemoryRunner で ADK 側の Agent を実⾏する Google Cloud側へセッションの作成が必要 Refs) https://github.com/nekorush14/experimental-practice-strands-adk-search-grounding/blob/main/src/agents/adk-search-agent.ts https://github.com/nekorush14/experimental-practice-strands-adk-search-grounding/blob/main/src/tools/web-search-tool.ts © 2026 Wantedly, Inc.
  5. まとめ Strands Agents でも ADK 実装を経由して Google 検索を実現 Google 検索

    グラウンディングを ADK 以外からも実現 できることがわかった © 2026 Wantedly, Inc. Strands Agents では Agent as Tools パターンで 簡単に実現できる プロダクションに組み込む 場合はマルチクラウドや 検索結果ソースの提示など 追加対応が必要