The open standard for AI Engine Optimization — a Markdown-first, version-controlled spec file that tells coding agents and AI search engines exactly how to build, structure, and cite your brand.
Like CLAUDE.md, AGENTS.md, and DESIGN.md, but for search and AI citations. Useful offline on day one — vendor-agnostic by design.
QUICK START
# Scaffold SEO.md (auto-detects routes + wires AGENTS.md) npx seomd-cli init # Validate & audit locally (zero API key required) npx seomd-cli validate --strict npx seomd-cli check ./out npx seomd-cli generate robots --out public/robots.txt npx seomd-cli generate llms --out public/llms.txt npx seomd-cli doctor # Optional: run live AI citation analysis via any provider npx seomd-cli analyze
init inspects your repository (Next.js, Astro, SvelteKit, Remix, Vite) to discover live routes, scaffolds a v2 SEO.md (YAML frontmatter + Markdown rules), and wires a pointer into AGENTS.md / CLAUDE.md so coding agents pick it up automatically.
SUPPORTED SITE TYPES
HOW IT WORKS
Define your canonical product facts, buyer prompts, routes, and AEO rules in SEO.md (YAML frontmatter + Markdown). Automatically wired into AGENTS.md and CLAUDE.md on init.
Coding agents read SEO.md before shipping pages. Run seomd check, seomd generate (robots.txt, llms.txt, JSON-LD), and seomd doctor locally with zero API keys.
Optionally connect Foxcite or any provider implementing the Provider Protocol to write live citation metrics and playbooks into .seo/.
THE FORMAT
SEO.md (v2.0.0) pairs a compact YAML frontmatter manifest with real Markdown prose for coding agents. Provider-generated metrics and playbooks live cleanly inside .seo/ — never polluting your hand-authored file.
---
spec: "2.0.0"
site:
brand: "Acme"
domain: "acme.com"
canonical: "https://acme.com"
type: "saas"
keywords:
primary: "billing automation"
negative: ["free download"]
pages:
- id: homepage
url: /
status: live
priority: 1
crawl:
robots: /robots.txt
llms_txt: /llms.txt
allow_ai_bots: true
provider:
name: null # foxcite | custom | semrush | ahrefs | profound | peec
---
# SEO.md — Acme
## Canonical Product Facts
- **One-liner:** Usage-based billing for B2B SaaS.
## Page & AEO Rules (For Coding Agents)
- Open every key page with a 40-60 word direct answer.
- Emit Organization + FAQPage JSON-LD.THE VALUE
Stop coding agents from inventing vague H1s, hallucinating claims, or forgetting JSON-LD. SEO.md gives every agent the exact facts and page rules.
Audit HTML, metadata, JSON-LD, llms.txt, and AI bot access locally in CI or during agent sessions — no paid account required to get value.
Keep your strategy vendor-neutral in git. Plug in Foxcite natively or connect any SEO/AEO provider implementing the open HTTP contract.
THE ECOSYSTEM
CLAUDE.md
Anthropic AI instructions
AGENTS.md
Autonomous agent contracts
DESIGN.md
UI design system spec
SEO.md
AI search & citation spec
YOU ARE HERECONTRIBUTORS
SEO.md is an open standard. Contributions to the spec, CLI, provider adapters, and ecosystem tooling are welcome via GitHub.
FROM THE BLOG
The open standard for AI Engine Optimization — what it is, why it matters, and how to get started.
READ MORE →Traditional SEO optimizes for rankings. AEO optimizes for AI citations. Here's the difference.
READ MORE →