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
Serverless Architecture でつくる AI Agent の Data Pi...
Search
sasa
October 30, 2026
23
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless Architecture でつくる AI Agent の Data Pipeline
JAWS-UG 群馬 #38
sasa
October 30, 2026
Transcript
12 slides
Serverless Architecture でつくる AI Agent の Data Pipeline JAWS-UG Gunma
#38 Hiroki Sasazawa 2026/10/30 1
JAWS SONIC 2026 にて 「群馬県のオープンデータを利用して AI Agent を作成してみた」というタイトルでLTさせていた だきました! https://speakerdeck.com/33zawa/20260905-jaws-sonic-lt
2
JAWS SONIC 2026 にて その中で「データの更新はどうすればいいの?」という質問をいただいたので、今回はこれを掘り下 げていこうと思います。 3
データが最新化されていないとどうなるか 当たり前のことであるが、ユーザーの質問に答えられない。原本のドキュメントが更新されてる場 合、AI Agent が答えられないのはもったいない! ハーネスプレイグラウンドでの検証結果(最新FAQデータの同期前) 4
一番簡単に最新状態に保つ方法 Managed Knowledge Base の Sync schedule を利用する。デフォルトは「On-demand」と なっているため、要件に合わせた同期頻度に変更する。 Sync
schedule による同期設定 同期頻度の選択肢 主な制約事項 ・同期時刻の設定ができない ・毎時実行ができない ・リトライポリシーが設定できない 5
一番簡単に最新状態に保つ方法 - アーキテクチャー図 Sync schedule を利用して同期機能を実装する。同期ログを CloudWatch Logsに出力しエラー 検知用のアラームを設定することで、SNS経由で通知することも可能。 AWS
Cloud us-east-1 Amazon Bedrock AgentCore Sync schedule による 定期的な同期 AgentCore Runtime AgentCore Gateway Amazon Bedrock Knowledge Base (Managed KB) Amazon S3 最新データの 格納 通知 アラーム Amazon SNS ログ出力 Amazon CloudWatch 6 FAQファイル
同期時刻やリトライポリシーを制御したい場合はどうする? Step Functions と EventBridge Scheduler を組み合わせることで、サーバーの構築・管理を せずに、同期処理の定期実行やエラー処理を実装できる。 AWS Cloud
us-east-1 Amazon Bedrock AgentCore Step Functions による 定期的な同期 AgentCore Gateway AgentCore Runtime Amazon S3 Amazon Bedrock Knowledge Base (Managed KB) スケジュール起動 通知 アラーム Amazon SNS 最新データの 格納 ログ出力 Amazon CloudWatch 7 Step Functions EventBridge Scheduler FAQファイル
ところで、Serverless ってなんぞや? サーバーの構築や OS のアップデート、保守管理を AWS に任せ、開発者がプログラムの作成に集中 しやすくする仕組みのこと。サーバーがないわけではなく、サーバーの管理が不要になる。 Serverless Architecture
でよく使われるサービス AWS Lambda Amazon API Gateway AWS が公開しているドキュメントなど Amazon S3 https://aws.amazon.com/jp/serverless/ AWS Fargate Amazon SQS Amazon DynamoDB https://serverlessland.com/ 8
Step Functions の ステートマシンを作成する Step Functions で同期用のステートマシンを作成し、EventBridge Scheduler で定期実行をお こなう。
Step Functions ステートマシン • AWSの複数のサービスや処理を連携させ、ワークフ ローを自動実行・管理するサービス • ステートマシンを使用して、処理の順序や条件分岐、 並列実行などを定義できる EventBridge Scheduler • 指定した日時や間隔でAWSのサービスを自動実行する スケジューリングサービス • ターゲット呼び出し失敗時のリトライ設定が可能で、 定期バッチ処理などに利用される 9
同期後の検証 同期前に回答できなかった質問を同期後に再びAI Agentに問いかけ、回答できることを確認した。 また、同期のログはデータソースの管理画面でも確認できる。 ハーネスプレイグラウンドでの検証結果(同期後) 同期ログ 10
まとめ Serverless services を活用することで、サーバーの管理をせずに運用向けの仕組みを構築できる のが嬉しい! Sync schedule を利用すると、簡単に Managed Knowledge
Base の同期を設定できる Sync schedule の機能で要件を満たせない場合は、Step Functions と EventBridge Scheduler を活用することで柔軟な同期用の仕組みを実装できる 標準機能が要件に合わない場合は Serverless で実現できるか検討してみると良い AWS での開発はやっぱり楽しい! 11
Thank you ! ※発表は個人の見解に基づくものであり、所属組織を代表するものではありません※ 12
More Decks by sasa
See All by sasa
オープンデータを利用して AI Agent を作成してみた
33zawa
0
250
AWS における AI Agent の Harness を整理してみた
33zawa
1
160
AgentCore とはじめる AI Agent (超概要編)
33zawa
1
120
Kiro とはじめる IaC
33zawa
0
36
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k
Done Done
chrislema
187
17k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
Site-Speed That Sticks
csswizardry
13
1.6k
Scaling GitHub
holman
464
140k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Building the Perfect Custom Keyboard
takai
2
970
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k