Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
高機能なAIエージェントを爆速で作る方法
Search
Mizuki Kameda
June 03, 2025
1.9k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
高機能なAIエージェントを爆速で作る方法
Cloudflare Workers Tech Talks in Tokyo #5
Mizuki Kameda
June 03, 2025
More Decks by Mizuki Kameda
See All by Mizuki Kameda
スケーラブルなMCPサーバ開発 -リモートMCPの現在地とこれから-
kmd09
0
51
Cloudflareで実現する AIエージェント ワークフロー基盤
kmd09
0
590
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Claude Code のすすめ
schroneko
67
230k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Believing is Seeing
oripsolob
1
240
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Odyssey Design
rkendrick25
PRO
2
870
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Transcript
ߴػೳͳAIΤʔδΣϯτΛ രͰ࡞Δํ๏ Cloud fl are Workers Tech Talks in Tokyo
#5
ࣗݾհ ُాਸ਼و .BDCFF1MBOFU71PG3% ઑٕͬͨज़ͳΜͰ ͖ͳٕज़ྖҬ .-%48FC% 8FC(-8FC(16 ిࢠ࡞ ͦͷଞͷͩ͜ΘΓ
ָثίʔώʔᖿḦΧϝϥ !LNE@
͍͑ͨ͜ͱ
Mastra࠷ߴ Cloud fl are࠷ߴ ͜ͷΈ߹Θͤ࠷ߴ(γϯσϨϥϑΟοτ) ͻͱ݄΄ͲલඍົͳΈ߹ΘͤͰ͕ͨ͠ ࠓ࠷ߴͰ͢ʂ ϦϞʔτʹΤʔδΣϯτΛ࡞Δͱ͖
Mastra • HonoϕʔεͷOSS ΤʔδΣϯτ/ϫʔΫϑϩʔϑϨʔϜϫʔΫ • Battery Included(RAGMemory, VoiceͳͲͷ࿈ܞ͕ඪ४උ) • OpenAPI४ڌ,
Swagger UI, OpenTelemetry४ڌͳͲ্࣮ͰؾʹͳΔ෦ ͕શ෦ೖΓ • MCP, A2A, AG-UIͳͲͷϓϩτίϧΛαϙʔτ
࠷ߴ
ɹΤʔδΣϯτ։ൃ͋Δ͋Δ FWͷൃలʹΑΓ ϩʔΧϧͰಈ͘ͱ͜Ζ·Ͱྑ͍͕ ΠϯϑϥʹࡌͤΔͱ͜Ζ͕ਏ͍
ϦϞʔτ࣮ߦͷ՝ • Πϯϑϥڥͷߏஙӡ༻ͷ͕େ͖͍ • ྫ: AWS, GCP্ͷίϯςφج൫(ECS, CloudRunͳͲ) • ґଘ͕ଟ͍
• VectorDB, LLM, DB.. • ӡ༻͕؆୯ͳͷߴίετ͔ͭϩοΫΠϯͷϦεΫ͕େ͖͍ • ྫ: FWͷCloud(Dify Cloud, Mastra Cloud), JS༻PaaS(Net fl ify, Vercel)
ͦ͜Ͱ Cloud fl are Workers ͱͦͷؒͨͪ
Cloud fl areͳཧ༝ 1. Agentʹదͨ͠Πϯϑϥಛ 2. Mastraͷ΄΅શͯͷ֎෦ґଘʹରԠ(ϑϧϚωʔδυͰఏڙ) 3. ؆୯σϓϩΠ
1. Agentʹ͋ͬͨಛ • 0 ms εϐϯΞοϓ • CPU࣮ߦ࣌ؒͱϦΫΤετͷ • αϒϦΫΤετͷϨεϙϯεͪCPU࣮ߦ࣌ؒʹೖΒͳ͍
• ࠷ߴͳεέʔϥϏϦςΟ
2. ΄΅શͯͷ֎෦ґଘʹରԠ
શํҐ͋Δͷوॏ خ͍͠ʂ
؆୯σϓϩΠ 1. @mastra/deployer-cloud fl are ͷґଘΛՃ͢Δ (ྫ:bun install @mastra/deployer-cloud fl
are) 2. MastraΠϯελϯεఆٛ࣌ʹdeployerΛఆٛ͢Δ 3. buildՌʹରͯ͠wrangler deploy(CF WorkersͷσϓϩΠίϚϯυ) 4. σϓϩΠ͞ΕɺURL͕ൃߦ͞ΕΔ 20254݄17Ҏલͷόʔδϣϯͩͱ wrangler deployͰ͖ͳ͍ͷͰҙ
࠷ߴͷFW ͱ ࠷ߴͷΠϯϑϥ͕ γϯσϨϥϑΟοτ
࠷ߴͷΤʔδΣϯτ։ൃϥΠϑΛʂ