Agent Systems: Learning and Adaptation Pattern
Intent
Use evaluated experience to improve future behavior without changing the task interface.
Outline
- Recurring problem: repeated tasks reveal systematic errors or opportunities for improvement.
- Structure:
task traces → evaluation → policy or prompt update → future tasks. - Stable interface: task input and output contract.
- Variable implementation: prompt, policy, memory, routing rule, or model.
- Strength: the system improves from repeated use.
- Risks: metric gaming, feedback loops, and propagation of bad memories.
- Guardrail: never optimize a metric without checking what the metric omits.
Suggested figure
10-learning-adaptation.svg in the Agent design pattern illustration folder.
