New Project

Block AI Bots Firewall Rule

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

DeployView Demo

Block AI Bots Firewall Rule

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.

GitHub Repovercel/firewall-templates
Use Cases
Vercel Firewall
Stack
Other
None

Related Templates

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.
Advanced AI Bot Protection thumbnail

RAG with Vercel AI SDK

A retrieval-augmented generation chatbot built with Next.js, the Vercel AI SDK, Drizzle ORM, and PostgreSQL.
RAG with Vercel AI SDK thumbnail
Add Firewall RuleVercel WAF Docs