Administration and Senate Democratic officials say the White House and congressional Republicans have reached an agreement to avert the so-called fiscal cliff.