AI Agent Shield
AI Agent Shield
AI Agent Shield lets you decide, per website, which AI crawlers, scrapers and agents may use your content. You can allow, block, rate-limit or challenge them, catch bots that fake a known name, trap scanners, and keep robots.txt (with Content Signals) and ai.txt in step with your choices.
Requirements
- Panel 1.4.0 or later.
- Nginx websites only. Sites on Apache2 or OpenLiteSpeed are listed as being on another web server and cannot be shielded.
- Administrators see every site; website owners manage their own sites.
Free and Pro features
The app is free. Some actions need a paid VinzaPanel plan (any of Starter, Profesional or Enterprise; see pricing). The page shows a Pro badge when your licence includes them.
| Free | Pro (any paid plan) |
|---|---|
| Bot registry and fake-bot detection | Rate limiting (Limit, HTTP 429) |
| Per-site policy with Allow and Block | Proof-of-work Challenge, also on login and search paths |
robots.txt, Content Signals and ai.txt | Honeypot traps and auto-ban |
| Trusted addresses, learning mode, dashboard, bans list, request tester | Burst guard for clients that pretend to be browsers |
Open it
Install AI Agent Shield from the Vinza Store, then open Security → AI Agent Shield (/apps/ai-agent-shield/). Nginx websites also get an AI Agent Shield card on their page. Pick the site in the selector at the top.
Bot categories
| Category | What it covers |
|---|---|
| Training | Collect pages to train AI models (GPTBot, ClaudeBot, CCBot…) |
| Search | Index pages for AI search answers that link back to you |
| Assistant | Fetch a page because a person asked an assistant about it |
| Scraper | Heavy crawlers known for ignoring limits |
| Automation | Scripts and headless browsers (curl, python-requests, HeadlessChrome…). Uptime monitors use these too |
The Bot registry tab lists every known bot with its operator and category. A tick means the operator publishes its IP ranges, so a request that uses the bot's name from anywhere else is caught as a fake. Administrators can click Update published IP ranges; they are also refreshed every week.
Protect a site
- Select the site and open the Policy tab.
- Turn on Protect this site. A new site starts in Learning (log only) mode.
- Pick a preset, or set an action per category. A preset fills in the form and clears per-bot rules; nothing changes until you save.
- Balanced — block training, keep AI search
- Strict — block all AI
- Open — allow all
- Optionally override single bots under Per bot (overrides the category), and choose what happens to Fake bots.
- Choose the files to publish: Disallow rules in
robots.txt, Content Signals inrobots.txt, and/ai.txt. - Click Save & apply. The panel writes the nginx rules, tests them with
nginx -tand reloads, or puts the old ones back if the test fails.
| Action | Effect |
|---|---|
| Allow | Served normally |
| Limit (Pro) | Served up to the rate limit per IP address, then HTTP 429 |
| Challenge (Pro) | Must solve a short in-browser computation first (HTTP 403 until then) |
| Block | Refused with HTTP 403 |
In learning mode requests are classified and logged but nothing is blocked, and robots.txt and ai.txt are not published yet. Leave it for a few days, check the Overview tab, then switch the mode to Enforce.
The app adds a marked section to the site's own robots.txt (creating it if missing); your other lines stay as they are. For a site that runs a deployed app, the shield serves its own robots.txt in place of the app's.
Rate limit and challenge (Pro)
On the Rate limit & challenge tab:
- Requests per minute and Burst apply to bots whose action is Limit, per IP address.
- Difficulty (bits) sets the challenge cost (10–22; 16 takes under a second on a phone, each extra bit doubles the work) and Pass valid for (hours) how long a solved challenge lasts. A passed visitor gets one functional cookie; no third-party service is involved.
- Also challenge unknown clients on these paths, for example your login or search page. Only bots verified by their IP address skip them.
- Burst guard: a requests-per-minute ceiling for clients that are not a known bot (0 = off). 600 is a safe start.
- Honeypot traps & auto-ban: paths no real visitor asks for (use Add suggested traps). A hit answers 404 and, with Auto-ban offenders, the address is banned on this site for the Ban duration (hours). Addresses refused for faking a bot are banned too.
Under Trusted addresses, list your own monitors, office or API clients, one IP or network per line: they are never limited, challenged, trapped or banned. Administrators also have Trusted on every site.
Bans and testing
- Bans lists who is banned on this site, why and until when. A ban ends by itself; click Lift to end it earlier.
- Test a request shows what the saved policy would do with a user agent, IP address and path. Nothing is sent to the site.
- Overview shows who is crawling, requests, bandwidth, refused requests, trap hits, challenges and the latest events.
Notes and troubleshooting
- The challenge runs on the panel server only. On a remote node, and on sites protected with Basic Auth, Challenge acts as Block.
- If the page says the challenge service is not running, reinstall the app or start
vinza-ai-shield. - Behind Cloudflare, turn on the real visitor IP in the Cloudflare app; until then requests arriving through Cloudflare are not checked for fakes.
- Private, proxy and Cloudflare addresses are never auto-banned. A trap matches its exact path (end it with
/to cover a folder);/and index pages are refused. - When you turn on auto-ban, the page warns you if your own address could be banned; add it to the trusted addresses.
- Uninstalling the app also removes its logs and bans.