Introduction

What is Answer Engine Optimization?
Section titled “What is Answer Engine Optimization?”Answer Engine Optimization (AEO) is the practice of making your website discoverable and citable by AI-powered answer engines like ChatGPT, Claude, Perplexity, and SearchGPT.
Unlike traditional SEO which focuses on search engine result pages (SERPs), AEO ensures your content is understood and referenced by Large Language Models (LLMs) when they generate answers.
Why aeo.js?
Section titled “Why aeo.js?”AI crawlers and LLMs look for specific files and formats that most websites don’t provide:
llms.txt— A concise summary of your site written for LLMsllms-full.txt— Full content concatenated for deep ingestionai-index.json— Structured content optimized for RAG pipelinesdocs.json— Documentation manifest for content discovery- Raw Markdown — Per-page
.mdfiles for clean content extraction
aeo.js generates all of these automatically from your existing pages — no manual work required.
How it works
Section titled “How it works”- Install the package and add the plugin for your framework
- Build your site as usual
- aeo.js scans your output, extracts content, and generates all AEO files
- The optional widget lets visitors toggle between human and AI views of your pages
Supported Frameworks
Section titled “Supported Frameworks”| Framework | Import |
|---|---|
| Astro | aeo.js/astro |
| Next.js | aeo.js/next |
| Vite (React, Vue, Svelte) | aeo.js/vite |
| Nuxt | aeo.js/nuxt |
| Angular | aeo.js/angular |
| Webpack | aeo.js/webpack |
| Any (CLI) | npx aeo.js generate |