play agent command to have heuristic function