The agent of Akka 2.5.12

when i used agent component,it say this class has deprecated,but I have not found a new one, could I find it from which docs?

It is the first box in the page. It explains why they’re deprecated and the replacement;

Thank you very much,
It is very useful,It was due to my carelessness;
I am very sorry