Wikipedia
In economics, the term microfoundations refers to the microeconomic analysis of the behavior of individual agents such as households or firms that underpins a macroeconomic theory (Barro, 1993, Glossary, p. 594).
Most early macroeconomic models, including early Keynesian models, were based on hypotheses about relationships between aggregate quantities, such as aggregate output, employment, consumption, and investment. Critics and proponents of these models disagreed as to whether these aggregate relationships were consistent with the principles of microeconomics. Therefore, in recent decades macroeconomists have attempted to combine microeconomic models of household and firm behavior to derive the relationships between macroeconomic variables. Today, many macroeconomic models, representing different theoretical points of view, are derived by aggregating microeconomic models, allowing economists to test them both with macroeconomic and microeconomic data.