agentmarkup - Vite plugin for machine-readable websites
Generate llms.txt, inject schema.org JSON-LD structured data, manage AI crawler robots.txt rules, and validate everything at build time. Zero runtime cost.
Install: pnpm add -D @agentmarkup/vite
Features
- llms.txt generation - Auto-generate an llms.txt file following the llmstxt.org spec.
- JSON-LD structured data injection - Inject schema.org JSON-LD into every page with XSS-safe serialization. 6 built-in presets.
- AI crawler robots.txt management - Allow or block GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot.
- Build-time validation - Catch missing fields, incomplete schemas, and crawler conflicts before you deploy.
Schema.org presets
webSite, organization, article, faqPage, product, offer
GitHub | npm