Skip to content
New Project
Templates
Template name
Templates

Block AI Bots Firewall Rule

Adds a rule to your Vercel Firewall that detects common AI Bots.

DeployView Demo
Owner
  • vercel
Repository
  • firewall-templates
Use Cases
  • Vercel Firewall
Stack
  • Other
  • None
Add Firewall RuleVercel WAF Docs

A firewall rule that identifies bots known to be used in AI training based on web content.

The rule defaults to the "log action". Set to "Deny" to actually block these bots.

Consider customization

The generated firewall rule blocks a multitude of bots used in AI training. Consider customizing the list to your need. See this JSON file for detailed descriptions of each bot.

Attribution

This template is based on the ai.robots.txt project.

Related Templates

  • Advanced AI Bot Protection thumbnail

    Advanced AI Bot Protection

    An AI chat app built on Vercel that integrates Kasada's advanced bot protection. Prevent abusive API calls to the LLM before they occur.

  • RAG with Vercel AI SDK thumbnail

    RAG with Vercel AI SDK

    A retrieval-augmented generation chatbot built with Next.js, the Vercel AI SDK, Drizzle ORM, and PostgreSQL.