Vietnam and the United States have signed an agreement that will allow U.S. companies to work in Vietnam to develop atomic power for energy .