Panama and Chile have signed a free trade agreement that will eliminate nearly all tariffs between the nations within 10 years .