Fundamental of AI Agent Using RAG and Langchain