Large Language Model Sentinel: Advancing Adversarial Robustness by LLM Agent