Agent Wranglers

Ready for AI agents Recommended

Make the site easy for AI agents

Make the site easy for AI agents to read and use. Put content in the HTML, and add structured data, Markdown copies, clear crawler rules and discovery files.

How to do it

Start with the basics of server-rendered HTML, structured data, robots rules, llms.txt and Markdown copies. Then add tool endpoints such as MCP if agents can act on your site. Many of the newer formats in this chapter are drafts, so each rule names its status.

Example

# Quick check that each file answers
for p in / /index.md /llms.txt /robots.txt /sitemap.xml; do
  curl -s -o /dev/null -w "%{http_code} $p\n" "https://example.com$p"
done

How to check

Every discovery file answers 200 with the right content type. Then ask an AI assistant about the site, and it finds and quotes the right pages.

For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/ready-for-ai-agents/agent-readiness-overview.