Eager to secure an international commitment to Afghanistan 's future , President Hamid Karzai and his government have sought long-term strategic and economic agreements with the United States and the European Union .