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試してみた
Search
Takeguchi
August 29, 2025
Technology
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
話題のAgentCore試してみた
Takeguchi
August 29, 2025
More Decks by Takeguchi
See All by Takeguchi
実務で体感したAWS Lambdaの制約の話
takeguchi_34
0
83
Other Decks in Technology
See All in Technology
アラート調査向けAIエージェントの本番導入とその後/AI Agents for Alert Investigation: Production Deployment and After
taddy_919
1
390
美しいコードを書くためにF#を学んでみた話
yud0uhu
1
220
「ちゃんとやっている」は独りよがりだった ― 不安に寄り添うインシデント対応へ / Towards incident response that addresses anxieties
chmikata
1
1.8k
Road to SRE NEXTの今までとこれから
hiroyaonoe
0
110
プロダクトだけじゃない、社内プロセスにおける自動化・省力化ノススメ
kakehashi
PRO
1
600
最近評価が難しくなった
maroon8021
0
250
生成AIの活用/high_school2026
okana2ki
0
110
SRE歴2ヶ月でも開発6年の知見を活かして、チームで止まっていた環境改善を前に進めた話
a_ono
1
210
Mastraエージェント、どのクラウドにデプロイする?
minorun365
PRO
2
170
事業価値を⽣み出すSREへ SREが担うべき意思決定の5層
kenta_hi
1
540
認証認可だけじゃない! ID管理の構成要素と ライフサイクルを意識しよう
ritou
1
500
知らん間に、回ってる
ming_ayami
0
150
Featured
See All Featured
The Language of Interfaces
destraynor
162
27k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
180
Are puppies a ranking factor?
jonoalderson
1
3.7k
Music & Morning Musume
bryan
47
7.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
400
The Invisible Side of Design
smashingmag
301
52k
Skip the Path - Find Your Career Trail
mkilby
1
160
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Transcript
©Fusic Co., Ltd. 0 CONFIDENTIAL CONFIDENTIAL 話題のAgentCore試してみた 株式会社Fusic 竹口広武 新卒エンジニアによる初めてのAIエージェント
@takeguchi_dev
©Fusic Co., Ltd. 1 CONFIDENTIAL 自己紹介 はじめに 竹口 広武 H
I R O M U TA K E G U C H I 株式会社Fusic 25卒新卒エンジニア 興味のある技術 • AWS • 機械学習 • MLOps
©Fusic Co., Ltd. 2 CONFIDENTIAL 1. AgentCore の概要 2. AgentCore
試してみた
©Fusic Co., Ltd. 3 CONFIDENTIAL AgentCoreの概要 1
©Fusic Co., Ltd. 4 CONFIDENTIAL AgentCoreの概要 AgentCoreは、あらゆるフレームワーク/モデルでエンタープライズ規模のAIエージェントを 安全に運用するための基盤(プレビュー)。 主要コンポーネント •
AgentCore Runtime:エージェント/ツールをサーバーレスで安全にホストし、長時間実行やセッション分離でスケール • AgentCore Memory:短期/長期の記憶をマネージドに保持して文脈を蓄積・共有できる • AgentCore Gateway:既存APIやLambdaをMCP互換ツールとして公開・発見・接続できる安全な仲介レイヤ • AgentCore Browser:クラウド隔離ブラウザでWeb操作を自動化 • AgentCore Code Interpreter:サンドボックスでコード(例: Python/JavaScript)を安全に実行し、計算やデータ処理を補助 • AgentCore Observability: CloudWatch/OpenTelemetryで実行トレースやメトリクスを可視化・監視・デバッグ • AgentCore Identity:エージェント/ツール用のID・認可とトークン保管で、AWSや外部SaaSへの委譲アクセスを安全に AgentCoreとは?
©Fusic Co., Ltd. 5 CONFIDENTIAL AgentCoreを試してみた 1 AgentCore Runtime
©Fusic Co., Ltd. 6 CONFIDENTIAL AgentCore Runtime AIエージェントの作成からデプロイまで Python で簡単に試せます
こちらのチュートリアルサイトを試します! 初めての方はおすすめです 「5分で AI エージェントをデプロイ・ホスティングする – Amazon Bedrock AgentCore Runtime」 https://aws.amazon.com/jp/blogs/startup/5min-ai-agent-hosting/
©Fusic Co., Ltd. 7 CONFIDENTIAL AgentCore Runtime Python環境の準備 仮想環境の用意 $
python -m venv .venv $ source .venv/bin/activate $ パッケージのインストール $ pip3 install strands-agents bedrock-agentcore bedrock-agentcore-starter-toolkit
©Fusic Co., Ltd. 8 CONFIDENTIAL Agentの用意とデプロイが14行で可能 • 必要なPythonパッケージ:Strands Agents 、AgentCore
に関する2つ • 用意するファイル:以下の2つ AgentCore Runtime my_agent.py requirements.txt
©Fusic Co., Ltd. 9 CONFIDENTIAL デプロイするための設定コマンド $ agentcore configure -e
my_agent.py デプロイするコマンド $ agentcore launch AgentCore Runtime デプロイはマネコンのAgentCoreから確認可能
©Fusic Co., Ltd. 10 CONFIDENTIAL $ agentcore invoke ‘{“prompt”: “Hello”}’
を実行するとエージェントからレスポンスが返却される AgentCore Runtime Response: { "ResponseMetadata": { "RequestId": "*****", "HTTPStatusCode": 200, "HTTPHeaders": { "date": "Thu, 28 Aug 2025 05:37:41 GMT", "content-type": "application/json", "transfer-encoding": "chunked", "connection": "keep-alive", "x-amzn-requestid": "*****", "baggage": "******", "x-amzn-bedrock-agentcore-runtime-session-id": "******", "x-amzn-trace-id": "******" }, "RetryAttempts": 0 }, "runtimeSessionId": "******", "traceId": "******", "baggage": "******", "contentType": "application/json", "statusCode": 200, "response": [ "b'{\"result\": {\"role\": \"assistant\", \"content\": [{\"text\": \"Hello! How are you doing today? Is there anything I can help you with?\"}]}}’” ] }
©Fusic Co., Ltd. 11 CONFIDENTIAL AgentCoreを試してみた 1 AgentCore Browser
©Fusic Co., Ltd. 12 CONFIDENTIAL AgentCore Browser クラウド上の隔離されたブラウザ環境を提供し、エージェントがWebサイトを安全に操作できるサービス 主な特徴 モデルに依存しない柔軟性
• Anthropic の Claude、OpenAI のモデル、Amazon の Nova モデルなど、さまざまな AI モデルのさまざまなコマンド構文をサポート スケーラビリティ • インフラストラクチャのオーバーヘッドなしで自動的にスケーリング 人間と同じような操作 • スクリーンショットでの視覚的な理解 セキュリティ • 隔離されたブラウザ環境 包括的な監査機能 • すべてのブラウザ コマンドの CloudTrail ログ記録とセッション記録機能が含まれます。 今回はこちらのチュートリアルサイト試しました https://github.com/awslabs/amazon-bedrock-agentcore-samples AgentCore Browser
©Fusic Co., Ltd. 13 CONFIDENTIAL AgentCore Browser 1. クエリ 「Amazonで靴を買って」
©Fusic Co., Ltd. 14 CONFIDENTIAL AgentCore Browser 2. LLM呼び出し
©Fusic Co., Ltd. 15 CONFIDENTIAL AgentCore Browser 3. ツール呼び出し
©Fusic Co., Ltd. 16 CONFIDENTIAL AgentCore Browser 4. コマンド変換 Browser_useやPlaywright
などのライブラリ用 (指示をコマンドに変換)
©Fusic Co., Ltd. 17 CONFIDENTIAL AgentCore Browser 5. コマンド実行
©Fusic Co., Ltd. 18 CONFIDENTIAL AgentCore Browser 5. ブラウザ操作
©Fusic Co., Ltd. 19 CONFIDENTIAL AgentCore Browser 6. スクリーンショット
©Fusic Co., Ltd. 20 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 21 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 22 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 23 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 24 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 25 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 26 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 27 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 28 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 29 CONFIDENTIAL AgentCore Browser 与えた指示:"Search for macbooks
on amazon.com and extract the details of the first one” ”amazon.comでMacBookを検索し、最初の商品詳細を抽出してください“
©Fusic Co., Ltd. 30 CONFIDENTIAL AgentCore Browser タスクの実行結果が返ってきました
©Fusic Co., Ltd. 31 CONFIDENTIAL まとめ AgentCoreについて知ることができた AgentCore Runtimeを使うとAIエージェントを爆速でデプロイできる AgentCore
Browser を使うとブラウザ操作を自動化できる Point.01 Point.02 Point.03
©Fusic Co., Ltd. 32 CONFIDENTIAL Thank You We are Hiring!
https://recruit.fusic.co.jp/ ご清聴いただきありがとうございました