The European Union is negotiating a series of economic partnership agreements , intended to replace existing deals with African countries , and wants to reach an agreement on them by the end of the year .