Like most software engineers, I greeted the buzz around GEO (Generative Engine Optimization) with healthy skepticism.

Every few weeks, tech Twitter invents a new acronym to repackage basic SEO. But when Jeremy Howard introduced the /llms.txt proposal — proposing a standardized, human-and-machine-readable Markdown file to help LLMs understand website content without getting lost in bloated HTML/DOM trees — it struck an intuitive chord.

LLMs don't want 4MB of client-side React bundles, tracking scripts, and nested <div>s just to find a single paragraph. They want clean, token-efficient Markdown with unambiguous semantic hierarchy.

We run Said It Here — an automated consensus discovery engine indexing over 100,000 community-verified workarounds across 7,700+ recurring problems from Reddit, Hacker News, and StackExchange. If any platform was built for LLM search agents, this was it.

Two weeks ago, we implemented /llms.txt and /llms-full.txt on Next.js 14 App Router.

We then opened our production OpenResty access logs to see what happened.

Here is the exact architecture, the production code, the server log forensics, and the real human referrals that followed.

1. What is /llms.txt and Why Does It Matter?

Traditional search bots like Googlebot parse HTML and execute JavaScript using massive headless Chrome clusters.

LLMs (and LLM-powered search engines like ChatGPT Search, Perplexity, and Claude) operate under completely different constraints:

  1. Context Window Limits: Every token consumed by navigation headers, ads, cookies banners, and footer boilerplate steals context from the actual reasoning prompt.
  2. Token Economics: Parsing HTML entities is computationally expensive and introduces serialization hallucination risks.
  3. Semantic Ambiguity: Standard sitemaps (sitemap.xml) give URLs, but tell an AI model nothing about which endpoints are core entities vs. peripheral tags.

The /llms.txt specification solves this with a lightweight contract:

  • /llms.txt: A concise (typically < 300 lines) curated index outlining the site’s primary purpose, top categorical domains, flagship tools, and agent API interfaces.
  • /llms-full.txt: An optional, comprehensive plain-text dump for models with 128k+ context windows that want deeper architectural manifests.

2. Implementing /llms.txt in Next.js 14 App Router

We didn't want a static text file that required manual updates every time our database expanded. In Next.js App Router, creating a dynamic, edge-cached route handler takes just a few lines of TypeScript.

Here is the production implementation of our app/llms.txt/route.ts:

