Afghan President Ashraf Ghani said on Monday the presence of foreign forces was based on an international agreement and they will not be required in the long term.