This paper develops an agent-based computational model to study the role of knowledge in shaping the institutional type and the internal organization of the institution through which economic activities are coordinated. The market and the firm are different institutions for coordinating economic...