2 books in this genre
Search theory
G. Chudnovsky
A search-equilibrium approach to the micro foundations of macroeconomics
Peter A. Diamond