Book recommendation: agent based modeling? Is there a book along these criteria?


introductory
discuss both theory and writing program
focus on social science (economics / politics / sociology)


There are bunch of tutorials on the Internet, but journal articles tend not to have code, and a lot of work is not relevant to social science. Thus I think I'll get better recommendation from Econs SE.
One book that comes to mind is "Economic Dynamics" by John Stachurski found here.

This book discusses programming methods that are applied to economics. All of its accompanying code is kept on this github repository.