Creating custom rules using the Debugger client library - Amazon SageMaker AI
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 12, 2026.

Creating custom rules using the Debugger client library

You can create custom rules to monitor your training job using the Debugger rule APIs and the open source smdebug Python library that provide tools to build your own rule containers.

Prerequisites for creating a custom rule

To create Debugger custom rules, you need the following prerequisites.