Reverse engineering AI