Incentivizing Cooperation between Heterogeneous Agents in