Content for Agents
A standalone WordPress VIP plugin that makes WordPress content discoverable and readable by AI agents.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/automattic/content-for-agents/archive/refs/heads/trunk.zip[!WARNING]
This plugin is currently in beta, and breaking changes could occur with any update. Do not use it in production environments.
Content for Agents
Content for Agents is a WordPress VIP plugin that publishes posts and pages as
Markdown and provides /llms.txt discovery. It requires WordPress 6.8 or newer,
PHP 8.2 or newer, and the WordPress VIP platform runtime.
The plugin is derived from PRC Markdown for Agents by Pew Research Center. See attribution and the GPL license.
Features
- Serves posts and pages through
.md,/markdown, and?markdown=trueURLs, with YAML frontmatter. - Converts Block Editor content, nested blocks, and Classic Editor HTML to readable Markdown.
- Publishes a configurable
/llms.txtindex and advertises Markdown and the index through HTML discovery links. - Provides settings for the site summary, About links, categories, featured posts, and additional resources.
- Uses WordPress VIP cache invalidation and keeps authenticated, preview, and password-authorized responses out of shared caches while enforcing access to published, private, preview, and password-protected content.
- Exposes a public block callback registry and provider-neutral filters for integrations.
Installation
Install the packaged plugin ZIP in your WordPress plugins directory, then activate Content for Agents. On WordPress VIP, follow the guidance for activating plugins through code:
wpcom_vip_load_plugin( 'content-for-agents' );
Load integration plugins after Content for Agents. Each integration owns and loads its individual dependencies; the base plugin does not require an integration framework or provider-specific packages.
If you are working from a source checkout, follow the build instructions in the contributor guide.
Use Settings → Content for Agents to edit the site summary, About links, categories, featured posts, and additional resources. The site name and tagline provide neutral defaults.