llms-txt  by AnswerDotAI

Simple method for language models to use your website

created 11 months ago
1,644 stars

Top 26.1% on sourcepulse

GitHubView on GitHub
Project Summary

AnswerDotAI/llms-txt provides a simple, standardized method for website owners to inform large language models (LLMs) about their site's content and structure, enabling more accurate and context-aware interactions. This benefits developers building LLM-powered applications that need to understand and leverage website data.

How It Works

The project introduces a /llms.txt file, a plain text document placed at the root of a website. This file acts as a directive, guiding LLMs on which parts of the website are relevant, how to crawl them, and what specific instructions to follow. This approach offers a lightweight, universally applicable mechanism for website-to-LLM communication without requiring complex integrations or API changes.

Quick Start & Requirements

  • Create a /llms.txt file at your website's root.
  • Refer to the official documentation for syntax and examples.

Highlighted Details

  • Standardized format for LLM website interaction.
  • Lightweight and easy to implement.
  • Supports directives for crawling, content relevance, and specific instructions.

Maintenance & Community

  • Project maintained by AnswerDotAI.
  • Community discussion via Discord.

Licensing & Compatibility

  • Licensed under the MIT License.
  • Permissive license allows for commercial use and integration into closed-source applications.

Limitations & Caveats

The effectiveness of /llms.txt relies on LLM adoption and adherence to the standard. It is currently a proposal and may not be universally supported by all LLMs or web crawlers.

Health Check
Last commit

1 month ago

Responsiveness

1+ week

Pull Requests (30d)
2
Issues (30d)
4
Star History
605 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Simon Willison Simon Willison(Author of Django), and
1 more.

Lumos by andrewnguonly

0.1%
2k
Chrome extension for local LLM web RAG co-piloting
created 1 year ago
updated 6 months ago
Feedback? Help us improve.