llms.txt:面向 AI 可读网站的定义

llms.txt 是一个可选的站点文件,可向 AI 系统指明有用的内容、文档与机器可读的上下文。

llms.txt 是一个可选的站点文件,可以向 AI 系统指明网站中有用的内容、文档与机器可读的上下文。

最后更新:2026 年 6 月 15 日

术语摘要

类别AI 发现文件 主要受众SEO/GEO 团队、开发者、电商运营者 DeepLumen 产品面向 Shopify 的 Agentic Page 相关术语agents.md、AI 爬虫治理、Agentic Page、AI 可读电商

摘要

  • llms.txt 是一种发现约定,并不能通用地保证 AI 系统会爬取或推荐某个站点。
  • 它可以帮助整理重要的 URL、文档、政策与 AI 可读资源。
  • 对电商而言,它应当为产品上下文提供支撑,而不是取代数据源、结构化数据或 AI 可读页面。
  • DeepLumen 把 llms.txt 视为更宏观的 AI 可见性架构中的一个入口。

定义

llms.txt 是一个可选的文本或 markdown 风格文件,通常放置在网站根目录,可以帮助 AI 系统识别有用的页面、文档与机器可读资源。最好把它理解为一种 AI 发现的辅助手段,而不是可爬取页面、产品数据源、结构化数据或扎实内容架构的替代品。

为什么重要

llms.txt 之所以重要,是因为 AI 系统往往需要一条更快抵达高价值上下文的路径。一个网站可能拥有有用的页面,但这些页面可能散落在导航、脚本、PDF、产品集合与政策板块之中。

一个清晰的发现文件可以把机器引向站点所有者认为重要的内容。对电商来说,这可能包括品牌背景、产品集合、购买指南、政策、术语页以及 AI 可读的产品表面。

示例

一家 Shopify 店铺可能用 llms.txt 把 AI 系统引向产品品类、热门购买指南、退货政策、配送政策、术语定义以及 AI 可读的产品页。该文件不应是唯一的信号,它应当强化站点其余部分的内容架构。

工作原理

  • 以简单的机器可读格式列出重要的页面与资源。
  • 可以与 agents.md、站点地图、robots.txt、结构化数据和产品数据源共存。
  • 帮助 AI 系统围绕站点最有用的内容进行定位。
  • 当所链接的页面本身清晰、可爬取且一致时,效果最佳。

商务含义

对于智能体商务,llms.txt 可以充当一道前门。它告诉 AI 系统去哪里找到与产品发现和品牌理解最相关的内容。

但前门和推荐引擎并不是一回事。如果产品页杂乱、数据源不一致,或者信任证据薄弱,单靠 llms.txt 无法让店铺变得可被推荐。

团队常常忽略的一点

真正实际的问题不是"我们有没有 llms.txt?",而更应该是"如果一个 AI 系统顺着它走,它最终会到达那些真正清楚解释了我们产品、政策与差异化的页面吗?"

相关术语

与 DeepLumen 的关系

DeepLumen 把 llms.txt 视为更大系统中的一个发现信号。更深层的工作是减少语料单元噪声、构建产品上下文,并让发现文件背后的页面对 AI 智能体真正有用。

常见问题

不是。它是一种新兴的约定,并非每个 AI 系统都必须遵循的通用标准。

不一样。robots.txt 给出的是爬虫指令;llms.txt 的用途是向 AI 系统指明有用的上下文。

Shopify 文档描述了为 AI 智能体发现场景自动提供的发现 URL,包括 agents.md、llms.txt 和 llms-full.txt。

不能。它可以改善可发现性,但推荐就绪度仍取决于产品事实、信任证据、AI 可读性与一致性。

来源与延伸阅读

让你的店铺更容易被 AI 智能体理解

DeepLumen 帮助电商品牌减少语料单元噪声、提升 AI 可读性,并以 AI 系统可检索、可比较、可推荐的格式呈现产品上下文。

本页目录

FAQ

llms.txt 是官方的网络标准吗?

不是。它是一种新兴的约定,并非每个 AI 系统都必须遵循的通用标准。

llms.txt 和 robots.txt 一样吗?

不一样。robots.txt 给出的是爬虫指令;llms.txt 的用途是向 AI 系统指明有用的上下文。

Shopify 支持 llms.txt 吗?

Shopify 文档描述了为 AI 智能体发现场景自动提供的发现 URL,包括 agents.md、llms.txt 和 llms-full.txt。

llms.txt 单凭自身就能改善 AI 推荐吗?

不能。它可以改善可发现性,但推荐就绪度仍取决于产品事实、信任证据、AI 可读性与一致性。