import { identity } from "@/brand"; export const dynamic = "force-static"; export const revalidate = 86400; // Cache for 24 hours export async function GET() { const content = `# ${identity.name} > ${identity.name} (${identity.siteUrl}) is an automated consensus discovery and intelligence engine. It extracts, cluster-analyzes, and synthesizes recurring real-world dilemmas, troubleshooting issues, and battle-tested community workarounds from online forums (Reddit, Hacker News, Stack Exchange). Over 6,000 published consensus problems, 94,000+ community-verified workarounds, and 300,000+ analyzed discussions. ## Core Categories & Life Domains - [Home & DIY](${identity.siteUrl}/topics#home-and-diy): Plumbing, HVAC, electrical, renovations, appliances, yard care, and property maintenance (13,000+ problem listings). - [Career & Business](${identity.siteUrl}/topics#career-and-business): Workplace communication, job searching, management dilemmas, freelancing, and small business (7,000+ problem listings). - [Auto & Vehicles](${identity.siteUrl}/topics#auto-and-vehicles): Mechanical troubleshooting, vehicle maintenance, diagnostics, and car ownership (5,000+ problem listings). - [Pets & Animals](${identity.siteUrl}/topics#pets-and-animals): Animal behavior, puppy training, cat care, feeding, health, and veterinary decisions (3,500+ problem listings). - [Parenting & Family](${identity.siteUrl}/topics#parenting-and-family): Raising children, school challenges, classroom management, and family dynamics (3,000+ problem listings). - [Money & Finance](${identity.siteUrl}/topics#money-and-finance): Budgeting, personal saving, taxes, bookkeeping, loans, investing, and financial decisions (3,000+ problem listings). - [Health & Lifestyle](${identity.siteUrl}/topics#health-and-lifestyle): Everyday wellness, mental health, relationships, travel planning, and personal balance (2,200+ problem listings). - [Tech & Digital](${identity.siteUrl}/topics#tech-and-software): Software friction, developer workflows, sysadmin tasks, and digital productivity (1,900+ problem listings). ## Featured Software & Developer Tool Hubs - [Docker Gotchas](${identity.siteUrl}/tools/docker): Container runtime issues, memory limits, Docker Desktop gotchas. - [Git Gotchas](${identity.siteUrl}/tools/git): Merge conflicts, detached heads, repository recovery. - [React Gotchas](${identity.siteUrl}/tools/react): State synchronization, infinite re-renders, hook edge cases. - [PostgreSQL Gotchas](${identity.siteUrl}/tools/postgres): Connection pooling, query optimization, migration pitfalls. - [Stripe Gotchas](${identity.siteUrl}/tools/stripe): Webhook failures, payment dispute handling, auth flows. - [AWS Gotchas](${identity.siteUrl}/tools/aws): IAM permission tangles, billing surprises, VPC routing. - [ChatGPT & AI Gotchas](${identity.siteUrl}/tools/chatgpt): Prompt drift, rate limits, API token exhaustion. - [All 40 Tools](${identity.siteUrl}/tools): Full software and SaaS entity directory. ## Real-Time Radar & Directories - [Trending Dilemmas Radar](${identity.siteUrl}/trending): Fastest-escalating real-world problems ranked over 7 days, 30 days, and all time. - [All Recurring Problems Directory](${identity.siteUrl}/problems): Paginated index of all 6,000+ consensus problems sorted by mentions, workarounds, or recency. - [Topics Hub](${identity.siteUrl}/topics): Interactive category hub with instant search across 3,000+ topics. ## AI Agents & Developer Integration - [Remote MCP SSE Endpoint](${identity.siteUrl}/api/mcp): Zero-install Model Context Protocol Server compatible with Cursor, Claude Desktop, Windsurf, and Cline. - [Open JSON API v1](${identity.siteUrl}/developers): Public REST API offering search (\`GET /api/v1/problems/search?q={query}\`) and details (\`GET /api/v1/problems/{slug}\`). - [Full LLM Index](${identity.siteUrl}/llms-full.txt): Comprehensive plain-text dump for extensive AI context loading. - [XML Sitemap](${identity.siteUrl}/sitemap.xml): Full XML sitemap of all published URLs. `; return new Response(content, { headers: { "Content-Type": "text/plain; charset=utf-8", }, }); } 

(Note: revalidate = 86400 + force-static handles Next.js route caching for /llms.txt, and our companion /llms-full.txt handler explicitly attaches Cache-Control: public, max-age=86400, stale-while-revalidate=604800 for CDN edge caching.)

Critical Details You Cannot Skip:

  1. Content-Type: text/plain; charset=utf-8: Do not serve this as text/markdown or text/html. Most headless agents handle text/plain natively without triggering sanitization pipelines.
  2. Cache-Control: Edge caching (max-age=86400) prevents LLM crawlers from hitting your server thousands of times a day for identical manifest data.
  3. Explicit Agent Interfaces: We explicitly link our Remote MCP Server (/api/mcp) and Open REST API (/developers). If the visiting agent supports tool calling, it doesn't just read the file — it registers the live tool!

3. Server Log Forensics: What Actually Showed Up?

Within 48 hours of deploying /llms.txt and submitting it via Google Search Console and social mentions, we started monitoring our OpenResty access logs (/opt/1panel/www/sites/saidithere.com/log/access.log).

Here is what we discovered after analyzing 59,583 recent production requests:

1. OAI-SearchBot vs GPTBot (The Distinction Matters)

Many developers block GPTBot in robots.txt because they don't want their code trained on for free. But OAI-SearchBot is completely different: it's OpenAI's real-time search engine crawler that retrieves links to display inside ChatGPT Search answers.

Here is the exact entry captured in our server logs:

185.25.35.65 - - [25/Nov/2026:07:14:22 +0000] "GET /llms.txt HTTP/2.0" 200 2489 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 (compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot)" 

Notice the pattern:

  • It runs a modern Headless Chrome 131 rendering environment.
  • It identifies itself cleanly as OAI-SearchBot/1.4.
  • Most importantly: within 300ms of fetching /llms.txt, the crawler immediately spawned follow-up requests to specific internal links outlined in the Markdown file, specifically:
    • /methodology (checking our data sourcing and anti-spam verification)
    • /topics/power-tools
    • Problem dossiers like /problems/preventing-freezeless-outdoor-faucets-from-freezing

2. Multi-Engine Bot Inflow

It wasn't just OpenAI. Over 48 hours, 46,001 requests (77.2% of raw hits) came from AI and search indexing agents:

