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
Har1101
January 16, 2026
Programming
570
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
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
520
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
180
エージェンティックRAGにAWSで入門しよう!
har1101
9
2k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
7
1.8k
AgentCore Registry入門~マルチアカウントでどう使うの~
har1101
1
110
AgentCore×VPCでの設計パターンn選と勘所
har1101
4
570
AgentCore RuntimeからS3 Filesをマウントしてみる
har1101
4
740
AgentCore Session Storageで激安RAG作るためのあれやこれや
har1101
4
440
(技術的には)社内システムもOKなブラウザエージェントを作ってみた!
har1101
2
620
Other Decks in Programming
See All in Programming
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
150
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
290
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
150
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
0
180
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
500
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
160
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
180
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
100
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
1.5k
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
310
Claude Team Plan導入・ガイド
tk3fftk
0
240
作るコストが小さくなった時代 幸せに働くために改めて考えたいこと 〜エンジニアとして価値を出し続けるために注視している二分野〜
yuppeeng
0
140
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
55
10k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
Side Projects
sachag
455
43k
The Invisible Side of Design
smashingmag
301
52k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
680
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
380
AI: The stuff that nobody shows you
jnunemaker
PRO
9
850
The untapped power of vector embeddings
frankvandijk
2
1.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
750
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
230
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
590
Leo the Paperboy
mayatellez
8
2k
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日くらいは待てるようにしてお きたい気持ち • ただ、複雑になりそう!修羅の道かも? まとめ