YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

returnmd launches AI agent analytics, markdown middleware

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

returnmd launches AI agent analytics, markdown middleware
OPEN LINK ↗
// 49m agoPRODUCT LAUNCH

returnmd launches AI agent analytics, markdown middleware

Built by Kunal Mishra, the npm middleware classifies 329+ AI agents—including Claude Code, Cursor, ChatGPT, and Perplexity—and serves them CDN-cached markdown while leaving human visitors on regular HTML. It also auto-generates llms.txt, sitemaps, and robots.txt alongside cookie-free analytics that attribute traffic from AI answers.

// ANALYSIS

As coding agents and AI search engines replace browser sessions, client-side analytics like GA4 are going blind—making server-side agent attribution and markdown negotiation a real new layer of web infrastructure. returnmd is a pragmatic drop-in for teams not locked into Cloudflare's paid Markdown for Agents tier, though long-term defensibility will come down to attribution accuracy rather than HTML-to-markdown conversion.

  • –Framework- and host-agnostic setup: ships as a single MIT-licensed package (`npm install returnmd`) supporting Next.js, Astro, SvelteKit, Vercel, Netlify, Cloudflare Workers, and any standard `Request`/`Response` runtime (Hono, Bun, Deno), adding ~2 ms p50 overhead for human visitors while serving cached markdown in 25–35 ms.
  • –Fills the non-Cloudflare gap: Cloudflare's `Accept: text/markdown` edge conversion requires proxied DNS on paid plans, whereas returnmd brings content negotiation, `.md` route suffixes, and automatic agent routing straight to application or edge middleware—claiming a median 97% page-size reduction for agents.
  • –Actionable routing beyond passive analytics: distinguishing on-demand assistants from scheduled crawlers lets teams set regex-based per-agent rules (403 block, 307 redirect, or keep original HTML) without affecting human traffic, while generating missing `llms.txt`, `sitemap.xml`, and `robots.txt` files.
  • –Practical caveats at scale: syncs cap at 250 changed pages per run, only public pages are converted (fetched via `?__rmd=1`), and uncached pages fall back to HTML on the first agent hit while converting asynchronously—well suited for docs and marketing sites, less seamless for large dynamic catalogs.
  • –Commodity conversion, shifting taxonomy: turning HTML into markdown is quickly becoming a built-in CDN checkbox, so returnmd's real moat is maintaining its 329-agent classification index and AI-answer referral attribution as coding agents evolve their headers and user agents.
// TAGS
returnmdagentobservabilitydevtoolsdkhosted-service

DISCOVERED

49m ago

2026-12-01

PUBLISHED

5h ago

2026-12-01

RELEVANCE

7/ 10

AUTHOR

Kunal Mishra