Configuration Reference
Optimization runs are driven by a TOML config file. By convention this file is namedoptimize.toml (you can name it anything — pass the path with --config).
Minimal example
Full reference
Artifacts and data
Agents
Tip: Use a faster/cheaper model for
target_agent (it runs many times per epoch) and a more capable model for optimizer_agent (it needs to reason about patch quality).
Training loop
Gate
The gate decides whether to accept a patch by comparing scores before and after.
Gate metric options:
Epoch boundary
Worked example: a focused deployment skill
Validation errors
If the config is invalid,fastskill optimize run exits with a structured error code. Common ones: