Rewriting blacksmith AI