GUIA Técnico

llms.txt

llms.txt is an informal, community proposal for a Markdown index that summarizes a site and points AI agents to selected resources.

Ouça este guiaNarrado por IA · ~3 min

Nesta página3 minutos de leitura
  1. Visão geral
  2. Mergulho profundo
  3. Implementação no mundo real
  4. The Future of llms.txt
  5. Colocando em prática
  6. Continue explorando
  7. Perguntas frequentes

Visão geral

Publishing the file may help a tool that chooses to fetch it, but it is not a crawler directive, a search-ranking signal, or a guarantee that any particular assistant will use the content.

Mergulho profundo

The llms.txt idea was proposed by Jeremy Howard in 2024 as a way to address a real problem: large language models have limited context windows and web pages are often cluttered with navigation, ads, and JavaScript that make it hard for an AI tool to extract the actual content efficiently. The convention specifies a Markdown file at the site root (/llms.txt) with a required H1 title, an optional blockquote summary, and then sections of links, each ideally pointing to clean Markdown versions of pages rather than full HTML. Some documentation platforms and site owners also publish an llms-full.txt file that concatenates complete pages. This is a community extension, not part of the current llmstxt.org v2 specification. It is a proposal rather than a protocol requirement. Some documentation platforms generate these files and several AI labs publish their own documentation indexes, but publication does not mean every search crawler or AI product fetches, follows, or ranks by them. Treat the file as an optional author-curated index and verify a target tool’s behavior before relying on it. A key misconception is treating llms.txt as equivalent to robots.txt in enforcement — robots.txt is a widely respected directive about crawler access, while llms.txt is only a curated pointer file that a given AI tool may or may not choose to fetch and use. A site owner can experiment after checking for stale or sensitive links, and can measure whether known tools fetch the file. Do not promise an SEO or citation benefit, and do not use it to replace content quality, accessible navigation, or crawler controls.

Implementação no mundo real

A documentation site publishes an llms.txt at its root listing its getting-started guide, API reference, and changelog as Markdown links with one-line descriptions.

An open-source project's llms.txt links directly to raw Markdown versions of its docs pages so an AI assistant can read clean text instead of parsing rendered HTML.

A company site includes an llms-full.txt variant that concatenates entire documentation contents into one file for tools that want to ingest everything at once.

A blog experiments with llms.txt by listing only its cornerstone explainer articles, hoping AI answer engines cite those pages more accurately.

The Future of llms.txt

The proposal remains open to community input, and its published format can change. Some documentation platforms generate files, but each crawler or assistant decides what to retrieve and how to use it. A site team should date its file, review links as documentation changes, and treat observed fetches as evidence of access only—not proof that a model used the content or that search visibility improved. Avoid making ranking promises; use official crawler controls for access rules and ordinary content quality for discoverability.

Colocando em prática

Por que isso importa

  • Custo e orçamento. As decisões de arquitetura impulsionam o desempenho e os custos operacionais durante anos.
  • Decisões mais claras. A educação técnica ajuda as equipes a escolher a pilha certa, não apenas a mais nova.
  • Controle de qualidade. Melhores escolhas de engenharia reduzem incidentes de confiabilidade na produção.

Cuidado com

  • A otimização de um benchmark pode ocultar fraquezas mais amplas do sistema.
  • Os custos de infraestrutura e manutenção são frequentemente subestimados.
  • As lacunas de segurança e observabilidade podem aumentar à medida que os sistemas se tornam mais complexos.

Próximas etapas

  1. Defina metas de latência, qualidade e custo antes da implementação.
  2. Benchmark sob condições realistas de carga e dados.
  3. Monitoramento de instrumentos para erros, desvios e impacto no usuário.
  4. Prepare caminhos de reversão e resposta a incidentes antes de escalar.

Continue explorando

Boletim informativo gratuito

Receba o resumo diário de IA

Três histórias verificadas de IA a cada manhã de dia útil, escritas em linguagem simples. Gratuito para sempre, sem anúncios.

Um e-mail a cada dia útil. Cancele a inscrição com um clique. Nunca vendemos ou compartilhamos seu endereço.

Teste você mesmo

Take the llms.txt quiz

Feedback instantâneo sobre cada resposta e um certificado compartilhável com um ID verificável assim que você concluir um curso.

Iniciar teste

Apoie a educação gratuita em IA. O AI Understanding é uma organização sem fins lucrativos 501(c)(3) — sem anúncios, sem paywall, nunca. Faça uma doação

Perguntas frequentes

What is llms.txt?

llms.txt is an informal, community proposal for a Markdown index that summarizes a site and points AI agents to selected resources. Publishing the file may help a tool that chooses to fetch it, but it is not a crawler directive, a search-ranking signal, or a guarantee that any particular assistant will use the content.

According to the guide, what is the intended role of llms.txt in the proposal?

The proposal describes a curated Markdown overview and resource links; it does not force any agent to retrieve them.

How does llms.txt differ from robots.txt in terms of enforcement?

The guide explicitly warns against treating llms.txt as equivalent in enforcement to robots.txt, noting it is voluntary and adoption is uneven.

What does the companion file llms-full.txt do differently from llms.txt?

Some sites publish a full-content file as an informal extension; the current llmstxt.org v2 proposal defines the link-index format, not a required llms-full.txt companion.

Who proposed the llms.txt convention, and around when?

The guide attributes the proposal to Jeremy Howard in 2024, addressing limited context windows and cluttered HTML.

What content format does llms.txt recommend linking to, rather than full HTML pages?

The proposal recommends concise Markdown links and clean Markdown versions where available; complete site contents are not required.