Abstract
This thesis addresses a range of issues in macroeconomics, namely, the relationship between the real economy and expectations formed in financial markets, endogenously emerging heterogeneous expectations, and the interaction among rising concentration, increasing inequality and the tendency towards stagnation. The approach adopted, based on the notion of complexity, combines the analysis of specific features and mechanisms characterizing the behavior of agents with the study of their impact on the economy.