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
Defensive LLM Calling
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ogata Katsuya
December 05, 2025
0
150
Defensive LLM Calling
Ogata Katsuya
December 05, 2025
Tweet
Share
More Decks by Ogata Katsuya
See All by Ogata Katsuya
AIで加速する文化祭ソフトウェア開発 / Software Development for School Festivals Accelerated by AI
ogatakatsuya
0
30
Vibe-Coding で作ったアプリを 文化祭で運用した話 / The story of running an app I built with Vibe-Coding at a school festival
ogatakatsuya
1
150
ハッカソンの勘所とエンジニアリングへの活かし方 / What Hackathons Teach Us and How to Bring That into Engineering
ogatakatsuya
0
37
Kubernetesで分散処理をやってみる-Kafkaを添えて-
ogatakatsuya
0
220
ソフトウェアアーキテクチャ入門 / Introduction to Software Architecture
ogatakatsuya
2
130
大学のサークルプラットフォームを作った話
ogatakatsuya
0
110
Go College
ogatakatsuya
0
130
文化祭で使うアプリを1人で作った話
ogatakatsuya
0
110
twitter-cloneを作った話
ogatakatsuya
0
63
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Faster Mobile Websites
deanohume
310
31k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
How to train your dragon (web standard)
notwaldorf
97
6.5k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
220
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
120
Transcript
Kyoto Tech Talk #9 2025/12/05 Defensive LLM Calling Katsuya Ogata
ࣗݾհ • ໊લ: ॹํ ࠀ࠸ʢ͓͕ͨ ͔ͭʣ • ॴଐ: େࡕେֶ ใՊֶݚڀՊ
• झຯ: ొࢁɾཱྀߦɾαφ • MLLMΛ༻͍ͨಈըղੳͷݚڀ • ϝϧϘϧϯʹߦͬͯ·ͨ͠ • X: @ogata_katsuya • ݸਓ: www.ogatakatsuya.com ϝϧϘϧϯཱྀߦ ޒ৭ϲݪͷొࢁ
None
AWS 2025/10/20 Google Cloud 2025/06/13 Azure 2025/10/29
ΫϥυյΕΔલఏͰར༻͢Δ
2025ʹো͕ى͖ͯͨͷʁ
શ෦
োͷݪҼͱ༰ • ݪҼ • AIΛϗετ͍ͯ͠ΔΫϥυͷো • ίϯύΠϥͷόάʢΠϯϑϥىҼʣ • ༰ •
ϨΠςϯγͷٸܹͳ૿Ճ • ਫ਼ͷԼ • ͦͦLLMΛݺͼग़͢͜ͱ͕Ͱ͖ͳ͍
LLMյΕΔલఏͰར༻͢Δ
🤔
Application Layer Transport Layer Network Layer Network Access Layer TCP/IP
τϥϯεϙʔτ • ΞυϨεϙʔτ൪߸ͷΈʢIPΛͬͯΔͷωοτϫʔΫʣ • ͲΜͳωοτϫʔΫͷܦ࿏Λ௨Δ͔Βͳ͍ • ωοτϫʔΫͦͷͷΛ৴པ͍ͯ͠ͳ͍લఏͰ࣮֬ʹσʔλΛૹΓಧ͚Δ • ࠶ૹ੍ޚɺ੍ޚɺޡΓݕग़ •
ʢͷߟ͑Δʣτϥϯεϙʔτͷׂ • ΞϓϦέʔγϣϯʹωοτϫʔΫͷΓޱΛݟͤΔ • ΞϓϦέʔγϣϯωοτϫʔΫͷҧ͍Λҙࣝ͠ͳͯ͘ྑ͍ • ωοτϫʔΫͦͷͷͷ৴པੑΛ୲อ͢Δ
🤔
Application Layer Transport Layer Network Layer Network Access Layer TCP/IP
Application Endpoint ????? LLM Calling LLM Calling ͜͜
LLM Callingʹ͓͚Δτϥϯεϙʔτ • LLM Providerͷҧ͍Λٵऩͯ͠ɺͦͷΓޱ͚ͩΛݟͤΔ • நԽ • Ӆṭ •
LLM ProviderΛ৴པ͍ͯ͠ͳ͍લఏͰ࣭Λ୲อ͢Δ • ϦτϥΠॲཧ • ଞͷProviderͷϑΥʔϧόοΫ • ඞͣԿ͔͠ΒͷϨεϙϯε͕ฦͬͯ͘Δ
PythonͰͷ࣮ྫ abcΛ༻͍ͨநΫϥεͷ࡞ LiteLLMͱ͍͏ศརϥΠϒϥϦ͋Γ·͢
PythonͰͷ࣮ྫ ֤ϓϩόΠμʔͰͷநϝιουͷ࣮
PythonͰͷ࣮ྫ LLM Callingͷτϥϯεϙʔτ(͔ͳΓંͬͯ·͢)
LLM Callerઢ • τϥϯεϙʔτʹඞཁͳύϥϝʔλΛ͚ͩ͢ • ͲΜͳϓϩόΠμͰ࣮ߦ͞ΕΔ͔Βͳ͍ • ΠϯλʔϑΣʔε͚ͩΛҙࣝͯ͠ɺͦΕҎԼΛؾʹ͠ͳ͍ • ͚ͩͲɺҰఆ࣭͕อͨΕͯɺ͋ΔఔͷͰฦ͕ฦͬͯ͘Δ
ສࣄղܾʁʁʁ • LLMͷোૉʹΤϥʔΛు͍ͯམͪͯ͘Εͳ͍ • Ϩεϙϯε͕500൪ͳΒେৎ • ϨΠςϯγ͕૿Ճ͢Δ • λΠϚʔͱϦτϥΠॲཧͰͳΜͱ͔ͳΔʢ͔ʣ •
ਫ਼͕མͪΔ • োΛײ͢Δ͜ͱ͕͍͠ • ࠷ऴతʹɺ͜·ΊͳࢹͱɺϢʔβʔͷʹৗʹහײͰ͋Δ͜ͱ͕ॏཁ • LangfuseLangsmithͳͲͷLLMࢹମ੍ͷඋඞཁ
·ͱΊ • ͜ͷLTʹ໌֬ͳ͑͋Γ·ͤΜ • LLMͷ࣭Λ୲อ͢ΔͷϓϩόΠμͪΖΜɺϢʔβʔΛෛ͍ͬͯ Δͱ͍͏ఏى • ࠷ݶఏڙ͖͢αʔϏεͷ࣭Λ୲อ͢ΔͨΊͷϑΥʔϧόοΫઓུΛߟ͑ ͍ͯ͘ඞཁ͕͋Δ •
օ͞Μ͕࣮ફ͍ͯ͠ΔϑΥʔϧόοΫઓུɾख๏Λڭ͍͑ͯͩ͘͞
Reference • https://azure.status.microsoft/en-us/status/history/ • https://www.youtube.com/watch?v=D297rfqSFvY • https://status.cloud.google.com/incidents/ow5i3PPK96RduMcb1SsW • https://www.mobihealthnews.com/news/google-cloud-outage-disrupts-ai- services-used-healthcare
• https://www.youtube.com/watch?v=Ar_ckPSwe1Y • https://www.anthropic.com/engineering/a-postmortem-of-three-recent-issues