U.S. President Barack Obama says an agreement has been reached on deal to cut the nation's deficit and avoid default.