Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AgentCoreとHuman in the Loop
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Har1101
January 16, 2026
Programming
5
240
AgentCoreとHuman in the Loop
Serverless Meetup Fukuoka #6 での登壇資料です
Har1101
January 16, 2026
Tweet
Share
More Decks by Har1101
See All by Har1101
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
My First Year as a Community Builder
har1101
3
94
EventBridge API Destination × AgentCore Runtimeで実現するLambdaレスなイベント駆動エージェント
har1101
7
300
スケジュール駆動なエージェントを作ろう!
har1101
4
740
AIエージェントの設計で注意するべきポイント6選
har1101
7
3.4k
Now, go out
har1101
4
240
AWS re:Inventから考える、2026年のAIエージェント開発
har1101
2
630
CBとして行く初re:Invent 挑戦と失敗
har1101
2
340
Jr.Championsもいいけど、Community Buildersもね!
har1101
2
300
Other Decks in Programming
See All in Programming
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
180
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
Implementation Patterns
denyspoltorak
0
290
2026年 エンジニアリング自己学習法
yumechi
0
130
Basic Architectures
denyspoltorak
0
670
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
710
Oxlintはいいぞ
yug1224
5
1.3k
Patterns of Patterns
denyspoltorak
0
1.4k
dchart: charts from deck markup
ajstarks
3
990
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
700
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
Statistics for Hackers
jakevdp
799
230k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Building AI with AI
inesmontani
PRO
1
690
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
66
How to Think Like a Performance Engineer
csswizardry
28
2.4k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Transcript
AgentCoreとHuman in the Loop 2026/01/16 (金) Serverless Meetup Fukuoka #6
福地開
Who am I ? 福地 開 (ふくち はるき) @har1101mony 所属:JAWS-UG東京
年次:3年目 業務:Agent Builder 選出:AWS Community Builders (AI Engineering) 2025 Japan AWS Jr.Champions 2025 Japan All AWS Certifications Engineers
今日話すこと ◆AgentCore Runtimeで実現するHuman in the Loop • AgentCore おさらい •
AgentCore Runtimeの非同期処理 • Human in the Loopしてみる ※資料中で「AI」と記載しているものは「生成AI」とりわけ「LLM」のことを指します ※以降、LLM組み込みシステムを「AIエージェント」に含めます ※所属組織とは一切関係ない、私個人の意見・考えとなります
AgentCore おさらい
Amazon Bedrock AgentCoreとは ◆AWS上でAIエージェントを展開・運用するためのプラットフォーム ◆全機能がサーバーレスで提供されている! https://github.com/awslabs/amazon-bedrock-agentcore-samples/tree/main/01-tutorials
Amazon Bedrock AgentCoreとは ◆AWS上でAIエージェントを展開・運用するためのプラットフォーム ◆全機能がサーバーレスで提供されている! https://github.com/awslabs/amazon-bedrock-agentcore-samples/tree/main/01-tutorials
Amazon Bedrock AgentCore Runtime とは ◆AIエージェント(およびツール)のコードをホストする基盤 • サーバーレスにスケール可能なコンテナ基盤 • 裏側では、ユーザーのセッションごとにマイクロVMを立ち上げてくれる
• LLMの出力待機時間など、I/O 待ちの時間はCPUリソースに課金されない • 実行時間を最長8時間に伸ばせるのでAIエージェントとの相性がGood https://speakerdeck.com/yuu551/2025nian-amazon-bedrock-agentcorematome (クラメソ神野さんの神資料読んでください!)
AgentCore Runtimeの非同期処理
Runtimeで非同期にエージェントを動かす ◆普通に(=同期処理で)エージェントを動かすと、実行時間は15分まで ◆非同期処理にしておくと、最長8時間 ◆実装方法 • 非同期化したい処理を[app.add_async_task]と[app.complete_async_task] で挟む • この中でエージェントを動かすことも可能 https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-long-run.html
非同期処理中でHuman in the Loop
非同期処理×Human in the Loop ◆Human in the Loop • LLMが何かアクションする際に人間へ確認を求め、人間は承認/否認する
◆非同期処理中だと最長8時間セッションが続く • すぐに人間が承認しなくても大丈夫 • 処理が止まっている間はほぼ課金されない(メモリ利用分だけ) ◆セッションが生きているか(非同期処理が続いているか)は /ping で確認可能 • リクエスト待機中のステータスは `Healthy` • 非同期処理中はステータスは `HealthyBusy`
非同期処理×Human in the Loop ◆Human in the Loop • LLMが何かアクションする際に人間へ確認を求め、人間は承認/否認する
◆非同期処理中だと最長8時間セッションが続く • すぐに人間が承認しなくても大丈夫 • 処理が止まっている間はほぼ課金されない(メモリ利用分だけ) ◆セッションが生きているか(非同期処理が続いているか)は /ping で確認可能 • リクエスト待機中のステータスは `Healthy` • 非同期処理中はステータスは `HealthyBusy`
Human in the Loopの実装 ◆結構複雑なのでブログに書きます!
簡単なデモ
簡単なデモ
◆AgentCore Runtime×Human in the Loopについてお話しました • 非同期処理を使えば、AgentCoreでもHuman in the Loopが現実的な選択肢
になる • とはいえ、セッションが切れた(=8時間以上経過した)場合のリトライ処理を どうするか?は考えないといけない • 細かい実装方法については後日ブログで書きます ◆外部でステート管理ができれば、8時間以上もいけるか…? • ということを今試しています • Durable Functionsまでとは言わなくとも、1日くらいは待てるようにしてお きたい気持ち • ただ、複雑になりそう!修羅の道かも? まとめ