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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Har1101
January 16, 2026
Programming
470
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
More Decks by Har1101
See All by Har1101
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
110
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.6k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
7
1.4k
AgentCore Registry入門~マルチアカウントでどう使うの~
har1101
1
87
AgentCore×VPCでの設計パターンn選と勘所
har1101
4
520
AgentCore RuntimeからS3 Filesをマウントしてみる
har1101
4
690
AgentCore Session Storageで激安RAG作るためのあれやこれや
har1101
4
390
(技術的には)社内システムもOKなブラウザエージェントを作ってみた!
har1101
2
590
今日から始めるAmazon Bedrock AgentCore
har1101
4
580
Other Decks in Programming
See All in Programming
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
4.5k
Oxcを導入して開発体験が向上した話
yug1224
4
310
Inside Stream API
skrb
1
710
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.6k
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.1k
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
190
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
170
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.7k
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
500
Webフレームワークの ベンチマークについて
yusukebe
0
170
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
520
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1033
470k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
How to build a perfect <img>
jonoalderson
1
5.6k
Designing for Performance
lara
611
70k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Designing for humans not robots
tammielis
254
26k
Leo the Paperboy
mayatellez
7
1.8k
Documentation Writing (for coders)
carmenintech
77
5.4k
The Cult of Friendly URLs
andyhume
79
6.9k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
270
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日くらいは待てるようにしてお きたい気持ち • ただ、複雑になりそう!修羅の道かも? まとめ