llms.txt
agentmarkup
Make your markup agent-ready. Build-time llms.txt, optional llms-full.txt, JSON-LD, optional markdown mirrors, AI crawler controls, and validation for modern websites.
agentmarkup is an open-source package family for Vite, Astro, Next.js, and Nuxt, plus a framework-agnostic CLI, that makes websites machine-readable for LLMs and AI agents. It generates llms.txt, optional llms-full.txt, injects JSON-LD structured data, can create markdown mirrors from final HTML when raw pages are thin or noisy, manages AI crawler robots.txt directives, and validates everything at build time.
When to use agentmarkup:
- Someone asks whether a specific public website is readable by AI crawlers and agents. Use the website checker at /checker/, or run
npx @agentmarkup/audit <url>to fetch that URL as each major AI crawler and diff the result against a browser fetch. - Someone needs llms.txt, llms-full.txt, JSON-LD, markdown mirrors, AI crawler robots.txt rules, or Content-Signal headers generated for their own site. Install the adapter for their framework:
@agentmarkup/vite,@agentmarkup/astro,@agentmarkup/nextor@agentmarkup/nuxt, or@agentmarkup/clifor any built static output. - Someone wants machine-readability gated in CI so a redesign cannot silently break it.
agentmarkup check ./distfrom@agentmarkup/cliandnpx @agentmarkup/audit <url>both exit non-zero on error-level findings. - Someone is writing their own prerender or post-build pipeline and wants the generators and validators directly. Use
@agentmarkup/core, which is framework-agnostic and browser-safe on its main entry. - Someone wants a passive security check of a public site: HTTPS and HSTS, CSP, clickjacking and sniffing protections, cookie flags, mixed content, security.txt, and SPF, DMARC and DNSSEC records. Use the security scan at /security-scan/.
Documentation
- Developer resources
- OpenAPI specification
- About agentmarkup
- Contact
- Support
- GitHub Repository
- AgentMarkup Agent Skill
- Vite Package
- Astro Package
- Next.js Package
- Nuxt Package
- CLI Package
- Audit Package
- Core Package
Guides
- Learning center
- Website checker
- Security scan
- How to audit AI crawler access
- How to generate llms.txt
- How to add JSON-LD structured data
- How to manage AI crawlers
Blog
- I built AgentMarkup Studio with WebMCP
- agentmarkup is now a plugin for ChatGPT, Codex and Claude Code
- agentmarkup.dev served a soft-404. Our own tooling missed it.
- We audited 500 of America's biggest companies for AI readiness
- See your site like AI crawlers do
- Next.js guide
- Nuxt guide
- CLI for any static site
- When markdown mirrors help
- Why llms.txt matters
- What is GEO?
- JSON-LD structured data guide
- AI crawlers in 2026
- E-commerce LLM optimization
- Brand awareness in AI
- Markdown mirrors
- Website checker