AgentWelcome – llms.txt & Markdown for AI Agents
Serves an llms.txt index and a clean Markdown version of every page, so AI agents can read your content.
Install in
AgentWelcome builds a Markdown version of each page from its rendered output, so ACF fields, Gutenberg blocks, Elementor layouts and classic editor content are all included, whatever theme you use.
/llms.txt, a Markdown index of your pages. Write your own text instead, or put it above the generated list.- Optional
/llms-full.txt, the Markdown of every page in one file. - Optional comment lines in
robots.txtthat point to these files. - A
.mdversion of every page, for example/about.md. The homepage is/index.md. - All public post types are served by default, with a setting to exclude any of them.
- Hide individual pages from the editor, or exclude by ID, URL pattern or taxonomy term.
- Per-page description for
llms.txt. When empty it uses the SEO plugin’s meta description, then the excerpt. The page content is never used. - Verify & Preview: checks that the stored Markdown matches the page, shows a rendered preview and the changes, and updates it in one click. A scan checks every stored page in the background.
- Works on sites protected with HTTP Basic authentication.
- Generated Markdown is stored and refreshed when a page is saved.
- Runs on production by default. Staging, development and local sites are opt-in.
- Drafts, private and password-protected content are never exposed.
Pretty permalinks are required. Plain permalinks such as ?p=123 are not supported: no Markdown pages or llms.txt are served, and the settings page shows a notice.
How it works
When an agent requests /about.md, AgentWelcome reads the public page /about/ the same way a visitor would, keeps the main content, removes navigation, scripts and forms, and converts the result to Markdown with a short metadata header. Each Markdown response carries a canonical link to the HTML page and a noindex header, so search engines do not treat it as duplicate content.
Stored Markdown
The generated Markdown is stored in its own database table and refreshed in the background when you save a page. You can regenerate or clear it from the settings page, the edit screen, the post lists and WP-CLI.
Source code
The source code, the tests and the issue tracker are on GitHub: https://github.com/samiahmedsiddiqui/agentwelcome
Written by Joobi from the project's own listing. See the source page
1.1.0
- New: the pages of the blog page and other list pages, such as
/blog/page/2/, are available as Markdown at/blog/page/2.md, each stored and refreshed on its own. - New: pages that visitors cannot read, because a membership or access-control plugin answers with HTTP 401 or 403 or redirects to a login page, are left out of llms.txt, llms-full.txt and the Markdown pages. A setting and the
agentwelcome_is_restrictedfilter include them. - Change: noindex is read from the page’s robots meta tag and X-Robots-Tag header instead of from SEO plugin settings, so a whole post type or a theme setting is respected. llms.txt lists only pages that have been generated, and every page is generated in the background after an update.
- Change: the title in the Markdown, llms.txt and llms-full.txt is now the page’s own title without the site name. A setting switches back to the WordPress post title.
- New: an optional setting returns the Markdown from the normal page address when a client sends
Accept: text/markdown. - New: the actions
agentwelcome_markdown_updatedandagentwelcome_cache_cleared, so a host or CDN cache can be purged when the Markdown changes. - New: Verify & Preview warns when robots.txt blocks AI crawlers such as GPTBot or ClaudeBot from llms.txt and the Markdown pages.
- New: more answers in the FAQ.
- New: WooCommerce cart, checkout, My account and terms pages are left out of llms.txt and the Markdown pages.
- Change: the description in llms.txt and the Markdown uses the page’s meta description, then the excerpt, instead of reading the SEO plugins’ saved descriptions.
- Fix: a
.mdaddress that is not served now gets a plain text 404 from the plugin, so another plugin or a host rule can no longer redirect it to the homepage. - Fix: links that the page builds from its own address, such as pagination links, no longer carry the
agentwelcome_renderargument into the Markdown. - Fix: on later pages of a list the site name is removed from a title such as “Blog – Site – Page 2”, and the page number is kept.
- Fix: links that touch in the HTML, such as pagination numbers, now have a space between them in the Markdown.
1.0.0
- Initial release.
1.0.0
- Initial release.
Follow this listing's changes (Atom feed)