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
110
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
86
Other Decks in Technology
See All in Technology
作って理解するCoding Agent 〜フレームワークに頼らないピュア Python での実装〜
takapy
2
150
Adding Right-to-Left support to your web application with CSS logical properties — Lessons from Redmine
vividtone
0
160
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.4k
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
110
老害フォレンジッカーはAI羊の夢を見るか?
tadmaddad
0
360
社内の7割が使うデータ基盤を、 データチーム2人で回すためにやったこと
koh_yoshi
4
1.5k
現場回帰したデータエンジニアが考える AI 時代のキャリア開発 / Career Development in the Age of AI Perspectives from a Hands-on Data Engineer
medley
0
290
コネクションをピン留めさせずに SELECTクエリのタイムアウトを設定した話
codmoninc
0
180
トークンマネジメントでAIにとって働きやすい環境を実現する
hikaruegashira
0
130
tamachi.go 誕生の裏側
rymiyamoto
1
190
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
180
自宅NWにISR4331を導入してみた話
okaits
0
120
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
How to train your dragon (web standard)
notwaldorf
97
6.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
HDC tutorial
michielstock
2
800
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
How to build a perfect <img>
jonoalderson
1
5.9k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
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/ ご清聴いただきありがとうございました