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
AI Agent時代なのでAWSのLLMs.txtが欲しい!
Search
watany
February 27, 2025
Technology
4
840
AI Agent時代なのでAWSのLLMs.txtが欲しい!
color is【クラウドLT大会vol.13】 でお話しした内容です。
https://saison-coloris.connpass.com/event/343379/
watany
February 27, 2025
Tweet
Share
More Decks by watany
See All by watany
RemovalPoliciesのことを知ろう!
watany
2
43
エンジニアに許された特別な時間の終わり
watany
90
83k
宇宙最速のランチRecap LT会(AWS re:Invent 2024)
watany
2
720
苦いビールを避ける冴えたやり方
watany
2
370
こんなにあるの? 最近のIPAトレンドを ざっくりまとめてみた
watany
3
860
消費者庁のページから学ぶ アウトプットでの比較で荒れない方法
watany
0
260
Deep Dive into Lambda Response Streaming
watany
1
130
”AWS CDKを選定しなかった理由”から見るCDKの現在地
watany
6
4.1k
新常識! Javascript×AWS Lambdaがアツい!!
watany
3
510
Other Decks in Technology
See All in Technology
Redefine_Possible
upsider_tech
0
220
Symfony in 2025: Scaling to 0
fabpot
2
150
PHPStan をできる限り高速化してみる
colopl
0
250
バックエンドエンジニアによるフロントエンドテスト拡充の具体的手法
kinosuke01
1
620
PHPでアクターモデルを活用したSagaパターンの実践法 / php-saga-pattern-with-actor-model
ytake
0
990
AIエージェントキャッチアップと論文リサーチ
os1ma
6
1.1k
LINE API Deep Dive Q1 2025: Unlocking New Possibilities
linedevth
1
150
初めてのPostgreSQLメジャーバージョンアップ
kkato1
0
360
Engineering Managementのグローバルトレンド #emoasis / Engineering Management Global Trend
kyonmm
PRO
6
970
SLI/SLO・ラプソディあるいは組織への適用の旅
nwiizo
4
1.2k
LINEギフトのLINEミニアプリアクセシビリティ改善事例
lycorptech_jp
PRO
0
210
お問い合わせ対応の改善取り組みとその進め方
masartz
1
280
Featured
See All Featured
How GitHub (no longer) Works
holman
314
140k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
22
2.6k
Code Reviewing Like a Champion
maltzj
521
39k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Six Lessons from altMBA
skipperchong
27
3.7k
The Cost Of JavaScript in 2023
addyosmani
48
7.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
117
51k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
11
610
Java REST API Framework Comparison - PWX 2021
mraible
29
8.5k
Gamification - CAS2011
davidbonilla
80
5.2k
Transcript
color is クラウドLT⼤会vol.13 AI Agent時代なので AWSのLLMs.txtが欲しい! 2025/02/27
自己紹介 渡邉 洋平(watany) • 所属:NTTテクノクロス株式会社 ◦ 最近「AWS 500 APN Certification
Distinction」に認定 • Personal ◦ JAWS-UG東京 運営 ◦ AWS Ambassadors(2024) ◦ Japan AWS All Certifications Engineers(2022~)
AI Agent時代なので AWSのLLMs.txtが欲しい! コレナニ?
世はまさに LLM-Agent時代 Computer use(Antropic) https://docs.anthropic.com/en/docs/agents-and-tools/c omputer-use Browser-use(OSS) https://github.com/browser-use/browser-use Deep Research(OpenAI等)
https://openai.com/index/introducing-deep-research/ Agentが ブラウジング! Agentが 検索→推論→分 析! Agentが PC操作!
どうやって実現しているか? https://www.irasutoya.com/2016/04/blog-post_78.html
どうやって実現しているか?=アツいスクレイピング https://www.irasutoya.com/2019/03/blog-post_84.html https://www.irasutoya.com/2016/04/blog-post_78.html Agent! Go!
どうやって実現しているか?=アツいスクレイピング https://www.irasutoya.com/2019/03/blog-post_84.html https://www.irasutoya.com/2016/04/blog-post_78.html それって 良いの? Go! Go! Agent! Go!
あまり良くない https://www.irasutoya.com/2019/03/blog-post_84.html 認証対応 めんどくさ Botアクセス あかんか 人間用のマー クアップって 読みづらい 無駄に
SSRし てサーバ動い てない? AIアクセス禁止だと 読まれなくなる? Botか?WAFで 弾いたろ https://www.irasutoya.com/2014/02/blog-post_2205.html
あまり良くない https://www.irasutoya.com/2019/03/blog-post_84.html 認証対応 めんどくさ Botアクセス あかんか 人間用のマー クアップって 読みづらい 無駄に
SSRし てサーバ動い てない? AIアクセス禁止だと 読まれなくなる? Botか?WAFで 弾いたろ https://www.irasutoya.com/2014/02/blog-post_2205.html 誰も幸せになって いないのである
どうすればよかったか?
LLMs.txt
LLMs.txt ? LLM向けの課題を解決するための提案 • /llms.txt • Webページの構成をLLMに伝えるプレー ンなテキスト • H1
から始める • リンク集をMarkdown形式で列挙 • 優先度低の項目はOptionalとして下 部に
LLMs.txt ? LLM向けの課題を解決するための提案 • /llms-full.txt サイト情報をMarkdown形式で表す 完全なドキュメント 例:Honoの/llms-full.txt https://hono.dev//llms-full.txt
つまり https://www.irasutoya.com/2019/03/blog-post_84.html https://www.irasutoya.com/2014/02/blog-post_2205.html https://www.irasutoya.com/2020/11/blog-post_82.html 〇〇機能の 説明を探したい Overviewが 知りたい 公式ドキュメント を読みたい
/llms.txt /llms-full.txt /
これと同じ説明を読んだが? 私がBlogの筆者なので。。。 https://zenn.dev/watany/articles/0b28a6 8a2dffc3 本登壇の準備として Zennに書いた記事
Appendix. 考察 なぜMarkdown? • MarkupはLLMには過剰(<div>などの大量のタグ) • SSR/ISRなどのユーザ体験は、Agentには不要 • シンプルなテキストファイル+LLMの相性がいい ◦
ex.NotebookLM
AI Agent時代なので AWSのLLMs.txtが欲しい! ちょっと わかった
AI Agent時代なので AWSのLLMs.txtが欲しい! これが欲しいの はなぜ?
LLMs.txt directory Cloudflareはある https://directory.llmstxt.cloud/llms.text
LLMs.txt directory AWS/Azure/GoogleCloudはない https://directory.llmstxt.cloud/llms.text
なぜAWSのLLMs.txt が欲しいか 前提:2025/02/25リリースのClaude 3.7、知識は2024/10まで まあ駄目だよね。 生成AIを活用してAWS 環境作っていいっすか? 4か月遅れの知識で https://www.irasutoya.com/2018/03/blog-post_778.html
なぜAWSのLLMs.txt が欲しいか バージョンロックがなくLatestしかないパブリッククラウドと、最新の知識を持たない LLMの相性はいまいち https://www.irasutoya.com/2016/04/blog-post_78.html https://www.irasutoya.com/2012/12/blog-post_6178.html それって 過渡期だけの 問題? しばらく同様
なのでは (個人見解 )
LLMs.txt があると? コンテキスト に入れば 助かるわ RAGのイン プットとしても 使いやすい Agent的にも 読みに行く
内容が明確 https://www.irasutoya.com/2012/12/blog-post_6178.html
実例:OSS(AWS CDK)
直接HTMLだとパースしづらい https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib-readme.html
OSSのドキュメントはどこ? https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-apigateway/README.md OSSはGitHubに 元テキストがある ことも多い
どうやって llms.txtを? 元ファイルがMarkdown形式なら、Scriptで組み立てられる 例:Honoのサイトは自動で組み立てている https://github.com/honojs/website/blob/main/scripts/build-llm-docs.ts
実例:AWS公式ドキュメント
直接HTMLだとパースしづらい 公式サイトはこんな構成 https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html
PDFでも読める …? https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html
ClaudeでOCRできるらしい! Claudeモデルに「HTMLで再現して」と頼むといいらしい https://qiita.com/moritalous/items/f5afd052992afa40d524
RSSという手もある AWSのユーザドキュメントはRSS配信 もしている ここをうまいことParseするのも良さそう https://docs.aws.amazon.com/bedrock/latest/userguide/bedrock-ug.rss
実装は間に合わなかった! ごめんなさい🙇 ※たぶん難易度は高くない
まとめ • LLMs.txtという概念がある。 ◦ 規格は変わるかもだが、考え方を覚えておくと有用 • AIに最新仕様を読ませる選択肢を思い浮かべられるようにしておこう ◦ 来るべき生成AI開発時代へ…!
color is…? (おまけ) AI Agent時代なので AWSのLLMs.txtが欲しい! 文字色・吹き出し: #c0ffee 背景・吹き出し文字: 3f0011