A sanshi post was established in the Shurikishi in 822, then in the Mokuryo (the exact year of the latter is unknown, but it was before the compilation of the Engishiki (an ancient book of codes and procedures)).
弘仁13年（822年）には修理職に、続いて年代は不詳であるが延喜式編纂以前に木工寮にも算師が置かれた。