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
2
140
AI Agent時代なのでAWSのLLMs.txtが欲しい!
color is【クラウドLT大会vol.13】 でお話しした内容です。
watany
February 27, 2025
Tweet
Share
More Decks by watany
See All by watany
宇宙最速のランチRecap LT会(AWS re:Invent 2024)
watany
2
650
苦いビールを避ける冴えたやり方
watany
2
180
こんなにあるの? 最近のIPAトレンドを ざっくりまとめてみた
watany
3
670
消費者庁のページから学ぶ アウトプットでの比較で荒れない方法
watany
0
130
Deep Dive into Lambda Response Streaming
watany
1
110
”AWS CDKを選定しなかった理由”から見るCDKの現在地
watany
4
2.8k
新常識! Javascript×AWS Lambdaがアツい!!
watany
3
430
Adaptor, Helmet, SSG
watany
0
300
異次元のCloudFormation 拡張コマンド~Rain~
watany
0
470
Other Decks in Technology
See All in Technology
Goで作って学ぶWebSocket
ryuichi1208
3
2.4k
JEDAI Meetup! Databricks AI/BI概要
databricksjapan
0
300
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
1
400
分解して理解する Aspire
nenonaninu
2
520
(機械学習システムでも) SLO から始める信頼性構築 - ゆる SRE#9 2025/02/21
daigo0927
0
220
プロダクトエンジニア 360°フィードバックを実施した話
hacomono
PRO
0
130
一度 Expo の採用を断念したけど、 再度 Expo の導入を検討している話
ichiki1023
1
250
白金鉱業Meetup Vol.17_あるデータサイエンティストのデータマネジメントとの向き合い方
brainpadpr
7
960
【詳説】コンテンツ配信 システムの複数機能 基盤への拡張
hatena
0
170
MIMEと文字コードの闇
hirachan
2
1.4k
生成 AI プロダクトを育てる技術 〜データ品質向上による継続的な価値創出の実践〜
icoxfog417
PRO
5
1.9k
Classmethod AI Talks(CATs) #17 司会進行スライド(2025.02.19) / classmethod-ai-talks-aka-cats_moderator-slides_vol17_2025-02-19
shinyaa31
0
170
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Language of Interfaces
destraynor
156
24k
Optimizing for Happiness
mojombo
376
70k
Embracing the Ebb and Flow
colly
84
4.6k
Speed Design
sergeychernyshev
27
800
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
Thoughts on Productivity
jonyablonski
69
4.5k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
500
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
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