Guardrails here are about protecting your agent from abuse. To set behavioral rules the agent must follow in its replies, such as topics to avoid, use the Guardrails section of the instructions editor instead. See Instructions.
Rate limit
Use Rate limit to cap how many messages one device can send to your agent through any channel over a chosen time period. Set Limit to N messages every N seconds, then write the Message to show when limit is hit. Users who exceed the limit see this message instead of a reply until the window resets.
Spam detection
Use Spam detection to have Chatbase automatically check conversations for spam. When spam is detected, the conversation is paused and the agent stops replying to it. You can also pause conversations manually from the chat logs. Turn the toggle on to enable it. The check runs after the 2nd, 4th, 8th, and 16th user message in a conversation, so it catches abuse early without abusing your credits.

Defining what counts as spam
The What counts as spam for this agent field holds the instructions the spam checker follows, up to 2,000 characters. Chatbase provides a default that flags:- Profanity, such as vulgar, obscene, insulting, or sexually explicit words or slang, in any language.
- Spam, such as unsolicited commercial promotions, scams, repetitive gibberish, random keyboard mashing, or emoji-only messages.
