The paper proposes an innovative approach for the analytical solution of agent-based models. The approach is termed Dynamic Stochastic Generalized Aggregation (DSG-A) and is tested on a macroeconomic model articulated in a job and in a goods markets with a large number of heterogeneous and...