Plugins Quickstart¶
retrain now supports a unified plugin workflow across swappable parts:
- create one file
- set one TOML key
- run training
60-second transform plugin¶
Generate a scaffold:
This creates plugins/my_transform.py and an optional smoke test.
Use it in TOML:
[algorithm]
transform_mode = "plugins.my_transform.my_transform"
[algorithm.transform_params]
scale = 1.0
Advantage plugin¶
Full algorithm plugin¶
If you want to override the whole advantage pipeline:
When algorithm_mode is set, it takes priority over advantage_mode + transform_mode.
Discover what is available¶
Plugin search paths¶
Default search path:
strict = true fails fast on plugin load/shape errors.