Japan and Thailand have reached a basic agreement on a free trade accord, with some remaining technical issues to be ironed out in the near future, the Japanese Foreign Ministry told the Associated Press (AP).