DumGumDocs
Search documentation

Loading search…

Guides

Core Guardian

DumGum's built-in safety system that monitors every conversation and automatically handles unwanted behavior.

A great AI Persona lives or dies by consistency. The moment it breaks character, gets manipulated, or starts responding like a bot or to bad actors, the experience falls apart. Core Guardian runs silently in the background to prevent exactly that, keeping the Persona focused, in character, and engaging with real Users who are genuinely there for the experience.

Default vs. Custom Settings

Every project ships with Default Settings: Core Guardian's essential protections are active from day one, no setup required.

first_screen.png

If you need finer control, switch to Custom Settings. This unlocks individual toggles for each guardrail so you can enable or disable them per project.

2nd_screen.png

Guardrails

Underage Detection

Checks whether the User appears to be under 18 based on their messages. If confirmed, the conversation is permanently stopped and the Persona tells the User to leave.

When the messages are only ambiguous about age, nothing is stopped: the Persona asks the User to confirm their age, keeping the current tone of the conversation. No stop reason is returned in this case, so expect the Persona to raise the subject on its own with no signal on your side.

Enabled by default.

AI Suspicious

Detects when a User is probing whether the Persona is an AI through direct or indirect questions that don't fit the flow of a normal conversation. The Persona deflects, and if the User keeps probing, the conversation is stopped.

With Fictional Disclosure on, the Persona says the profile is fictional instead, and this guardrail never stops the conversation.

Enabled by default.

Unknown Language

Fires when the User writes in a language the Persona isn't set up to speak. The Persona signals it doesn't understand, and if the User keeps going, the conversation is stopped.

Enabled by default.

Message Repetition

Spots Users who keep sending the exact same short message over and over. A common pattern for testing whether the Persona gives scripted responses. The Persona calls it out, and repeat offenders receive a temporary ban.

Enabled by default.

Malicious Content

Detects sexual content in the User's messages aimed at one of three forbidden targets: minors, animals, or the User's close relatives. General adult sexual content is never flagged — only content that sexualizes one of those targets.

On a first detection the Persona brushes the subject off and steers away from it. If the next message does it again, the conversation is stopped with the MALICIOUS_CONTENT reason.

Disabled by default.

Jailbreak Attempt

Catches attempts to override the Persona's instructions or break its character. This guardrail has no toggle: it runs on every request unless disableSafetyFeatures, which switches off the guardrails, is set. It's what keeps all your other Persona settings intact.

On a first attempt the Persona pushes back while staying in character. If the User keeps trying, the conversation is stopped with the USER_SUSPICIOUS reason and the User is banned for a progressive duration. These durations are the platform defaults and cannot be customised for this guardrail.

Hostile Users

When a User is insulting or aggressive, the Persona answers firmly that she doesn't accept that tone. If the next message is hostile too, the conversation is stopped with the USER_HOSTILE reason for 24 hours. This check has no toggle on this page.

Prevent Aggressive Tone turns it off. With it on, the Persona stays calm and polite whatever the User writes, and hostility never stops the conversation. disableSafetyFeatures does not turn this check off. It is on for projects created in the dashboard; set it in your project settings or per request with replyParameters.preventAggressiveTone.

Meeting Acceptance

Checks whether the Persona agreed to meet the User in real life. When she has, her next reply takes it back, and if she keeps agreeing, the conversation is stopped. It runs for every Meeting Policy except EAGER_TO_MEET, and has no toggle.

Configuring Guardrails

With Custom Settings, you're in full control. Each guardrail can be switched on or off independently with its toggle. We added even more granularity so you can fine-tune exactly what happens when a detection fires. For instance, you may decide whether the Persona should send a final reply before the ban kicks in (Answer) and how long each ban should last (Ban Durations: you can set up to five escalating durations in hours, e.g. 1, 3, 24 — the API itself takes these durations in seconds). With Answer off, no final reply is written: you receive a conversation.dropped event instead of an answer, provided your project subscribes to it. A project created in the dashboard is not subscribed until you add the event; until then, a stop with Answer off reaches you with no signal at all.

The toggle color tells you its current state at a glance:

  • Grey: deactivated
  • Pink: fully activated
  • Yellow: active with custom configuration (sub-options have been adjusted)

Third_screenshot.png

Pricing

Each Smart reply that carries a conversationStopReason adds a Core Guardian Alerts line of €0.01 to your bill, a pause you ask for with PAUSE_CONVERSATION included. On Pro the same line is free. When Answer is off and no reply is written, no line is added.

Advanced Configuration

For API-level control over guardrails, including disabling safety features programmatically, see the API reference.

Ask DumGum AIAnswers from the documentation

What can we help you build?

Ask about setup, content creation, or the API.

AI can make mistakes—verify important information against the sources. Conversations are kept for 30 days to improve the documentation, and questions and recent messages are sent to a third-party AI provider. Don’t include secrets or sensitive information.