Cuba has agreed to release 53 political prisoners, a US official said Wednesday amid a historic thawing of ties announced by the two nations.