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
3
670
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
エンジニアに許された特別な時間の終わり
watany
81
66k
宇宙最速のランチRecap LT会(AWS re:Invent 2024)
watany
2
700
苦いビールを避ける冴えたやり方
watany
2
340
こんなにあるの? 最近のIPAトレンドを ざっくりまとめてみた
watany
3
820
消費者庁のページから学ぶ アウトプットでの比較で荒れない方法
watany
0
230
Deep Dive into Lambda Response Streaming
watany
1
130
”AWS CDKを選定しなかった理由”から見るCDKの現在地
watany
6
4k
新常識! Javascript×AWS Lambdaがアツい!!
watany
3
490
Adaptor, Helmet, SSG
watany
0
310
Other Decks in Technology
See All in Technology
社内でKaggle部を作って初学者育成した話
daikon99
1
220
貧民的プログラミングのすすめ
kakehashi
PRO
2
360
AI-Driven-Development-20250310
yuhattor
3
350
データモデルYANGの処理系を再発明した話
tjmtrhs
0
560
“常に進化する”開発現場へ! SHIFTが語るアジャイルQAの未来/20250306 Yuma Murase
shift_evolve
0
190
20250309 無冠のわたし これからどう先生きのこれる?
akiko_pusu
11
2.1k
エンジニアの健康管理術 / Engineer Health Management Techniques
y_sone
8
7.1k
OPENLOGI Company Profile
hr01
0
60k
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
560
AIは脅威でなくチャンス。 AIと共に進化するエンジニアの成長戦略 / geeksai-2025-spring
carta_engineering
0
200
自分のやることに価値を見出だせるようになり、挑戦する勇気をもらったベイトソンの考え / Scrum Fest Fukuoka 2025
bonbon0605
0
200
越境するプロダクトエンジニアリング
liaoziyang
0
110
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
51
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Building Adaptive Systems
keathley
40
2.4k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Building an army of robots
kneath
303
45k
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