Go to the diplomacy screen. There is a tab (I believe it's called "relationships") which provides an overview of deals you have in place with AI, as well as which resources each civ has that you don't have, and the amount that they have of each.
Also shows city states and what they have to offer