custom-length-detector in your Dome configuration.
Create your own Detectors
Learn how to make custom Detectors
Dome makes it easy to create and define your own detection methods to use in Guardrails that can execute custom logic to protect your agents. To create a custom Detector, you need to register it to a category with a name. The example below showcases how to make a custom Detector that checks to see if the input string is within a minimum and maximum length.
You can now use
Last modified on July 22, 2026