Text this: How to design LLM-based intelligent agent to support student’s learning in educational context