Iranian state TV did not provide further details on the document but said it will include setting up joint scientific and technological laboratories, exchange of scientific teams between the two countries and transfer of technology in the fields of information technology, energy, environment, agriculture and food.
Any technical accord between Pyongyang and Tehran is likely to raise suspicions in the West. The U.S. has repeatedly accused North Korea of providing Iran with advanced missiles capable of targeting Western European capitals.
Iran's Supreme Leader Ayatollah Ali Khamenei told Kim, president of the Presidium of the Supreme People's Assembly, that North Korea and Iran have "common enemies."
"Arrogant powers don't tolerate independent governments," Khamenei told Kim. "In the march towards great goals, one should be serious, and pressures, sanctions and threats should not cause any crack in (our) determination."
In a separate meeting, President Mahmoud Ahmadinejad said Kim's visit would have a "great impact on strengthening bilateral ties, expanding cooperation and boosting the anti-hegemonic front."
Both countries are bitter enemies of the U.S. and the West. Iranian and North Korean officials have said in the past that their nations are in "one trench" in the fight against the Western powers.