Kolibia Agent-Ready
Kolibia Agent-Ready makes WordPress content available as Markdown so tools and agents do not have to scrape HTML. Behaviour follows common content negotiation patterns (similar in spirit to Markdown for Agents on Cloudflare): clients that prefer Markdown can request it explicitly. What is included today Markdown responses for singular content — For each built-in public post type registered by WordPress core (post, page, attachment on a typical site), a single-item URL can return Content-Type: text/markdown; charset=UTF-8 instead of the themed HTML page. Markdown for the posts index — When the site front page shows latest posts (WordPress “Your homepage displays: Your latest posts”), the homepage and other blog-index URLs return Markdown listing the same posts as the main loop. Static or WooCommerce shop front page — When a page is set as the front page (including a WooCommerce shop page where WordPress reports is_singular as false), that page’s content is still served as Markdown on / when clients negotiate text/markdown. When Markdown is served The request includes an Accept header that lists text/markdown (requests with text/markdown;q=0 are ignored). Or the URL includes the query argument output_format=md (handy for browsers and manual testing). HTML to Markdown — Rendered post body is passed through WordPress’s the_content filters, then converted to Markdown using the league/html-to-markdown library. A short YAML front matter block includes title and permalink. Password-protected content — If a password is required, the response is a small Markdown message instead of the full body. Discovery in HTML — On the normal HTML view, the plugin prints so clients can find the Markdown URL. Admin shortcut — On the posts and pages list screens, a row action View as AI Agent opens the same Markdown URL (preview URLs are used for drafts where WordPress would show Preview). Developer filters kolibia_ar_markdown_post_types — Defaults to all public, built-in post types from core; override to add custom post types or remove types (e.g. attachment). kolibia_ar_post_markdown — Filter the final Markdown string. kolibia_ar_home_markdown — Filter the Markdown for the posts index / homepage loop. kolibia_ar_home_markdown_post_types — Post types included in the homepage Markdown list (default: post). kolibia_ar_markdown_password_required — Filter the Markdown shown when a password is required. Roadmap Further “agent readiness” features (broader API discovery, additional formats) may be added in future releases.
Top keywords
- markdown26×6.55%
- post10×2.52%
- page8×2.02%
- content6×1.51%
- kolibia6×1.51%
- posts6×1.51%
- types6×1.51%
- wordpress6×1.51%
- ar5×1.26%
- html5×1.26%
- kolibia ar5×1.26%
- post types5×1.26%
Mescio for Agents
Mescio for Agents makes your WordPress site AI-ready by silently serving posts, pages and WooCommerce products as clean, structured Markdown to any AI agent or LLM pipeline that requests it — using the standard HTTP Accept: text/markdown content negotiation header. Human visitors using a browser are completely unaffected. Mescio for Agents only activates when an AI agent or crawler explicitly asks for Markdown. Why Markdown? Feeding raw HTML to an AI is expensive and noisy. A heading like ## About Us costs ~3 tokens in Markdown vs 12–15 tokens as HTML — before accounting for wrappers, navigation bars and script tags that carry zero semantic value. This blog post you are reading takes 16,180 tokens in HTML and 3,150 tokens in Markdown. That is an 80% reduction. Markdown has become the lingua franca for AI systems. Mescio for Agents lets your site speak it natively, at zero cost to your human visitors. How it works When an HTTP client sends a request with Accept: text/markdown, Mescio for Agents intercepts the WordPress request lifecycle before any template is rendered, converts the post content to clean Markdown, and returns it with the correct Content-Type: text/markdown header. curl https://yoursite.com/your-post/ \ -H "Accept: text/markdown" Features Zero configuration — works out of the box on any singular post, page or custom post type /llms.txt endpoint — auto-generated index of all your content in the llmstxt.org standard format, so AI agents can discover what’s on your site /llms-full.txt endpoint — full site content in a single Markdown file, ready for RAG pipelines WooCommerce support — product pages include price, SKU, stock status, rating, attributes and gallery; products are grouped by category in llms.txt YAML front matter — every document includes structured metadata (title, description, URL, date, categories, tags, featured image) Multilingual — detects language via WPML, Polylang, TranslatePress or WordPress locale; emits Content-Language and Link: rel=alternate headers REST API endpoint — /wp-json/mescio-for-agents/v1/markdown?id= or ?url= Page builder cleanup — aggressively strips Elementor, Divi, WPBakery and Beaver Builder layout noise Token count header — X-Markdown-Tokens tells AI pipelines how large the document is before processing Content Signals — emits Content-Signal: ai-train=yes, search=yes, ai-input=yes Correct HTTP caching — Vary: Accept ensures CDNs cache HTML and Markdown versions separately Response headers Content-Type: text/markdown; charset=utf-8 Content-Language: it (or detected language) Vary: Accept X-Markdown-Tokens: 725 Content-Signal: ai-train=yes, search=yes, ai-input=yes Link: ; rel="alternate"; hreflang="en" (when translations available) Multilingual plugin support WPML — reads language and available translations automatically Polylang — reads language and links to translated post IDs TranslatePress — reads trp_language post meta Manual — configure primary language and additional languages in Settings → Mescio for Agents REST API GET /wp-json/mescio-for-agents/v1/markdown?id=42 GET /wp-json/mescio-for-agents/v1/markdown?url=https://yoursite.com/my-page/ Developer hooks Filter: mescio_enabled_post_types — add or remove post types dynamically. Filter: mescio_pre_convert_content — modify the HTML before conversion to Markdown. Filter: mescio_post_convert_content — modify the Markdown after conversion. Privacy This plugin does not collect, store or transmit any personal data. It does not set cookies. It does not make external HTTP requests.