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
950
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
Vibe Codingをせずに Clineを使っている
watany
17
6.2k
ミリしらMCP勉強会
watany
4
750
RemovalPoliciesのことを知ろう!
watany
2
77
エンジニアに許された特別な時間の終わり
watany
93
86k
宇宙最速のランチRecap LT会(AWS re:Invent 2024)
watany
2
730
苦いビールを避ける冴えたやり方
watany
2
380
こんなにあるの? 最近のIPAトレンドを ざっくりまとめてみた
watany
3
900
消費者庁のページから学ぶ アウトプットでの比較で荒れない方法
watany
0
270
Deep Dive into Lambda Response Streaming
watany
1
140
Other Decks in Technology
See All in Technology
OSSコントリビュートをphp-srcメンテナの立場から語る / OSS Contribute
sakitakamachi
0
1.3k
AWSのマルチアカウント管理 ベストプラクティス最新版 2025 / Multi-Account management on AWS best practice 2025
ohmura
4
260
アジャイル脅威モデリング#1(脅威モデリングナイト#8)
masakane55
3
190
Ops-JAWS_Organizations小ネタ3選.pdf
chunkof
2
140
”知のインストール”戦略:テキスト資産をAIの文脈理解に活かす
kworkdev
PRO
9
4.3k
3月のAWSアップデートを5分間でざっくりと!
kubomasataka
0
110
7,000名規模の 人材サービス企業における プロダクト戦略・戦術と課題 / Product strategy, tactics and challenges for a 7,000-employee staffing company
techtekt
0
280
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
coconala_engineer
1
280
AWS Control Towerを 数年運用してきての気づきとこれから/aws-controltower-ops-tips
tadayukinakamura
0
120
はじめてのSDET / My first challenge as a SDET
bun913
1
240
Cursor AgentによるパーソナルAIアシスタント育成入門―業務のプロンプト化・MCPの活用
os1ma
12
4.3k
Classmethod AI Talks(CATs) #20 司会進行スライド(2025.04.10) / classmethod-ai-talks-aka-cats_moderator-slides_vol20_2025-04-10
shinyaa31
0
150
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
30
8.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Facilitating Awesome Meetings
lara
54
6.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
520
BBQ
matthewcrist
88
9.6k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Designing for Performance
lara
607
69k
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