Crawler-Detect icon indicating copy to clipboard operation
Crawler-Detect copied to clipboard

AI bots

Open staabm opened this issue 1 year ago • 4 comments

I wonder whether this lib could/would add support to detect AI bots, so crawlers which are used to feed AI engines. I found a repo which lists most of them: https://github.com/ai-robots-txt/ai.robots.txt

maybe thats something which could be used for/with crawler-detect?

staabm avatar Sep 23 '24 16:09 staabm

Hmmm, interesting suggestion.

Would you see our current isCrawler() method returning true for these AI bots, with a new additional method called something like isAiBot()?

Open to implementation suggestions here 👍

JayBizzle avatar Sep 24 '24 20:09 JayBizzle

I think a separate method would be good, as I think some users might be interested in 'whatever' definition this lib had of a crawler before.

AI bots are a different class which might need different handling IMO

staabm avatar Sep 24 '24 20:09 staabm

A crawler is a crawler or not? Regardless of what the crawler actually does with the responses. If users want to differentiate then they should look at https://github.com/VolkswAIgen/VolkswAIgen - but for the purpose of this library I would think that a bot from OpenAI or Claude is detected as crawler.

beberlei avatar Oct 19 '24 14:10 beberlei

Agreed @beberlei -- I don't see a use case where it'd be necessary to treat an "AI" bot differently. Certainly if that were the case, I'd imagine that is beyond the scope of this library.

module17 avatar Nov 18 '24 17:11 module17

Yes. A bot is a bot. Proper pronouns for bots is next generations problem, not ours.

SpawnDev avatar Oct 15 '25 13:10 SpawnDev