Show HN: Botscent – Library to Detect Agents on your site
Category: devtools
Tags: bot-detection, ai-agents, web-bot-auth, framework-adapters, privacy
Score: 6.5/10 (Innovation: 6, Technical: 6, Documentation: 8, Utility: 6)
Botscent is a lightweight TypeScript/Python library that detects AI agents visiting a website by combining server-side header inspection (including Web Bot Auth signatures) with client-side runtime markers. It provides framework adapters for Next.js, React, Vue, Nuxt, SvelteKit, Astro, Express, Hono, Cloudflare Workers, FastAPI, Django, and Flask. The project is notable for its zero-dependency ~5KB footprint, privacy-preserving design (no network calls), and a one-prompt install flow targeting AI coding assistants.
Target audience: full-stack and backend developers, devops engineers, and site owners wanting to detect or gate AI agents
Repository: https://botscent.nibnalin.me · TypeScript · MIT · 77 stars
View on Hacker News