Dualmark adds markdown twins for each marketing URL via HTTP content negotiation so AI crawlers read clean markdown while humans still get HTML.
Overview
Dualmark is open-source answer-engine optimization infrastructure for marketing websites. For each public page it serves a parallel markdown representation at the same URL path, chosen by Accept headers, known AI bot user agents, or direct .md requests, while browsers continue to receive HTML with a Link alternate header.
The core package handles negotiation, bot detection, response building, token estimation, and llms.txt generation without tying you to one framework. Adapter packages integrate Astro, Next.js App Router, SvelteKit, Nuxt, Cloudflare Workers, Vercel Edge, Netlify Edge, Fastly Compute, and Deno Deploy. A CLI command scores any site against a public AEO conformance specification.
Bundled converters turn common marketing content types such as blog posts, pricing, legal pages, docs, changelogs, and comparison pages into structured markdown for agents. Markdown twins are marked noindex to avoid duplicate SEO issues. Analytics hooks can record which bot requested which page.
Operators install npm packages into existing sites; pre-1.0 APIs may change but the project reports production use on a commercial marketing domain. The specification and verify tooling let teams enforce conformance in CI.
Key features
- HTTP content negotiation for markdown
- AI bot user-agent detection
- Framework adapters for major stacks
- Page-type markdown converters
- Auto-generated llms.txt
- dualmark verify conformance scoring
- Edge adapters for Workers and CDNs
- Public AEO specification
Use cases
- Make blogs readable to AI search crawlers
- Score marketing site AEO in CI
- Serve twins at CDN edge
- Generate llms.txt from routes
- Compare pages for competitor citations