The collective noises, which include the collective-dephasing noise and the collective-rotation noise, are the topical noises in quantum key agreement (QKA). How to eliminate the influence of the collective noises on quantum communication is a problem to be solved urgently. In this paper, based on logical quantum states, by using controlled-Z, controlled-NOT and unitary operations, two QKA protocols which can be immune to the collective-dephasing noise and the collective-rotation noise are proposed, respectively. The security analysis indicates that these two protocols can resist participant attack and outsider attacks which include Trojan-horse attacks, intercept-resend attack, measure-resend attack and entangle-measure attack. By comparing with the proposed two-party QKA protocols against the collective noises, it is clear that our protocols are more efficient.