Intelligent agents in mobile communications