This paper studies the design of optimal contracts in dynamic environments where agents learn by doing. We derive a condition under which contracts are fully incentive compatible. A closed-form solution is obtained when agents have CARA utility. It shows that human capital accumulation...