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
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
120
平文パスワードはログに“残り” ── 肝心の侵入は“痕跡すら残らない”
kuroneko13
0
110
Kiro Crew入門 - 常駐エージェントの仕組みと使いどころ / Intro to Kiro Crew
k_adachi_01
1
660
トークンマネジメントでAIにとって働きやすい環境を実現する
hikaruegashira
0
130
AI・HPC開発を支えるGPU環境の新しい選択肢 液冷GPUシステム「AquSys」の取り組み
gpuunite_official
0
170
Android skills に学ぶ
kokiko
0
130
My broken English still works: speaking at global OSS events
naruoga
0
120
猫付きpingコマンドを自作
uyuki234
0
290
私がブラウザを自作したくなった理由
supurazako
1
280
現場回帰したデータエンジニアが考える AI 時代のキャリア開発 / Career Development in the Age of AI Perspectives from a Hands-on Data Engineer
medley
0
290
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
0
390
【書籍出版記念】 10周回って、エージェント開発は RAGがすべてだった。〜RAGの歴史と開発現場で見えた実践知〜
akiratameto
3
450
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
300
New Earth Scene 8
popppiees
3
2.5k
Six Lessons from altMBA
skipperchong
29
4.4k
The Curious Case for Waylosing
cassininazir
1
470
The SEO identity crisis: Don't let AI make you average
varn
0
530
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
30 Presentation Tips
portentint
PRO
1
370
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
900
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
270
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
350
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/ ご清聴いただきありがとうございました