Stop AI from hallucinating about your domain, new Next.js package for AI Domain Data Standard #86393
Replies: 1 comment 1 reply
-
My feedbackThis looks extremely promising — especially as AI systems increasingly rely on heuristics, scraping, and partial data to infer site identity. Having an authoritative, self-hosted “source of truth” at Here are a few thoughts after reviewing the spec and the Next.js package: 1. The Problem is Real, and the Timing Makes SenseAI assistants do routinely hallucinate or guess domain details, especially for newer or smaller sites. There’s currently no standardized, machine-readable way to declare canonical domain identity data. This fills an obvious gap. 2. The Install/Integration Flow in Next.js Is ExcellentThe zero-config approach with 3. Mirrors Existing Web Standards (a Good Thing)The mental model is immediately familiar:
That makes adoption easier. 4. Great That It’s Open & Vendor-NeutralThe fact that it’s MIT-licensed, self-hosted, and not tied to any SaaS service gives it credibility. No vendor lock-in is the right move for something that aims to be a standard. 5. A Few Early Questions / Suggestions
6. OverallThe idea solves a real problem, the implementation looks thoughtful, and the DX for Next.js is surprisingly clean. I think a standard like this will become increasingly important as AI systems become a major channel through which users discover and interact with domains. Would love to keep an eye on the evolution of the spec — especially as more frameworks and CMS plugins are added. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The Problem: AI assistants frequently get domain details wrong. They scrape outdated pages, infer from partial data, and hallucinate information about your site. There's been no standard way for domains to publish authoritative identity data that AI systems can read directly.
The Solution: The AI Domain Data Standard — an open, vendor-neutral format (similar in spirit to
security.txt) that lets you publish a canonical JSON profile at/.well-known/domain-profile.json. AI systems can read this directly from your domain, eliminating guesswork and misinformation.For Next.js Developers: We just released
@ai-domain-data/nextjs— a zero-config package that adds AI Domain Data support to your Next.js site in minutes.Quick Setup
App Router:
Pages Router:
Add environment variables to
.env.local:That's it. Your site now serves
/.well-known/domain-profile.jsonwith full TypeScript support and built-in schema validation.Why This Matters
Learn More
The standard is still new (v0.1.1), but we're seeing early adoption from Jekyll sites. A WordPress plugin has been submitted, pending approval, and now Next.js is out, complete and ready to roll.
Would love to hear your thoughts and feedback, about the standard itself & the Next.js package!
Note: This is an open standard, not a commercial product. All tooling is MIT-licensed and free to use.
Beta Was this translation helpful? Give feedback.
All reactions