We demonstrate that agent-based simulations can exhibit results in line with classic macroeconomic theory. In particular, we present an agent-based simulation of an Arrow-Debreu economy that accurately exhibits the Stolper-Samuelson effect as an emergent property. Absent of a Walrasian...