---
title: "Making your site visible to LLMs and AI agents: 6 techniques that work, 8 that don't"
description: "Six techniques for making a site readable to LLMs and AI agents, re-ranked using six months of server logs from evilmartians.com."
url: "https://swe.quest/articles/making-your-site-visible-to-llms-and-ai-agents-6-techniques-that-work-8-that-55d558eff604d7d1"
canonical: "https://evilmartians.com/chronicles/how-to-make-your-website-visible-to-llms"
source: "Evil Martians"
published: "2026-11-04"
difficulty: "medium"
kind: "How-to"
reading_minutes: 34
tags: ["llms","ai-agents","frontend","web-performance"]
---

# Making your site visible to LLMs and AI agents: 6 techniques that work, 8 that don't

A post on [Evil Martians](https://swe.quest/sources/evil-martians.md), published 2026-11-04, 34 min read, How-to. Original: [https://evilmartians.com/chronicles/how-to-make-your-website-visible-to-llms](https://evilmartians.com/chronicles/how-to-make-your-website-visible-to-llms)

## Summary

Six techniques for making a site readable to LLMs and AI agents, re-ranked using six months of server logs from evilmartians.com. The logs reveal two kinds of AI reader. Coding agents like Claude Code request Markdown via \`Accept: text/markdown\`, which drew more than half of agent reads. Chat assistants like ChatGPT-User fetch plain HTML and asked for Markdown on under 1% of requests. The recommended order is a robots.txt audit with a Content-Signal line, clean server-rendered semantic HTML, \`.md\` routes (roughly 80% fewer tokens than HTML), \`\<link\>\`/Link headers, and content negotiation, with llms.txt last because almost no AI tool reads it; hidden hint divs drew zero follows.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Web performance](https://swe.quest/tags/web-performance.md) (Web & mobile)

## Prerequisites

- HTTP headers and content negotiation
- robots.txt
- semantic HTML

## Keywords

llms.txt, robots.txt, Content-Signal, Claude Code, ChatGPT-User, Markdown, HtmlRAG, Cloudflare

## Related posts

- [Agents grew up, so did our docs](https://swe.quest/articles/agents-grew-up-so-did-our-docs-8f2f020fba109d69.md): Neon · 2026-04-23 · Medium · 8 min read · Documentation, AI agents, LLMs
  Neon made its docs agent-readable through a build-time MDX-to-Markdown converter (~1,400 files, ~30 custom React components flattened), \`.md\` URL rewrites, and middleware that serves Markdown based on User-Agent and \`Accept: text/markdown\`.
- [How AI Assistants Can Decode GitHub Repos for UI Writers](https://swe.quest/articles/how-ai-assistants-can-decode-github-repos-for-ui-writers-bed232efc1e6b9e6.md): Docker · 2024-12-16 · Medium · 9 min read · AI agents, LLMs, Code review, Frontend
  An LLM agent can reliably flag user-facing copy changes in a branch when it is given narrow tools and expert hints about what "user-facing" means.
- [What do LLMs think when you don't tell them what to think about?](https://swe.quest/articles/what-do-llms-think-when-you-don-t-tell-them-what-to-think-about-2f8c210397b4468a.md): Together AI · 2026-02-06 · Easy · 6 min read · LLMs, Evaluation, AI safety, Privacy
  Prompting LLMs with minimal, topic-neutral seeds ("Actually," "Let's think step by step," or just ".") and no chat template reveals stable, family-specific topical priors.
- [Using an AI Assistant to Read Tool Documentation](https://swe.quest/articles/using-an-ai-assistant-to-read-tool-documentation-3a8f1d86f339e727.md): Docker · 2024-09-23 · Medium · 7 min read · AI agents, LLMs, Containers, Developer tools, RAG & retrieval
  LLM agents can learn unfamiliar command-line tools by reading their documentation and reacting to Unix error signals.
- [From OpenAI to Open LLMs with Messages API on Hugging Face](https://swe.quest/articles/from-openai-to-open-llms-with-messages-api-on-hugging-face-98058f09a7d2acc1.md): Hugging Face · 2024-02-08 · Medium · 7 min read · Inference & serving, LLMs, API design, RAG & retrieval
  Text Generation Inference 1.4.0 adds a Messages API compatible with OpenAI's Chat Completion API, so open LLMs on Inference Endpoints can be called from existing OpenAI client code by changing the base URL and token.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
