In this paper we present a model of tax compliance with heterogeneous agents who maximize their individual utility based on income and the conjectured level of per capita public expenditure. We formally include psychological drivers in this model. These drivers affect individual behavior, such as risk aversion, together with appreciation of public expenditure, expectations about peers' compliance and a natural inclination to comply, all of which we summarize in a quality termed "citizenship". The enforcement system, based on random inspections, is standard and only partially known to agents. The agent-based model is simulated under a variety of settings, representing different "societies". We use the artificial data produced by the model to estimate the effects of taxpayers' traits on personal tax behavior and to build a compliance societal slippery slope. At the individual level, we find a positive dependence of compliance on all variables, with the significant exception of the tax rate, which has a negative impact. As far as societies are concerned, we show how aggregate tax compliance depends on composite indices of citizenship and power, and we find that the former is more important than the latter.