A major challenge for investment treaty designers and adjudicators is to separate opportunistic behavior by host states that should be sanctioned under international law from bona fide public policy measures that should not. This article suggests that international investment agreements (iias) need to be both ‘smarter’ and more ‘flexible’ to better make that distinction. It draws on economic contract theory as a basic framework, and political economy theory for fine-tuning.