Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20250514 Amazon Q Developer CLI Agent に Amazon ...
Search
Wataru Mikuriya
May 14, 2025
410
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20250514 Amazon Q Developer CLI Agent に Amazon Bedrock Agents を作ってもらってみた
Wataru Mikuriya
May 14, 2025
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
540
エンジニアに許された特別な時間の終わり
watany
109
250k
It's Worth the Effort
3n
188
29k
Claude Code のすすめ
schroneko
67
230k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
620
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
The Curious Case for Waylosing
cassininazir
1
550
Practical Orchestrator
shlominoach
192
12k
Unsuck your backbone
ammeep
672
58k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
340
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Transcript
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agent に Agent を作ってもらってみた Wataru Mikuriya (三厨 航) ソリューションアーキテクト アマゾン ウェブ サービス ジャパン 合同会社
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 2 ⾃⼰紹介 三厨 航(Wataru MIKURIYA ) アマゾン ウェブ サービス ジャパン合同会社 技術統括本部 エンタープライズ技術本部 ソリューションアーキテクト 好きな AWS サービス 好きな q chat のコマンド ︓ /profile set 趣味︓旅⾏、筋トレ 週刊⽣成 AI with AWS を執筆しています︕ AWS Control Tower AWS Cloud Development Kit @mickn_space
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1. AWS 上で実現するエージェントのアーキテクチャパターン 2. (Amazon Q Developer CLI) Agent で (Amazon Bedrock) Agent(s) を実装してみた ※ Coding Agent は進歩の早い分野のため、⼀部の取り組み内容が陳腐化していま す。最新機能が利⽤できる場合は情報を補⾜しています。 3 今⽇話すこと
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 5
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 6 エージェントシステムのアーキテクチャパターン • ユーザーからのリクエストに対して、スーパーバイザーエージェントが各エージェントを調整しながら タスクを進める(同期的) • Amazon Bedrock の Multi-Agent Collaboration で利用できる • 挙動の予測可能性や順序実行が求められる際に適している。厳密な順序制御が必要なら SFn も選択肢 オーケストレーションパターン • 「Event Hub」からのイベントをもとに各エージェントが動作するイベント駆動型のパターン(非同期的) • 高い柔軟性とスケーラビリティが求められる際に適している • 実行フローが複雑になることに注意 コレオグラフィーパターン • オーケストレーションパターンとコレオグラフィーパターンのハイブリッド • Event Hub からのイベントのコンテキストに応じて、スーパーバイザーエージェントが各エージェント にタスク実行をルーティングする エージェントブローカーパターン https://aws.amazon.com/jp/blogs/machine-learning/creating-asynchronous-ai-agents-with-amazon-bedrock/
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 7 エージェントシステムのアーキテクチャパターン • ユーザーからのリクエストに対して、スーパーバイザーエージェントが各エージェントを調整しながら タスクを進める(同期的) • Amazon Bedrock の Multi-Agent Collaboration で利用できる • 挙動の予測可能性や順序実行が求められる際に適している。厳密な順序制御が必要なら SFn も選択肢 オーケストレーションパターン • 「Event Hub」からのイベントをもとに各エージェントが動作するイベント駆動型のパターン(非同期的) • 高い柔軟性とスケーラビリティが求められる際に適している • 実行フローが複雑になることに注意 コレオグラフィーパターン • オーケストレーションパターンとコレオグラフィーパターンのハイブリッド • Event Hub からのイベントのコンテキストに応じて、スーパーバイザーエージェントが各エージェント にタスク実行をルーティングする エージェントブローカーパターン https://aws.amazon.com/jp/blogs/machine-learning/creating-asynchronous-ai-agents-with-amazon-bedrock/ このセッションではこちらのパターンに注⽬
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 8 どのように Agent を Agent に作ってもらうのか︖ Amazon Q Developer CLI Agent など CDK バックエンドサンプルコード (multi-agent-samples-jp) サンプル②: Agentic Workflow by Step Functions サンプル①: Multi-Agent Collaboration by Bedrock サンプル③: Event-Driven Agent by Event Bridge Supervisor Agentic Workflow EventBridge Invoke Model Collaborator Collaborator Invoke Model Action Group Tool 目的特化エージェントに変換 ユーザー通知 ユーザー入力 商品企画 SRE/CloudOps 故障分析 etc… Amazon Bedrock Agents の CDK テンプレートを ベースに、目的特化の Agent を Coding Agent で生成 フロントエンド GenU Bedrock Enginner マネコン etc… 業務 システム
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. このアプローチをとった背景 9 Generative AI CDK Construct をコーデ ィングするにはエージェントそのもの の知識だけでは足りなさそう(当時) q chat はファイルを読む際に一つづつ Read するので、できるだけ複数ファ イルに分散するようなコードの書き方 を避けた方が良さそう(当時) 触った時のエージェントの挙動 サンプルコードに基づいてエー ジェントにコーディングさせる ことで再現性が上がるのでは? 採用したアプローチ アクショングループのスキーマ 定義はエージェントを定義する CDK Construct 内で記述する エージェントの利用形態ごとに CDK Construct を分割する 利用したいアクショングループ ごとに Lambda 関数を分割する 最新の q chat では? AWS CDK MCP Server で 実装ガイダンスを提供す るようになった /context コマンドによっ て参照すべきファイルを エージェントに明示でき るようになった AWS CDK MCP Server が Amazon Bedrock Agents のスキーマ生成に対応
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 10 Software Development Life Cycle :SDLC Research • Business Benefit • UI Mock • Function Plan • requirement • specification • procedure • sub tasks • Diagram Development • coding • test • modify • refactor Release • Deploy plan • IaC • CD • Multi Environment Operation • Monitor • Investigation • Recover • Observability AI coding assistant Tool use AI coding agent (ex: Code Whisperer) (ex: Amason Q Developer CLI (q chat)), Cline, Roo code … ) SCRUM, GitHub Flow, Milestones, Ticket base management Feedbacks{ Voice of Customer / Business KPI / Competitor / Operational issues }
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. このセッションでは計画・実装段階に注⽬ 11 Software Development Life Cycle :SDLC Research • Business Benefit • UI Mock • Function Plan • requirement • specification • procedure • sub tasks • Diagram Development • coding • test • modify • refactor Release • Deploy plan • IaC • CD • Multi Environment Operation • Monitor • Investigation • Recover • Observability AI coding assistant Tool use AI coding agent (ex: Code Whisperer) (ex: Amason Q Developer CLI (q chat)), Cline, Roo code … ) SCRUM, GitHub Flow, Milestones, Ticket base management Feedbacks{ Voice of Customer / Business KPI / Competitor / Operational issues }
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 12 q chat に対するおおまかなプロンプトの流れ 1. サンプルコードを理解をさせる 2. エージェントを利⽤するペルソナを定義して、業務フローとエージェ ントを導⼊するインパクトの強い業務を特定させる。 3. 候補になっているエージェントの対象業務の周辺業務を洗い出させる 4. 周辺業務を含めて実装したいエージェントをピックアップして、アク ショングループを洗い出させる。 5. 既存の実装を参照してもらいながら、エージェントを実装させる(AG 定義、Lambda関数、CDK Construct) 6. 実装した内容をオンボーディングドキュメントとしてまとめてもらう 7. CDK Synthが通るまで修正を繰り返させる(Synth が通ったら⼈がチ ェック) 準備 Plan Develop 商品企画エージェントの実装を完了するまでの 合計のプロンプトの入力回数:9回(参考値)
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 13 まとめ • q chat でコードを⽣成してもらう際に、サンプルコードをもとに実装してもらう アプローチは有⽤(基本構成が確定した上で細かいカスタマイズが必要な開発業 務とかに応⽤ができるかも︖) • q chat は、発表後もどんどん嬉しい新機能が追加されている ぜひ皆さんも色々トライしてみてください!!
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Summit Japan 2025 で展⽰します︕ “遊び⼼あふれるテックの祭典” AWS Buildersʼ Fair ブースにて アーキテクチャ図と CFn テンプレート⽣成・デプロイがテーマのデモを展⽰します 14 https://aws.amazon.com/jp/summits/japan/ ← Summit の登録はこちら
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Thank you! © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.