Ai enhanced routing

shape