已验证的 AgentReady.md 证书
签发于 sig: 758a10a8231a209c 验证 →

已分析URL

https://agent-browser.dev/engines/lightpanda

分析另一个URL

AI-Ready评分

56 / D

较差

/ 100

Token节省量

HTML Token 17.926
Markdown Token 717
节省 96%

评分详情

语义化HTML 91/100
内容效率 55/100
AI可发现性 15/100
结构化数据 45/100
可访问性 93/100

新兴协议

已检测到 0/3

AI代理查找的well-known端点。检测到意味着代理可以自动发现并连接到您的服务。

  • OAuth Discovery RFC 8414
    /.well-known/oauth-authorization-server
  • MCP Server Card Anthropic
    /.well-known/mcp.json
  • A2A Agent Card Google
    /.well-known/agent.json

您的网站没有llms.txt文件。这是帮助AI代理理解网站结构的新兴标准。

如何实施

按照llmstxt.org规范创建/llms.txt文件。包含网站描述和关键页面的链接。

您的页面实际内容与总HTML的比率较低。页面重量的大部分是标记、脚本或样式而非内容。

如何实施

将CSS移至外部样式表,删除内联样式,最小化JavaScript,确保HTML专注于内容结构。

您的网站不支持Markdown for Agents。此Cloudflare标准允许AI代理以markdown格式请求内容,减少约80%的令牌使用。

如何实施

实现以下一项或多项:(1) 使用markdown内容响应Accept: text/markdown。(2) 提供.md URL(例如/page.md)。(3) 添加<link rel="alternate" type="text/markdown">标签。(4) 添加Link HTTP标头用于markdown发现。

{\n res.setHeader('Vary', 'Accept');\n res.setHeader('Link', '; rel=\"alternate\"; type=\"text/markdown\"');\n if ((req.headers.accept || '').includes('text/markdown')) {\n res.type('text/markdown; charset=utf-8');\n return res.send(renderMarkdown('page'));\n }\n res.render('page');\n});"},{"id":"fastify","label":"Fastify","language":"javascript","filename":"server.js","code":"// Mechanisms 1 + 4: content negotiation + Link header\nfastify.get('/page', async (req, reply) => {\n reply.header('Vary', 'Accept');\n reply.header('Link', '; rel=\"alternate\"; type=\"text/markdown\"');\n if ((req.headers.accept || '').includes('text/markdown')) {\n return reply.type('text/markdown; charset=utf-8').send(renderMarkdown('page'));\n }\n return reply.view('/page.ejs');\n});"},{"id":"nextjs","label":"Next.js","language":"typescript","filename":"app/page/route.ts","code":"// Next.js App Router — Route Handler returning Markdown\nimport { NextRequest } from 'next/server';\nimport { renderMarkdown } from '@/lib/md';\nexport async function GET(req: NextRequest) {\n const accept = req.headers.get('accept') || '';\n if (accept.includes('text/markdown')) {\n return new Response(await renderMarkdown('page'), {\n headers: {\n 'Content-Type': 'text/markdown; charset=utf-8',\n 'Vary': 'Accept',\n },\n });\n }\n // Fall through to the page component\n return new Response(null, { status: 404 });\n}"},{"id":"wordpress","label":"WordPress","language":"php","filename":"functions.php","code":"post_content));\n exit;\n});"},{"id":"static","label":"Hugo / Jekyll / Astro","language":"txt","filename":"static/page.md","code":"# Mechanism 2: serve .md alongside .html\n# Hugo: place page.md in /static/ — built unchanged\n# Jekyll: drop page.md in /assets/ — copied as-is\n# Astro: src/pages/page.md.ts that exports a GET returning markdown\n\n# Then advertise with mechanism 3 in :\n# "}] }'>

您的网站没有robots.txt文件。此文件控制机器人(包括AI代理)如何访问您的网站。

如何实施

创建允许访问内容页面的/robots.txt文件。包含指向sitemap.xml的Sitemap指令。

未找到站点地图。站点地图帮助AI代理发现网站上的所有页面。

如何实施

创建列出所有公开页面的/sitemap.xml。大多数CMS平台可以自动生成。

未找到Content-Signal指令。这些指令告知AI代理如何使用您的内容(搜索索引、AI输入、训练数据)。推荐位置是robots.txt。

如何实施

将Content-Signal添加到您的robots.txt:User-agent: *\nContent-Signal: search=yes, ai-input=yes, ai-train=no。也可以作为markdown响应的HTTP标头添加。

{\n res.setHeader('Content-Signal', 'search=yes, ai-input=yes, ai-train=no');\n next();\n});\n\n// Fastify\nfastify.addHook('onSend', (request, reply, payload, done) => {\n reply.header('Content-Signal', 'search=yes, ai-input=yes, ai-train=no');\n done();\n});"}] }'>

许多元素具有内联样式属性。这些会为提取内容的AI代理增加噪声。

如何实施

将所有内联样式移至样式表中的CSS类。如需大量独特样式,使用Tailwind等实用CSS框架。

未找到Schema.org结构化数据。JSON-LD帮助AI代理从页面中提取基于事实的结构化信息。

如何实施

