Manufacturing with intelligence