Expand description
Mutation operators: take an AgentConfig and produce a varied “challenger”.
Each generation, MutatorPicker chooses ONE mutator probabilistically and
applies it. The result differs from the parent in exactly one axis.
Structs§
- Behavioral
Rules Mutator - Adds, removes, or rephrases ONE behavioral rule from the curated pool.
- LlmRewrite
Mutator - Asks the LLM to propose a small variation of the system prompt prefix.
- Model
Pref Mutator - Swaps model preference to a neighboring model within the adapter’s pool.
- Mutation
Ctx - Ambient context passed to every mutator invocation.
- Mutator
Picker - Weighted random selection of a mutator.
- Response
Style Mutator - Cycles response style to a neighbor of the current one.
- Tool
Permissions Mutator - Toggles one tool permission (add if absent, remove if present).
Enums§
- Mutation
Error - Mutator-specific error.
Traits§
- Mutator
- Takes an
AgentConfig, returns a varied challenger.