添加包含Schema.org标记的<script type="application/ld+json">块。使用适当的类型:博客文章用Article,产品页面用Product,公司页面用Organization。

未找到规范URL。它帮助AI代理识别页面的首选版本并避免重复内容。

如何实施

添加指向页面规范URL的<link rel="canonical" href="...">标签。

Markdown Token: 717
[Lightpanda](https://lightpanda.io/) is a headless browser engine built from scratch in Zig for machines. It starts instantly, uses 10x less memory than Chrome, and executes 10x faster.

agent-browser manages Lightpanda the same way it manages Chrome -- spawning the process, connecting via CDP, and shutting it down. All downstream commands (snapshot, click, fill, screenshot, etc.) work through the same CDP protocol path.

## Installation[#](https://agent-browser.dev/engines/lightpanda#installation)

Install the Lightpanda binary before using it with agent-browser:

| Platform | Command |
| --- | --- |
| macOS (Apple Silicon) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-aarch64-macos && chmod a+x ./lightpanda` |
| Linux (x86\_64) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux && chmod a+x ./lightpanda` |

Move the binary somewhere in your `PATH` (e.g. `/usr/local/bin/lightpanda` or `~/.local/bin/lightpanda`).

See the [Lightpanda installation docs](https://lightpanda.io/docs/open-source/installation) for more options.

## Usage[#](https://agent-browser.dev/engines/lightpanda#usage)

Use the `--engine` flag to select Lightpanda:

```
agent-browser --engine lightpanda open example.com
agent-browser --engine lightpanda snapshot
agent-browser --engine lightpanda screenshot
```

Or set it as the default via environment variable:

```
export AGENT_BROWSER_ENGINE=lightpanda
agent-browser open example.com
```

Or in your `agent-browser.json` config:

```
{
  "engine": "lightpanda"
}
```

## Custom Binary Path[#](https://agent-browser.dev/engines/lightpanda#custom-binary-path)

If the `lightpanda` binary is not in your `PATH`, use `--executable-path`:

```
agent-browser --engine lightpanda --executable-path /path/to/lightpanda open example.com
```

## Differences from Chrome[#](https://agent-browser.dev/engines/lightpanda#differences-from-chrome)

Lightpanda is a purpose-built headless engine. Some Chrome-specific features are not available:

| Feature | Status |
| --- | --- |
| Extensions (`--extension`) | Not supported |
| Persistent profiles (`--profile`) | Not supported |
| Storage state (`--state`) | Not supported |
| File access (`--allow-file-access`) | Not supported |
| Headed mode (`--headed`) | Not applicable (headless only) |
| Screenshots | Depends on Lightpanda CDP support |

agent-browser returns a clear error if you combine `--engine lightpanda` with unsupported flags.

## When to Use Lightpanda[#](https://agent-browser.dev/engines/lightpanda#when-to-use-lightpanda)

Lightpanda is a good fit for:

-   Fast web scraping and data extraction
-   AI agent workflows where speed and low memory matter
-   CI/CD environments with constrained resources
-   High-volume parallel automation

Use Chrome when you need full browser fidelity, extensions, or persistent profiles.
Lightpanda | agent-browser

[](https://vercel.com/ "Made with love by Vercel")[agent-browser](https://agent-browser.dev/)

Lightpanda

Copy Page

# Lightpanda[#](https://agent-browser.dev/engines/lightpanda#lightpanda)

[Lightpanda](https://lightpanda.io/) is a headless browser engine built from scratch in Zig for machines. It starts instantly, uses 10x less memory than Chrome, and executes 10x faster.

agent-browser manages Lightpanda the same way it manages Chrome -- spawning the process, connecting via CDP, and shutting it down. All downstream commands (snapshot, click, fill, screenshot, etc.) work through the same CDP protocol path.

## Installation[#](https://agent-browser.dev/engines/lightpanda#installation)

Install the Lightpanda binary before using it with agent-browser:

| Platform | Command |
| --- | --- |
| macOS (Apple Silicon) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-aarch64-macos && chmod a+x ./lightpanda` |
| Linux (x86\_64) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux && chmod a+x ./lightpanda` |

Move the binary somewhere in your `PATH` (e.g. `/usr/local/bin/lightpanda` or `~/.local/bin/lightpanda`).

See the [Lightpanda installation docs](https://lightpanda.io/docs/open-source/installation) for more options.

## Usage[#](https://agent-browser.dev/engines/lightpanda#usage)

Use the `--engine` flag to select Lightpanda:

```
agent-browser --engine lightpanda open example.com
agent-browser --engine lightpanda snapshot
agent-browser --engine lightpanda screenshot
```

Or set it as the default via environment variable:

```
export AGENT_BROWSER_ENGINE=lightpanda
agent-browser open example.com
```

Or in your `agent-browser.json` config:

```
{
  "engine": "lightpanda"
}
```

## Custom Binary Path[#](https://agent-browser.dev/engines/lightpanda#custom-binary-path)

If the `lightpanda` binary is not in your `PATH`, use `--executable-path`:

```
agent-browser --engine lightpanda --executable-path /path/to/lightpanda open example.com
```

## Differences from Chrome[#](https://agent-browser.dev/engines/lightpanda#differences-from-chrome)

Lightpanda is a purpose-built headless engine. Some Chrome-specific features are not available:

| Feature | Status |
| --- | --- |
| Extensions (`--extension`) | Not supported |
| Persistent profiles (`--profile`) | Not supported |
| Storage state (`--state`) | Not supported |
| File access (`--allow-file-access`) | Not supported |
| Headed mode (`--headed`) | Not applicable (headless only) |
| Screenshots | Depends on Lightpanda CDP support |

agent-browser returns a clear error if you combine `--engine lightpanda` with unsupported flags.

## When to Use Lightpanda[#](https://agent-browser.dev/engines/lightpanda#when-to-use-lightpanda)

Lightpanda is a good fit for:

-   Fast web scraping and data extraction
-   AI agent workflows where speed and low memory matter
-   CI/CD environments with constrained resources
-   High-volume parallel automation

Use Chrome when you need full browser fidelity, extensions, or persistent profiles.

Ask AI⌘I

agent-browser Docs

What is agent-browser?How do I install it?What commands are available?How do snapshots work?How do I use CDP mode?

将此文件上传到服务器的/engines/lightpanda.md,以便AI代理可以访问页面的干净版本。您也可以配置Accept: text/markdown内容协商以自动提供。

为此单页生成的llms.txt

下载llms.txt
# agent-browser

> Browser automation CLI for AI agents

## Main
- [Lightpanda | agent-browser](https://agent-browser.dev/engines/lightpanda): Browser automation CLI for AI agents
- [agent-browser](https://agent-browser.dev/)
- [Installation](https://agent-browser.dev/installation)
- [Quick Start](https://agent-browser.dev/quick-start)
- [Skills](https://agent-browser.dev/skills)
- [Commands](https://agent-browser.dev/commands)
- [Configuration](https://agent-browser.dev/configuration)
- [Selectors](https://agent-browser.dev/selectors)
- [Snapshots](https://agent-browser.dev/snapshots)

完整llms.txt需要全域分析(即将推出)

将此文件上传到域名根目录的https://agent-browser.dev/llms.txt。ChatGPT、Claude和Perplexity等AI代理会检查此文件以了解您的网站结构。

语义化HTML

使用article或main元素 (100/100)

Has <article>

正确的标题层级 (100/100)

Clean heading hierarchy

使用语义化HTML元素 (57/100)

6 semantic elements, 29 divs (ratio: 17%)

有意义的图片alt属性 (100/100)

No images found

较低的div嵌套深度 (100/100)

Avg div depth: 1.3, max: 3

内容效率

良好的Token减少比率 (100/100)

96% token reduction (HTML→Markdown)

良好的内容与噪声比 (0/100)

Content ratio: 4.4% (2315 content chars / 52724 HTML bytes)

最少的内联样式 (0/100)

40/342 elements with inline styles (11.7%)

合理的页面重量 (100/100)

HTML size: 51KB

AI可发现性

有llms.txt文件 (0/100)

No llms.txt found

有robots.txt文件 (0/100)

No robots.txt found

robots.txt允许AI机器人 (100/100)

No robots.txt — AI bots allowed by default

有sitemap.xml (0/100)

No sitemap found

Markdown for Agents支持 (0/100)
&#10007; Accept: text/markdown &#10007; .md URL &#10007; <link> tag &#10007; Link header
有Content-Signal(robots.txt或HTTP标头) (0/100)
&#10003; robots.txt &#10003; HTTP header &#10007; Policy

结构化数据

有Schema.org / JSON-LD (0/100)

No JSON-LD / Schema.org found

有Open Graph标签 (100/100)

All OG tags present

有meta描述 (50/100)

Meta description too short: 36 chars

有规范URL (0/100)

No canonical URL

有lang属性 (100/100)

lang="en"

可访问性

无需JavaScript即可获取内容 (100/100)

Content available without JavaScript

合理的页面大小 (100/100)

Page size: 51KB

内容在HTML中位置靠前 (75/100)

Main content starts at 24% of HTML

{
  "url": "https://agent-browser.dev/engines/lightpanda",
  "timestamp": 1777265121779,
  "fetch": {
    "mode": "simple",
    "timeMs": 257,
    "htmlSizeBytes": 52724,
    "supportsMarkdown": false,
    "markdownAgents": {
      "contentNegotiation": false,
      "mdUrl": {
        "found": false,
        "url": null
      },
      "linkTag": {
        "found": false,
        "url": null
      },
      "linkHeader": {
        "found": false,
        "url": null
      },
      "responseHeaders": {
        "contentSignal": null,
        "xMarkdownTokens": null,
        "vary": null
      },
      "frontmatter": {
        "present": false,
        "fields": [],
        "level": "none"
      },
      "level": "none"
    },
    "statusCode": 200
  },
  "extraction": {
    "title": "Lightpanda | agent-browser",
    "excerpt": "Browser automation CLI for AI agents",
    "byline": null,
    "siteName": "agent-browser",
    "lang": "en",
    "contentLength": 2315,
    "metadata": {
      "description": "Browser automation CLI for AI agents",
      "ogTitle": "Lightpanda | agent-browser",
      "ogDescription": "Browser automation CLI for AI agents",
      "ogImage": "https://agent-browser.dev/og/engines/lightpanda",
      "ogType": "website",
      "canonical": null,
      "lang": "en",
      "schemas": [],
      "robotsMeta": null,
      "author": null,
      "generator": null,
      "markdownAlternateHref": null
    }
  },
  "markdown": "[Lightpanda](https://lightpanda.io/) is a headless browser engine built from scratch in Zig for machines. It starts instantly, uses 10x less memory than Chrome, and executes 10x faster.\n\nagent-browser manages Lightpanda the same way it manages Chrome -- spawning the process, connecting via CDP, and shutting it down. All downstream commands (snapshot, click, fill, screenshot, etc.) work through the same CDP protocol path.\n\n## Installation[#](https://agent-browser.dev/engines/lightpanda#installation)\n\nInstall the Lightpanda binary before using it with agent-browser:\n\n| Platform | Command |\n| --- | --- |\n| macOS (Apple Silicon) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-aarch64-macos && chmod a+x ./lightpanda` |\n| Linux (x86\\_64) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux && chmod a+x ./lightpanda` |\n\nMove the binary somewhere in your `PATH` (e.g. `/usr/local/bin/lightpanda` or `~/.local/bin/lightpanda`).\n\nSee the [Lightpanda installation docs](https://lightpanda.io/docs/open-source/installation) for more options.\n\n## Usage[#](https://agent-browser.dev/engines/lightpanda#usage)\n\nUse the `--engine` flag to select Lightpanda:\n\n```\nagent-browser --engine lightpanda open example.com\nagent-browser --engine lightpanda snapshot\nagent-browser --engine lightpanda screenshot\n```\n\nOr set it as the default via environment variable:\n\n```\nexport AGENT_BROWSER_ENGINE=lightpanda\nagent-browser open example.com\n```\n\nOr in your `agent-browser.json` config:\n\n```\n{\n  \"engine\": \"lightpanda\"\n}\n```\n\n## Custom Binary Path[#](https://agent-browser.dev/engines/lightpanda#custom-binary-path)\n\nIf the `lightpanda` binary is not in your `PATH`, use `--executable-path`:\n\n```\nagent-browser --engine lightpanda --executable-path /path/to/lightpanda open example.com\n```\n\n## Differences from Chrome[#](https://agent-browser.dev/engines/lightpanda#differences-from-chrome)\n\nLightpanda is a purpose-built headless engine. Some Chrome-specific features are not available:\n\n| Feature | Status |\n| --- | --- |\n| Extensions (`--extension`) | Not supported |\n| Persistent profiles (`--profile`) | Not supported |\n| Storage state (`--state`) | Not supported |\n| File access (`--allow-file-access`) | Not supported |\n| Headed mode (`--headed`) | Not applicable (headless only) |\n| Screenshots | Depends on Lightpanda CDP support |\n\nagent-browser returns a clear error if you combine `--engine lightpanda` with unsupported flags.\n\n## When to Use Lightpanda[#](https://agent-browser.dev/engines/lightpanda#when-to-use-lightpanda)\n\nLightpanda is a good fit for:\n\n-   Fast web scraping and data extraction\n-   AI agent workflows where speed and low memory matter\n-   CI/CD environments with constrained resources\n-   High-volume parallel automation\n\nUse Chrome when you need full browser fidelity, extensions, or persistent profiles.\n",
  "fullPageMarkdown": "Lightpanda | agent-browser\n\n[](https://vercel.com/ \"Made with love by Vercel\")[agent-browser](https://agent-browser.dev/)\n\nLightpanda\n\nCopy Page\n\n# Lightpanda[#](https://agent-browser.dev/engines/lightpanda#lightpanda)\n\n[Lightpanda](https://lightpanda.io/) is a headless browser engine built from scratch in Zig for machines. It starts instantly, uses 10x less memory than Chrome, and executes 10x faster.\n\nagent-browser manages Lightpanda the same way it manages Chrome -- spawning the process, connecting via CDP, and shutting it down. All downstream commands (snapshot, click, fill, screenshot, etc.) work through the same CDP protocol path.\n\n## Installation[#](https://agent-browser.dev/engines/lightpanda#installation)\n\nInstall the Lightpanda binary before using it with agent-browser:\n\n| Platform | Command |\n| --- | --- |\n| macOS (Apple Silicon) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-aarch64-macos && chmod a+x ./lightpanda` |\n| Linux (x86\\_64) | `curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux && chmod a+x ./lightpanda` |\n\nMove the binary somewhere in your `PATH` (e.g. `/usr/local/bin/lightpanda` or `~/.local/bin/lightpanda`).\n\nSee the [Lightpanda installation docs](https://lightpanda.io/docs/open-source/installation) for more options.\n\n## Usage[#](https://agent-browser.dev/engines/lightpanda#usage)\n\nUse the `--engine` flag to select Lightpanda:\n\n```\nagent-browser --engine lightpanda open example.com\nagent-browser --engine lightpanda snapshot\nagent-browser --engine lightpanda screenshot\n```\n\nOr set it as the default via environment variable:\n\n```\nexport AGENT_BROWSER_ENGINE=lightpanda\nagent-browser open example.com\n```\n\nOr in your `agent-browser.json` config:\n\n```\n{\n  \"engine\": \"lightpanda\"\n}\n```\n\n## Custom Binary Path[#](https://agent-browser.dev/engines/lightpanda#custom-binary-path)\n\nIf the `lightpanda` binary is not in your `PATH`, use `--executable-path`:\n\n```\nagent-browser --engine lightpanda --executable-path /path/to/lightpanda open example.com\n```\n\n## Differences from Chrome[#](https://agent-browser.dev/engines/lightpanda#differences-from-chrome)\n\nLightpanda is a purpose-built headless engine. Some Chrome-specific features are not available:\n\n| Feature | Status |\n| --- | --- |\n| Extensions (`--extension`) | Not supported |\n| Persistent profiles (`--profile`) | Not supported |\n| Storage state (`--state`) | Not supported |\n| File access (`--allow-file-access`) | Not supported |\n| Headed mode (`--headed`) | Not applicable (headless only) |\n| Screenshots | Depends on Lightpanda CDP support |\n\nagent-browser returns a clear error if you combine `--engine lightpanda` with unsupported flags.\n\n## When to Use Lightpanda[#](https://agent-browser.dev/engines/lightpanda#when-to-use-lightpanda)\n\nLightpanda is a good fit for:\n\n-   Fast web scraping and data extraction\n-   AI agent workflows where speed and low memory matter\n-   CI/CD environments with constrained resources\n-   High-volume parallel automation\n\nUse Chrome when you need full browser fidelity, extensions, or persistent profiles.\n\nAsk AI⌘I\n\nagent-browser Docs\n\nWhat is agent-browser?How do I install it?What commands are available?How do snapshots work?How do I use CDP mode?\n",
  "markdownStats": {
    "images": 0,
    "links": 7,
    "tables": 2,
    "codeBlocks": 4,
    "headings": 5
  },
  "tokens": {
    "htmlTokens": 17926,
    "markdownTokens": 717,
    "reduction": 17209,
    "reductionPercent": 96
  },
  "score": {
    "score": 56,
    "grade": "D",
    "dimensions": {
      "semanticHtml": {
        "score": 91,
        "weight": 20,
        "grade": "A",
        "checks": {
          "uses_article_or_main": {
            "score": 100,
            "weight": 20,
            "details": "Has <article>"
          },
          "proper_heading_hierarchy": {
            "score": 100,
            "weight": 25,
            "details": "Clean heading hierarchy"
          },
          "semantic_elements": {
            "score": 57,
            "weight": 20,
            "details": "6 semantic elements, 29 divs (ratio: 17%)"
          },
          "meaningful_alt_texts": {
            "score": 100,
            "weight": 15,
            "details": "No images found"
          },
          "low_div_nesting": {
            "score": 100,
            "weight": 20,
            "details": "Avg div depth: 1.3, max: 3"
          }
        }
      },
      "contentEfficiency": {
        "score": 55,
        "weight": 25,
        "grade": "D",
        "checks": {
          "token_reduction_ratio": {
            "score": 100,
            "weight": 40,
            "details": "96% token reduction (HTML→Markdown)"
          },
          "content_to_noise_ratio": {
            "score": 0,
            "weight": 30,
            "details": "Content ratio: 4.4% (2315 content chars / 52724 HTML bytes)"
          },
          "minimal_inline_styles": {
            "score": 0,
            "weight": 15,
            "details": "40/342 elements with inline styles (11.7%)"
          },
          "reasonable_page_weight": {
            "score": 100,
            "weight": 15,
            "details": "HTML size: 51KB"
          }
        }
      },
      "aiDiscoverability": {
        "score": 15,
        "weight": 25,
        "grade": "F",
        "checks": {
          "has_llms_txt": {
            "score": 0,
            "weight": 20,
            "details": "No llms.txt found"
          },
          "has_robots_txt": {
            "score": 0,
            "weight": 10,
            "details": "No robots.txt found"
          },
          "robots_allows_ai_bots": {
            "score": 100,
            "weight": 15,
            "details": "No robots.txt — AI bots allowed by default"
          },
          "has_sitemap": {
            "score": 0,
            "weight": 10,
            "details": "No sitemap found"
          },
          "supports_markdown_negotiation": {
            "score": 0,
            "weight": 25,
            "details": "No Markdown for Agents support detected"
          },
          "has_content_signals": {
            "score": 0,
            "weight": 20,
            "details": "No Content-Signal found (robots.txt or HTTP headers)"
          }
        }
      },
      "structuredData": {
        "score": 45,
        "weight": 15,
        "grade": "D",
        "checks": {
          "has_schema_org": {
            "score": 0,
            "weight": 30,
            "details": "No JSON-LD / Schema.org found"
          },
          "has_open_graph": {
            "score": 100,
            "weight": 25,
            "details": "All OG tags present"
          },
          "has_meta_description": {
            "score": 50,
            "weight": 20,
            "details": "Meta description too short: 36 chars"
          },
          "has_canonical_url": {
            "score": 0,
            "weight": 15,
            "details": "No canonical URL"
          },
          "has_lang_attribute": {
            "score": 100,
            "weight": 10,
            "details": "lang=\"en\""
          }
        }
      },
      "accessibility": {
        "score": 93,
        "weight": 15,
        "grade": "A",
        "checks": {
          "content_without_js": {
            "score": 100,
            "weight": 40,
            "details": "Content available without JavaScript"
          },
          "reasonable_page_size": {
            "score": 100,
            "weight": 30,
            "details": "Page size: 51KB"
          },
          "fast_content_position": {
            "score": 75,
            "weight": 30,
            "details": "Main content starts at 24% of HTML"
          }
        }
      }
    }
  },
  "recommendations": [
    {
      "id": "add_llms_txt",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_llms_txt.title",
      "descriptionKey": "rec.add_llms_txt.description",
      "howToKey": "rec.add_llms_txt.howto",
      "effort": "quick-win",
      "estimatedImpact": 10,
      "checkScore": 0,
      "checkDetails": "No llms.txt found"
    },
    {
      "id": "improve_content_ratio",
      "priority": "critical",
      "category": "contentEfficiency",
      "titleKey": "rec.improve_content_ratio.title",
      "descriptionKey": "rec.improve_content_ratio.description",
      "howToKey": "rec.improve_content_ratio.howto",
      "effort": "moderate",
      "estimatedImpact": 6,
      "checkScore": 0,
      "checkDetails": "Content ratio: 4.4% (2315 content chars / 52724 HTML bytes)"
    },
    {
      "id": "add_markdown_negotiation",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_markdown_negotiation.title",
      "descriptionKey": "rec.add_markdown_negotiation.description",
      "howToKey": "rec.add_markdown_negotiation.howto",
      "effort": "significant",
      "estimatedImpact": 6,
      "checkScore": 0,
      "checkDetails": "No Markdown for Agents support detected"
    },
    {
      "id": "add_robots_txt",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_robots_txt.title",
      "descriptionKey": "rec.add_robots_txt.description",
      "howToKey": "rec.add_robots_txt.howto",
      "effort": "quick-win",
      "estimatedImpact": 5,
      "checkScore": 0,
      "checkDetails": "No robots.txt found"
    },
    {
      "id": "add_sitemap",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_sitemap.title",
      "descriptionKey": "rec.add_sitemap.description",
      "howToKey": "rec.add_sitemap.howto",
      "effort": "quick-win",
      "estimatedImpact": 5,
      "checkScore": 0,
      "checkDetails": "No sitemap found"
    },
    {
      "id": "add_content_signals",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_content_signals.title",
      "descriptionKey": "rec.add_content_signals.description",
      "howToKey": "rec.add_content_signals.howto",
      "effort": "quick-win",
      "estimatedImpact": 5,
      "checkScore": 0,
      "checkDetails": "No Content-Signal found (robots.txt or HTTP headers)"
    },
    {
      "id": "remove_inline_styles",
      "priority": "critical",
      "category": "contentEfficiency",
      "titleKey": "rec.remove_inline_styles.title",
      "descriptionKey": "rec.remove_inline_styles.description",
      "howToKey": "rec.remove_inline_styles.howto",
      "effort": "moderate",
      "estimatedImpact": 3,
      "checkScore": 0,
      "checkDetails": "40/342 elements with inline styles (11.7%)"
    },
    {
      "id": "add_schema_org",
      "priority": "high",
      "category": "structuredData",
      "titleKey": "rec.add_schema_org.title",
      "descriptionKey": "rec.add_schema_org.description",
      "howToKey": "rec.add_schema_org.howto",
      "effort": "moderate",
      "estimatedImpact": 6,
      "checkScore": 0,
      "checkDetails": "No JSON-LD / Schema.org found"
    },
    {
      "id": "add_canonical_url",
      "priority": "high",
      "category": "structuredData",
      "titleKey": "rec.add_canonical_url.title",
      "descriptionKey": "rec.add_canonical_url.description",
      "howToKey": "rec.add_canonical_url.howto",
      "effort": "quick-win",
      "estimatedImpact": 3,
      "checkScore": 0,
      "checkDetails": "No canonical URL"
    }
  ],
  "llmsTxtPreview": "# agent-browser\n\n> Browser automation CLI for AI agents\n\n## Main\n- [Lightpanda | agent-browser](https://agent-browser.dev/engines/lightpanda): Browser automation CLI for AI agents\n- [agent-browser](https://agent-browser.dev/)\n- [Installation](https://agent-browser.dev/installation)\n- [Quick Start](https://agent-browser.dev/quick-start)\n- [Skills](https://agent-browser.dev/skills)\n- [Commands](https://agent-browser.dev/commands)\n- [Configuration](https://agent-browser.dev/configuration)\n- [Selectors](https://agent-browser.dev/selectors)\n- [Snapshots](https://agent-browser.dev/snapshots)\n\n",
  "llmsTxtExisting": null,
  "emergingProtocols": {
    "oauthDiscovery": {
      "exists": false,
      "url": "https://agent-browser.dev/.well-known/oauth-authorization-server"
    },
    "mcpServerCard": {
      "exists": false,
      "url": "https://agent-browser.dev/.well-known/mcp.json"
    },
    "a2aAgentCard": {
      "exists": false,
      "url": "https://agent-browser.dev/.well-known/agent.json"
    },
    "count": 0
  },
  "snippets": [
    {
      "id": "add_llms_txt",
      "title": "Create /llms.txt",
      "description": "Upload this file to your web root. It tells AI agents what your site is about and which pages matter.",
      "language": "markdown",
      "code": "# agent-browser\n\n> Browser automation CLI for AI agents\n\n## Main\n- [Lightpanda | agent-browser](https://agent-browser.dev/engines/lightpanda): Browser automation CLI for AI agents\n- [agent-browser](https://agent-browser.dev/)\n- [Installation](https://agent-browser.dev/installation)\n- [Quick Start](https://agent-browser.dev/quick-start)\n- [Skills](https://agent-browser.dev/skills)\n- [Commands](https://agent-browser.dev/commands)\n- [Configuration](https://agent-browser.dev/configuration)\n- [Selectors](https://agent-browser.dev/selectors)\n- [Snapshots](https://agent-browser.dev/snapshots)\n\n",
      "filename": "/llms.txt"
    },
    {
      "id": "add_canonical_url",
      "title": "Add canonical URL",
      "description": "The canonical URL tells AI agents which version of the page is the \"official\" one, avoiding duplicate content issues.",
      "language": "html",
      "code": "<link rel=\"canonical\" href=\"https://agent-browser.dev/engines/lightpanda\">",
      "filename": "<head>"
    },
    {
      "id": "add_schema_org",
      "title": "Add Schema.org JSON-LD",
      "description": "Structured data helps AI agents understand the type, author, and purpose of your content.",
      "language": "html",
      "code": "<script type=\"application/ld+json\">\n{\n  \"@context\": \"https://schema.org\",\n  \"@type\": \"WebPage\",\n  \"name\": \"Lightpanda | agent-browser\",\n  \"description\": \"Browser automation CLI for AI agents\",\n  \"url\": \"https://agent-browser.dev/engines/lightpanda\",\n  \"inLanguage\": \"en\",\n  \"isPartOf\": {\n    \"@type\": \"WebSite\",\n    \"name\": \"agent-browser\"\n  }\n}\n</script>",
      "filename": "<head>"
    },
    {
      "id": "add_robots_txt",
      "title": "Create /robots.txt",
      "description": "A robots.txt file tells crawlers (including AI bots) what they can and cannot access.",
      "language": "txt",
      "code": "User-agent: *\nAllow: /\n\nSitemap: https://agent-browser.dev/sitemap.xml",
      "filename": "/robots.txt"
    },
    {
      "id": "add_sitemap",
      "title": "Create /sitemap.xml",
      "description": "A sitemap helps AI agents discover all your pages. Most CMS platforms generate one automatically.",
      "language": "xml",
      "code": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url>\n    <loc>https://agent-browser.dev/engines/lightpanda</loc>\n    <lastmod>2026-04-27</lastmod>\n  </url>\n</urlset>",
      "filename": "/sitemap.xml"
    },
    {
      "id": "add_content_signals",
      "title": "Add Content-Signal directives",
      "description": "Content-Signal tells AI agents how they may use your content. The canonical location is robots.txt, but you can also expose it as an HTTP header from any stack.",
      "language": "txt",
      "code": "User-agent: *\nContent-Signal: search=yes, ai-input=yes, ai-train=no",
      "filename": "/robots.txt",
      "stacks": [
        {
          "id": "robots",
          "label": "robots.txt",
          "language": "txt",
          "filename": "/robots.txt",
          "code": "User-agent: *\nContent-Signal: search=yes, ai-input=yes, ai-train=no"
        },
        {
          "id": "nginx",
          "label": "Nginx",
          "language": "nginx",
          "filename": "server block",
          "code": "# Inside your server { } block:\nadd_header Content-Signal \"search=yes, ai-input=yes, ai-train=no\" always;"
        },
        {
          "id": "apache",
          "label": "Apache",
          "language": "apache",
          "filename": ".htaccess",
          "code": "# In .htaccess (or VirtualHost):\nHeader set Content-Signal \"search=yes, ai-input=yes, ai-train=no\""
        },
        {
          "id": "wordpress",
          "label": "WordPress",
          "language": "php",
          "filename": "functions.php",
          "code": "<?php\n// In your theme's functions.php or a small mu-plugin\nadd_action('send_headers', function () {\n    header('Content-Signal: search=yes, ai-input=yes, ai-train=no');\n});\n\n// Optional: also append the directive to the dynamic robots.txt\nadd_filter('robots_txt', function ($output) {\n    return $output . \"\\nContent-Signal: search=yes, ai-input=yes, ai-train=no\\n\";\n}, 10, 1);"
        },
        {
          "id": "nextjs",
          "label": "Next.js",
          "language": "typescript",
          "filename": "middleware.ts",
          "code": "// middleware.ts (Next.js 13+ App Router or Pages Router)\nimport { NextResponse } from 'next/server';\nexport function middleware() {\n  const res = NextResponse.next();\n  res.headers.set(\n    'Content-Signal',\n    'search=yes, ai-input=yes, ai-train=no'\n  );\n  return res;\n}\nexport const config = { matcher: '/:path*' };"
        },
        {
          "id": "cloudflare",
          "label": "Cloudflare Workers",
          "language": "javascript",
          "filename": "worker.js",
          "code": "// Cloudflare Worker that proxies your origin and adds the header\nexport default {\n  async fetch(request, env, ctx) {\n    const res = await fetch(request);\n    const newRes = new Response(res.body, res);\n    newRes.headers.set(\n      'Content-Signal',\n      'search=yes, ai-input=yes, ai-train=no'\n    );\n    return newRes;\n  },\n};"
        },
        {
          "id": "express",
          "label": "Express / Fastify",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Express\napp.use((req, res, next) => {\n  res.setHeader('Content-Signal', 'search=yes, ai-input=yes, ai-train=no');\n  next();\n});\n\n// Fastify\nfastify.addHook('onSend', (request, reply, payload, done) => {\n  reply.header('Content-Signal', 'search=yes, ai-input=yes, ai-train=no');\n  done();\n});"
        }
      ]
    },
    {
      "id": "add_markdown_negotiation",
      "title": "Support Markdown for Agents",
      "description": "Let AI agents request a clean Markdown version of any page via content negotiation, .md alternate URLs, link tags or Link headers.",
      "language": "html",
      "code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">",
      "filename": "<head>",
      "stacks": [
        {
          "id": "html",
          "label": "HTML <head>",
          "language": "html",
          "filename": "<head>",
          "code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
        },
        {
          "id": "express",
          "label": "Express",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Mechanisms 1 + 4: content negotiation + Link header\napp.get('/page', (req, res) => {\n  res.setHeader('Vary', 'Accept');\n  res.setHeader('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n  if ((req.headers.accept || '').includes('text/markdown')) {\n    res.type('text/markdown; charset=utf-8');\n    return res.send(renderMarkdown('page'));\n  }\n  res.render('page');\n});"
        },
        {
          "id": "fastify",
          "label": "Fastify",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Mechanisms 1 + 4: content negotiation + Link header\nfastify.get('/page', async (req, reply) => {\n  reply.header('Vary', 'Accept');\n  reply.header('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n  if ((req.headers.accept || '').includes('text/markdown')) {\n    return reply.type('text/markdown; charset=utf-8').send(renderMarkdown('page'));\n  }\n  return reply.view('/page.ejs');\n});"
        },
        {
          "id": "nextjs",
          "label": "Next.js",
          "language": "typescript",
          "filename": "app/page/route.ts",
          "code": "// Next.js App Router — Route Handler returning Markdown\nimport { NextRequest } from 'next/server';\nimport { renderMarkdown } from '@/lib/md';\nexport async function GET(req: NextRequest) {\n  const accept = req.headers.get('accept') || '';\n  if (accept.includes('text/markdown')) {\n    return new Response(await renderMarkdown('page'), {\n      headers: {\n        'Content-Type': 'text/markdown; charset=utf-8',\n        'Vary': 'Accept',\n      },\n    });\n  }\n  // Fall through to the page component\n  return new Response(null, { status: 404 });\n}"
        },
        {
          "id": "wordpress",
          "label": "WordPress",
          "language": "php",
          "filename": "functions.php",
          "code": "<?php\n// Mechanism 1: respond to Accept: text/markdown on the same URL\nadd_action('template_redirect', function () {\n    if (!is_singular()) return;\n    $accept = $_SERVER['HTTP_ACCEPT'] ?? '';\n    if (strpos($accept, 'text/markdown') === false) return;\n    header('Content-Type: text/markdown; charset=utf-8');\n    header('Vary: Accept');\n    $post = get_queried_object();\n    echo \"# \" . get_the_title($post) . \"\\n\\n\";\n    echo wp_strip_all_tags(apply_filters('the_content', $post->post_content));\n    exit;\n});"
        },
        {
          "id": "static",
          "label": "Hugo / Jekyll / Astro",
          "language": "txt",
          "filename": "static/page.md",
          "code": "# Mechanism 2: serve .md alongside .html\n# Hugo: place page.md in /static/ — built unchanged\n# Jekyll: drop page.md in /assets/ — copied as-is\n# Astro: src/pages/page.md.ts that exports a GET returning markdown\n\n# Then advertise with mechanism 3 in <head>:\n#   <link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
        }
      ]
    }
  ]
}

使用我们的API以编程方式获取此内容(即将推出)

此JSON供内部使用 — 与Markdown和llms.txt文件不同,它不适合上传到您的网站。将其保存为基准值以跟踪评分变化,与开发团队共享,或集成到CI/CD流水线中。

分享您的结果

Twitter LinkedIn

嵌入您的徽章

将此徽章添加到您的网站。当您的 AI 就绪评分发生变化时,它会自动更新。

AgentReady.md score for agent-browser.dev
Script 推荐
<script src="https://agentready.md/badge.js" data-id="fb2d16a3-eb1e-4e0f-b04a-81bef0b95397" data-domain="agent-browser.dev"></script>
Markdown
[![AgentReady.md score for agent-browser.dev](https://agentready.md/badge/agent-browser.dev.svg)](https://agentready.md/zh/r/fb2d16a3-eb1e-4e0f-b04a-81bef0b95397)

即将推出:全域分析

爬取您的整个域名,生成llms.txt,并随时间监控您的AI就绪度评分。加入等候名单以获取通知。

您已加入名单!服务上线时我们会通知您。