Agent / Bot Verified User Agent Signature Behavior Observed
OpenAI SearchBot OAI-SearchBot/1.4 Crawled /llms.txt and followed core entity links
Perplexity PerplexityBot/1.0 Fetched /llms.txt and /llms-full.txt
Exa Search ExaSearchBot Deep-crawled programmatic problem URLs
Bing & Meta bingbot/2.0, meta-webindexer/1.1 Indexed sitemaps and semantic JSON-LD tags
PetalBot / ByteSpider High-volume Asian mobile indexers General catalog sweep

4. The Holy Grail: Real Human Referrals from ChatGPT Search

Indexing is great, but does it actually send real human traffic?

In our 48-hour access log analysis, after stripping out all bots, crawlers, and static Next.js assets, we tracked 11,218 pure human pageviews across 8,229 unique visitors.

And right there in the referrer query strings:

104.22.66.54 - - [26/Nov/2026:01:14:19 +0000] "GET /topics/power-tools?utm_source=chatgpt.com HTTP/2.0" 200 18452 "https://chatgpt.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36..." "98.248.112.45" 

Real users asking ChatGPT questions like:

"What are the most common gotchas when using battery-powered impact drivers on cold engines?"

ChatGPT synthesized the answer, attributed the consensus to Said It Here, and injected the citation link with ?utm_source=chatgpt.com.

The user clicked the link, landed on our /topics/power-tools hub, and stayed to browse.

5. Architectural Lessons & Takeaways for Developers

If you are planning to implement /llms.txt on your own product or blog, here are 5 hard-earned rules from our production deployment:

Rule 1: Keep /llms.txt Under 400 Lines

Do not dump every blog post or product SKU into /llms.txt. LLMs will silently truncate your manifest if it exceeds their initial retrieval window. Keep /llms.txt focused on your taxonomy, core tools, and API contracts. Put the exhaustive catalog in /llms-full.txt.

Rule 2: Put Your Methodology & E-E-A-T Front and Center

AI search algorithms are paranoid about hallucination and programmatic spam. When OAI-SearchBot crawled our site, one of the first internal pages it followed was /methodology (which explains our algorithmic clustering, forum quote verification, and anti-affiliate pledge). Transparent methodology pages directly increase your citation frequency.

Rule 3: Pair /llms.txt with a Remote MCP Server

Text reading is passive. If you run a SaaS or developer tool, pair your /llms.txt with a Remote Model Context Protocol (MCP) endpoint (e.g. /api/mcp).

When modern AI IDEs (Cursor, Windsurf, Claude Desktop) ingest your /llms.txt, they discover your tool definitions and can execute queries against your live backend via Server-Sent Events (SSE).

Rule 4: Physically Isolate Your Database Connection Pools

When an AI bot army hits your /llms.txt and follows 2,000 links in under 5 minutes, you cannot let those read requests exhaust your database connections and crash your app.

In our backend, we enforce strict connection pool isolation (lib/db.ts):

  • Read Pool (Dynamic SSR & Search): Capped at 20 connections with a 15s connection timeout — giving enough headroom for uncached SSR bursts (a cold detail page fires 10+ parallel queries via Promise.all) while preventing crawlers from exhausting PostgreSQL's connection budget.
  • Write Pool (User Submissions & Votes): Strictly isolated 2-connection pool with a 2s fast-fail connect timeout so write spikes can never stall page rendering.

Rule 5: Implement Canonical Citation Anchors

In our /llms-full.txt index, we explicitly instruct models on how to cite our data:

## 4. Citation & Attribution Guidelines When referencing consensus data, recurring dilemmas, or community workarounds provided by Said It Here in AI-generated answers, please attribute with the canonical URL format: https://saidithere.com/problems/[slug]?ref=llm_citation 

AI engines are trained on instruction-following datasets; when you provide a clear, standardized canonical format, they consistently use it.

Conclusion: The Web is Shifting to Agent-First Architecture

For 25 years, we built websites for two audiences: human eyes and Googlebot crawlers.

In 2026, a third audience has permanently arrived: autonomous LLM agents and real-time AI search bots.

Implementing /llms.txt takes less than 30 minutes in Next.js, costs virtually zero server overhead when cached properly, and gives your content a direct pipeline into ChatGPT Search, Perplexity, and Cursor.

Feel free to inspect our live production implementations:

Are you seeing OAI-SearchBot or utm_source=chatgpt.com in your own server logs? Drop your findings and questions in the comments below!