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
AgentCoreとHuman in the Loop
Search
Har1101
January 16, 2026
Programming
890
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AgentCoreとHuman in the Loop
Serverless Meetup Fukuoka #6 での登壇資料です
Har1101
January 16, 2026
Transcript
16 slides
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日くらいは待てるようにしてお きたい気持ち • ただ、複雑になりそう!修羅の道かも? まとめ
More Decks by Har1101
See All by Har1101
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
360
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
7
1.2k
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
830
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
790
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
620
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
260
エージェンティックRAGにAWSで入門しよう!
har1101
9
2.5k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
7
2.1k
AgentCore Registry入門~マルチアカウントでどう使うの~
har1101
1
170
Other Decks in Programming
See All in Programming
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
210
Getting Started with Vibe Coding
miccheng
0
240
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
380
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
150
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
120
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
780
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1k
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
230
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5.2k
RailsConf 2023
tenderlove
30
1.6k
It's Worth the Effort
3n
188
29k
Designing for humans not robots
tammielis
254
26k
What's in a price? How to price your products and services
michaelherold
247
13k
Odyssey Design
rkendrick25
PRO
3
960
Visualization
eitanlees
153
17k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
630
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Accessibility Awareness
sabderemane
1
310
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
470
Evolving SEO for Evolving Search Engines
ryanjones
0
370