JSON-LD

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "@id": "https://staging2.deeplumen.io/#organization",
      "name": "DeepLumen",
      "url": "https://staging2.deeplumen.io/",
      "inLanguage": "zh-CN",
      "logo": {
        "@type": "ImageObject",
        "url": "https://staging2.deeplumen.io/logo.png",
        "width": 200,
        "height": 200
      },
      "image": "https://staging2.deeplumen.io/og-image.png",
      "slogan": "面向商家侧的智能体商务层",
      "description": "DeepLumen 是一个智能体商务(agentic commerce)平台,帮助品牌和产品被 AI 智能体发现、推荐,并进入交易流程。",
      "sameAs": [
        "https://www.linkedin.com/company/deeplumen/",
        "https://x.com/Deeplumen0922"
      ],
      "knowsAbout": [
        "智能体商务",
        "AI 购物智能体",
        "生成式引擎优化",
        "AI 搜索优化",
        "产品结构化数据",
        "结构化数据",
        "llms.txt",
        "AI 推荐流量",
        "M2AI"
      ]
    },
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "@id": "https://staging2.deeplumen.io/#website",
      "name": "DeepLumen",
      "url": "https://staging2.deeplumen.io/",
      "inLanguage": "zh-CN"
    },
    {
      "@context": "https://schema.org",
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "首页",
          "item": "https://staging2.deeplumen.io/zh/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "术语表",
          "item": "https://staging2.deeplumen.io/zh/glossary/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "llms.txt",
          "item": "https://staging2.deeplumen.io/zh/glossary/llms-txt/"
        }
      ]
    }
  ]
}

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebPage",
      "@id": "https://staging2.deeplumen.io/zh/glossary/llms-txt/#webpage",
      "url": "https://staging2.deeplumen.io/zh/glossary/llms-txt/",
      "name": "llms.txt:面向 AI 可读网站的定义",
      "description": "llms.txt 是一个可选的站点文件,可以向 AI 系统指明有用的内容、文档与机器可读的上下文。",
      "inLanguage": "zh-CN",
      "isPartOf": {
        "@id": "https://staging2.deeplumen.io/#website"
      },
      "about": [
        {
          "@id": "https://staging2.deeplumen.io/zh/glossary/llms-txt/#term"
        },
        {
          "@type": "Thing",
          "name": "AI 爬虫治理"
        },
        {
          "@type": "Thing",
          "name": "AI 可读电商"
        },
        {
          "@type": "Thing",
          "name": "Agentic Page"
        },
        {
          "@type": "Thing",
          "name": "Shopify AI 可见性"
        },
        {
          "@type": "Thing",
          "name": "产品结构化数据"
        }
      ]
    },
    {
      "@type": "DefinedTerm",
      "@id": "https://staging2.deeplumen.io/zh/glossary/llms-txt/#term",
      "name": "llms.txt",
      "description": "llms.txt 是一个可选的站点文件,可以向 AI 系统指明网站中有用的内容、文档与机器可读的上下文。",
      "inLanguage": "zh-CN",
      "inDefinedTermSet": {
        "@type": "DefinedTermSet",
        "name": "DeepLumen 术语表",
        "url": "https://staging2.deeplumen.io/zh/glossary/"
      }
    },
    {
      "@type": "Article",
      "@id": "https://staging2.deeplumen.io/zh/glossary/llms-txt/#article",
      "headline": "llms.txt:面向 AI 可读网站的定义",
      "description": "llms.txt 是一个可选的站点文件,可以向 AI 系统指明有用的内容、文档与机器可读的上下文。",
      "inLanguage": "zh-CN",
      "author": {
        "@type": "Organization",
        "name": "DeepLumen"
      },
      "publisher": {
        "@id": "https://staging2.deeplumen.io/#organization"
      },
      "datePublished": "2026-06-15",
      "dateModified": "2026-06-15",
      "mainEntityOfPage": "https://staging2.deeplumen.io/zh/glossary/llms-txt/",
      "wordCount": 716,
      "citation": [
        "https://llmstxt.org/",
        "https://help.shopify.com/en/manual/online-sales-channels/agentic-storefronts/products"
      ]
    },
    {
      "@type": "FAQPage",
      "inLanguage": "zh-CN",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "llms.txt 是官方的网络标准吗?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "不是。它是一种新兴的约定,并非每个 AI 系统都必须遵循的通用标准。"
          }
        },
        {
          "@type": "Question",
          "name": "llms.txt 和 robots.txt 一样吗?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "不一样。robots.txt 给出的是爬虫指令;llms.txt 的用途是向 AI 系统指明有用的上下文。"
          }
        },
        {
          "@type": "Question",
          "name": "Shopify 支持 llms.txt 吗?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Shopify 文档描述了为 AI 智能体发现场景自动提供的发现 URL,包括 agents.md、llms.txt 和 llms-full.txt。"
          }
        },
        {
          "@type": "Question",
          "name": "llms.txt 单凭自身就能改善 AI 推荐吗?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "不能。它可以改善可发现性,但推荐就绪度仍取决于产品事实、信任证据、AI 可读性与一致性。"
          }
        }
      ]
    }
  ]
}
Human