Since hogi was responsible for the arts being brought over from the continent, toraijin (foreigners that came to Japan) were well versed in the various learnings with good reading skills in the Chinese classics, who were generally from Eastern Han, Western Han, or Sui that gained supremacy in place of the Hans in Mainland China, as well as Goguryeo/Baekje that had power in western Korean Peninsula, and, in rare cases, scholar monks from Silla that were powerful in eastern Korean Peninsula at that time were appointed as various hakase or onmyoji.
大陸伝来の技術を担当する方技だけに、各博士や陰陽師には、諸学に通じ漢文の読解に長けた渡来人、おしなべて中国本土の前漢・後漢・代わって大陸覇権を握った隋、朝鮮半島西岸に勢力を有した高句麗・百済、まれに当初朝鮮半島東岸勢力であった新羅から帰来した学僧が任命されている。