Search and Matching model with 2 agents?
I am not sure if this is exactly what you are looking for, but this paper has model that sounds like what you want:
Shimer, Robert, 2006. “On-the-job search and strategic bargaining, ”European EconomicReview50, 811—830.
Have a look at this one too:
Shimer, R. (2007). Mismatch. American Economic Review, 97(4), 1074-1101.