The Bush administration and Senate Republicans have announced an agreement on a legislation setting terms covering the interrogation and trial of terror suspects.