llms.txt for AI Search: What Production Logs Show
See how llms.txt works in Next.js, what AI crawler logs can reveal, and how to measure referral traffic without confusing correlation with causation.

We Added llms.txt to Our Site. Here's What the Logs Actually Showed
AI search has created a familiar kind of urgency: a new acronym, a new checklist, and the constant refrain that "every site needs to adapt - right now." It's fair to be skeptical. Some of the advice is just SEO with a different label. Some of it sounds technically reasonable, but it's light on real-world evidence.
The llms.txt proposal is worth testing for a practical reason. It gives AI crawlers a compact, readable guide to what a site is for - what content matters, and what machine-facing tools or interfaces exist - without forcing them to parse every script and layout detail in a big HTML page. Still, putting a file online doesn't guarantee a model will crawl it, cite it, or send real visitors your way.
A production case study is a more useful way to judge the idea. After adding llms.txt and llms-full.txt to a Next.js site, the team reviewed OpenResty access logs, bot activity, and human visits that carried a ChatGPT referrer. This article lays out the architecture, what those observations can (and can't) show, and how to set up a measurement system that's safer and less guessy than "trust the logs."
What Does llms.txt Do for AI Search?
llms.txt is a proposal for a plain-text file (often Markdown-style) placed at the root of a website. The idea is simple: a concise orientation document that explains what the site does, what sections matter most, and where automated systems can find relevant content or interfaces.
The problem it tries to solve is real, even if the payoff isn't guaranteed. A lot of modern pages wrap the "real" information you came for in navigation, scripts, cookie banners, and layout markup. A compact index can make it easier for a crawler or agent to find key sections without interpreting the full page structure first.
A guide, not a search ranking switch
You'll often hear llms.txt described as a way to help language models understand a site. That's a reasonable goal. But it shouldn't be treated like a promise from every AI search provider. There's no solid basis for saying that adding the file automatically improves rankings, citations, or referral volume.
It also isn't a replacement for core site infrastructure. Search engines and AI crawlers can still use normal tools - HTML pages, sitemaps, structured data, and their own discovery mechanisms. llms.txt is an extra, curated layer. It complements accessible content and sensible structure; it doesn't substitute for them.
A useful division of responsibility looks like this:
llms.txt: a short map of the site's purpose, major categories, and high-value destinations.llms-full.txt: an optional, more complete text representation for systems that want more context.- HTML pages and APIs: the authoritative content and functionality that people (and agents) ultimately need.
The case study site, Said It Here, organizes community-verified workarounds and recurring problems. Its index points crawlers toward topic areas, problem directories, methodology information, and developer interfaces. That's a better use of the file than trying to list every single page - an agent gets a map, not a second copy of the whole site.
Why a focused index helps operators, too
There's a less glamorous benefit: writing the file forces decisions. A team has to figure out what's truly core, what needs careful wording, and which interfaces are actually safe to expose to automated discovery. Even if no crawler ever requests the file, that review can still improve documentation.
The downside is maintenance. If the categories go stale, counts get inflated, or destinations break, you end up training agents to waste time in the wrong places. Treat it like published product documentation, not a one-time "SEO improvement."
How Do You Implement an AI-Readable Index in Next.js?
In the Next.js App Router, you can expose a route handler that returns plain text at /llms.txt. If your taxonomy and metadata don't change constantly, a statically generated (and periodically revalidated) response is usually easier than doing a request-time database query.
In the case study, they used force-static with a 24-hour revalidation interval. The companion llms-full.txt applied explicit cache headers for CDN caching. The exact settings depend on your deployment, but the main design goal stays the same: avoid expensive, dynamic work on every crawler request.
Keep the route simple and the content deliberate
A minimal route can look like this:
export const dynamic = 'force-static'
export const revalidate = 86400
export async function GET() {
const content = `# Example Product
> A concise description of what the product does.
## Main areas
- [Topic directory](/topics)
- [Methodology](/methodology)
## Developer access
- API documentation: /developers
- Full text index: /llms-full.txt
`
return new Response(content, {
headers: {
'Content-Type': 'text/plain; charset=utf-8',
},
})
}
This isn't a universal "spec" - it's a starting point. Make sure your deployed Next.js version and hosting setup actually do the caching you think they do. If a CDN sits in front, set and check its cache behavior rather than assuming everything lines up automatically.
For content, use text/plain; charset=utf-8. Don't make the endpoint depend on a big client-side bundle or an expensive query. If you're generating the manifest from database data, generate it on a schedule or use caching with a clear invalidation plan.
Decide what deserves a place
A useful index usually includes:
- A clear, verifiable description of the organization or product.
- A small set of major categories or content hubs.
- A methodology or provenance page so readers (and systems) can understand how information is produced.
- Relevant APIs or agent interfaces, clearly labeled and documented.
- A link to a fuller index, if that full document has a real reason to exist.
In this case study, the short index stayed under 400 lines. That editorial limit is about usefulness at a glance, not a guarantee about crawler behavior.
Be careful with numbers like item counts, coverage, or verification rates. Those change. If you publish them in a file designed for machine consumption, decide how they'll be refreshed and who owns their accuracy. A static snapshot that says "100,000 verified records" after the count has moved is still a documentation problem.
What Can Server Logs Prove About AI Search Traffic?
In the case study, the team reviewed 59,583 recent production requests. They reported that 46,001 - 77.2% of the raw hits in their 48-hour window - came from AI and search indexing agents. Their logs included requests associated with OpenAI SearchBot, Perplexity, Exa, Bing, and other crawlers.
They also reported 11,218 human pageviews from 8,229 unique visitors after excluding bots and static assets. In those human visits, they found traffic with utm_source=chatgpt.com, including a request to a power-tools topic page whose referrer was chatgpt.com.
Those observations are helpful. They show recognizable bot activity and at least some recorded human visits that arrived with a ChatGPT-related referrer. But they don't, by themselves, prove that publishing llms.txt caused the crawl or drove the referral.
Separate crawler activity from user acquisition
A crawler request isn't the same thing as a human visit. High bot volume can mean lots of things - discovery, revisits, scanning - but it doesn't prove the content was selected for an answer or that anyone found it useful.
A referral parameter is stronger evidence of a click than a bot request, but it still doesn't complete a causal story. The site might already have been discoverable elsewhere, and the llms.txt deployment might have happened alongside other factors (like a Google Search Console submission or social mentions). Without a controlled comparison, those influences can't be untangled cleanly.
So treat these observations as a production signal, not a controlled experiment. A better measurement setup records things like:
- Requests to the manifest itself (status code, response size, and cache status).
- Verified crawler traffic, separated from other automated requests.
- Human landing sessions with known AI-search referrers or campaign parameters.
- What happened next (pages visited, actions completed, and return visits).
- How results change over time, compared to a pre-deployment baseline and other acquisition channels.
Verify bots before trusting the numbers
User-agent strings aren't proof of identity. Anyone can claim to be a search crawler. For important reporting or security decisions, use the provider's verification process where possible, and consider reverse DNS or other network validation. Keep the approach consistent so bot counts stay comparable across periods.
Also inspect what the crawler actually requests. In the reported logs, OAI-SearchBot requested /llms.txt and then followed up with requests for pages like /methodology, topic hubs, and individual problem dossiers. That's more informative than a single manifest hit - it suggests the crawler followed some destinations listed in the file. Even so, it still doesn't prove the content showed up in a ChatGPT answer.
One easy reporting mistake is counting every automated request as success. A crawler can fetch thousands of pages and still not translate into any qualified visitors. What matters for a business is whether the discovery leads to access of useful content or product functionality - and whether the cost and risk of handling that traffic are acceptable.
How Should Teams Make llms.txt Operationally Safe?
A public manifest can make content easier to discover. It can also make large parts of a site easier to crawl quickly. The goal isn't to hide everything from bots. It's to make sure a burst of read traffic doesn't hurt customers or interfere with writes.
Protect the database before increasing discovery
The case study describes isolating database connection pools: a larger pool for reads and a much smaller, fast-failing pool for writes. Exact pool sizing depends on workload and deployment details, so copying someone else's numbers without understanding capacity and query patterns is a quick way to get surprises.
The underlying principle is straightforward. Crawlers tend to create bursty, read-heavy traffic. User actions like submissions, votes, or transactions have different reliability requirements. If both workloads share the same limited connections, a crawl can delay customer-facing requests or block writes.
Before publishing a large index, check:
- Whether topic and detail pages are effectively cached.
- How many database queries a cold page triggers.
- What happens when a crawler requests many URLs in parallel.
- Whether connection limits protect both the database and the app.
- Whether rate limits, timeouts, and monitoring are in place.
Caching the manifest is only the first step. It avoids repeated generation of the same llms.txt response, but it doesn't cache every page a crawler might discover and then request next. Capacity planning needs to account for those follow-up requests, too.
Make methodology and agent interfaces explicit
The team noticed a crawler request to its methodology page early in the sequence. That's a reminder to make provenance and limitations easy to find. It's also not evidence that the methodology page directly increases citation frequency. Publish it because readers and systems need to assess how claims are produced - don't publish it expecting an automatic citation bump.
The same applies to APIs and Model Context Protocol endpoints. If a product has a live API or a remote MCP server, listing it may help compatible tools find it. But llms.txt isn't an authentication mechanism, and it shouldn't imply that an interface is safe for unrestricted access. Document permissions, rate limits, data handling, and failure behavior separately.
The case study team also recommended canonical citation instructions in the full index. Clear attribution guidance can be useful for data products where provenance matters. But models and search systems decide how to present citations. Instructions are a request, not an enforceable contract. Keep canonical metadata accurate and make attribution details visible on the underlying content as well.
Run a small, measurable deployment
For most teams, a cautious rollout is the sensible approach:
- Publish a short index with a limited set of important destinations.
- Confirm response content, content type, cache headers, and status codes in production.
- Record a baseline for crawler requests and human referrals before launch.
- Review bot identity and request patterns rather than trusting user-agent labels alone.
- Watch application, CDN, and database metrics during crawler bursts.
- Expand the index only when destinations are genuinely useful and the system can handle the load reliably.
This helps avoid confusing "we deployed something" with "we created business impact." If the file gets no requests, the cost is minimal. If it attracts crawlers, you can evaluate what they access and whether the resulting human traffic is worth supporting.
Key Takeaways
llms.txtis a concise site guide, not a guaranteed ranking or citation mechanism.- Keep the manifest curated and accurate; use a full index only when it serves a real need.
- In Next.js, static generation and deliberate caching can make the endpoint cheap to serve.
- Separate bot activity from human referrals, and verify crawler identity where possible.
- Treat referral data as a sign of activity, not proof that
llms.txtcaused it. - Protect page rendering, database capacity, and write operations before encouraging larger-scale crawling.
- Publish methodology and API details for transparency and usability - not as a promised path to more citations.
Conclusion
llms.txt can be a low-cost experiment if you treat it like documentation and serve it efficiently. In the production case described here, the team saw AI crawler activity, follow-up requests to linked pages, and human visits carrying a ChatGPT referrer. Those are meaningful signals - but they don't prove the manifest alone caused indexing or traffic.
Build a focused index, cache it, protect the systems behind the pages it exposes, and measure crawler behavior separately from business outcomes. The real question isn't whether the file exists at the root of your domain. It's whether it helps the right systems find accurate information without creating more operational risk than value.