Researchers find that the amygdala is a sophisticated mediator that chooses between action-based and stimulus-based learning strategies under uncertainty.