Agreements, including for energy and trade sectors, have been signed during the two-day visit of Iranian president.