LLM-RAG-Agent-Tutorial for AI application developers and researchers.
31
stars
257
commits
Jupyter Notebook
primary language
Jul 5, 2026
updated
This repository contains Syllabus for LLM(large language model), RAG(retrieval augmented generation), AI Agent and MCP(Model Context Protocol) class focusing on creative AI agent development, modeling, and computing as the viewpoint of usecase. This repository was developed for AI application practitioners and developers. The colab code, source, presentation and reference with AI tools like below can be used for developing LLM, RAG and AI Agent. If you want to know the LLM, RAG and AI Agent with MCP subjects and materials, refer to the below link.
If you need AI deep learning foundation, refer the below link.
In reference, the subjects are like below.


LLM uses deep learning model architecture like transformer which uses numerical analysis, linear algebra, so it's better to understand the below subjects before starting it.
linear algebra. Dataset like Matrix, tensor handling and visualization cheat sheet
newton mathod for equation solution. In addition, differential Calculus includes newton method.
First, clone this repository.
git clone https://github.com/mac999/LLM-RAG-Agent-Tutorial.git
Second, check syllabus and lesson plan to understand LLM, RAG and AI agent development courses.
Before running the example code, ensure you have Colab Pro, Python 3.10 or higher installed. Some tool or library use NVIDIA GPU, so if you want to use it, prepare notebook computer with NVIDIA GPU(recommend 8GB. minimum 4GB)
Follow the instructions below to set up your environment:
In refernce, this lesson will use the below
For GPU-accelerated tasks, you need to install the correct NVIDIA drivers for your GPU.
nvidia-smi command in the terminal.To confirm installation:
nvidia-smi
CUDA is required for running GPU-accelerated operations.
Ensure that Python (safe version 3.10 or 3.12) is installed on your system. About macbook, please refer to how to install python on mac.
To confirm installation in terminal(DOS command in windows. Shell terminal in linux):
python --version
Ensure that Anaconda (version 24.0 or later) is installed on your system.
Make Accounts for OpenAI, Huggingface
pip install openai
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Run the following command to install the required libraries:
pip install pandas numpy
pip install ollama openai transformers huggingface_hub langchain
For examples that utilize Ollama, follow the installation instructions from the Ollama website.
Install Sublime for editing source code
Install vscode for debuging code. Please refer to how to install vscode.
After completing the installations, verify that the environment is set up correctly:
Check Python Version:
python --version
Verify NVIDIA Drivers:
nvidia-smi
Confirm CUDA Version:
nvcc --version
Test Python Libraries: Create a test script and import the installed libraries:
import pandas as pd
import numpy as np
import torch
print("Libraries are installed successfully!")
print(f"torch version = {torch.__version__}")
If you're interested in media art, refer to the below link. The repository includes examples to experiment with generative media art.
For Blender using AI-Assisted Modeling,
If you're interested in text to 3D model, you can find Text-to-3D model tool the below link.
If you're interested in Arduino based generative AI, refer to the below.
This repository is part of my ongoing work on AI, LLMs, and Transformer-based architectures. I am open to research collaboration, academic exchange, and joint projects with universities, public institutions, company and research labs.
For collaboration inquiries, please feel free to reach out: [laputa99999@gmail.com] | [LinkedIn or Personal Website]
This repository is licensed under the MIT License. You are free to use, modify, and distribute the code for personal or commercial projects.
Ph.D, Taewook Kang(laputa99999@gmail.com)
257 commits
Jupyter Notebook
74.4%
Python
13.5%
HTML
11.9%
LLM-RAG-Agent-Tutorial for AI application developers and researchers.
31
stars
257
commits
Jupyter Notebook
primary language
Jul 5, 2026
updated
This repository contains Syllabus for LLM(large language model), RAG(retrieval augmented generation), AI Agent and MCP(Model Context Protocol) class focusing on creative AI agent development, modeling, and computing as the viewpoint of usecase. This repository was developed for AI application practitioners and developers. The colab code, source, presentation and reference with AI tools like below can be used for developing LLM, RAG and AI Agent. If you want to know the LLM, RAG and AI Agent with MCP subjects and materials, refer to the below link.
If you need AI deep learning foundation, refer the below link.
In reference, the subjects are like below.


LLM uses deep learning model architecture like transformer which uses numerical analysis, linear algebra, so it's better to understand the below subjects before starting it.
linear algebra. Dataset like Matrix, tensor handling and visualization cheat sheet
newton mathod for equation solution. In addition, differential Calculus includes newton method.
First, clone this repository.
git clone https://github.com/mac999/LLM-RAG-Agent-Tutorial.git
Second, check syllabus and lesson plan to understand LLM, RAG and AI agent development courses.
Before running the example code, ensure you have Colab Pro, Python 3.10 or higher installed. Some tool or library use NVIDIA GPU, so if you want to use it, prepare notebook computer with NVIDIA GPU(recommend 8GB. minimum 4GB)
Follow the instructions below to set up your environment:
In refernce, this lesson will use the below
For GPU-accelerated tasks, you need to install the correct NVIDIA drivers for your GPU.
nvidia-smi command in the terminal.To confirm installation:
nvidia-smi
CUDA is required for running GPU-accelerated operations.
Ensure that Python (safe version 3.10 or 3.12) is installed on your system. About macbook, please refer to how to install python on mac.
To confirm installation in terminal(DOS command in windows. Shell terminal in linux):
python --version
Ensure that Anaconda (version 24.0 or later) is installed on your system.
Make Accounts for OpenAI, Huggingface
pip install openai
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Run the following command to install the required libraries:
pip install pandas numpy
pip install ollama openai transformers huggingface_hub langchain
For examples that utilize Ollama, follow the installation instructions from the Ollama website.
Install Sublime for editing source code
Install vscode for debuging code. Please refer to how to install vscode.
After completing the installations, verify that the environment is set up correctly:
Check Python Version:
python --version
Verify NVIDIA Drivers:
nvidia-smi
Confirm CUDA Version:
nvcc --version
Test Python Libraries: Create a test script and import the installed libraries:
import pandas as pd
import numpy as np
import torch
print("Libraries are installed successfully!")
print(f"torch version = {torch.__version__}")
If you're interested in media art, refer to the below link. The repository includes examples to experiment with generative media art.
For Blender using AI-Assisted Modeling,
If you're interested in text to 3D model, you can find Text-to-3D model tool the below link.
If you're interested in Arduino based generative AI, refer to the below.
This repository is part of my ongoing work on AI, LLMs, and Transformer-based architectures. I am open to research collaboration, academic exchange, and joint projects with universities, public institutions, company and research labs.
For collaboration inquiries, please feel free to reach out: [laputa99999@gmail.com] | [LinkedIn or Personal Website]
This repository is licensed under the MIT License. You are free to use, modify, and distribute the code for personal or commercial projects.
Ph.D, Taewook Kang(laputa99999@gmail.com)
257 commits
Jupyter Notebook
74.4%
Python
13.5%
HTML
11.9%