Introduction to Model Context Protocol

March 30, 2025

Nowadays, AI is widely applied in various fields, especially in daily tasks for office workers and programmers. While AI excels at analyzing and understanding data, it still faces limitations in storing information, retrieving external data, and interacting with the surrounding environment.

In this article, I will introduce a method that helps AI models expand their data access capabilities and interact more flexibly with system entities.


Building a RAG System for an AI Agent

March 29, 2025

Nowadays, AI has become an indispensable tool in daily work, especially for office workers and developers. However, current AI models still face significant limitations in accessing and processing information.

Therefore, in this article, I will introduce a method to enhance AI’s information retrieval capabilities and improve the efficiency of its data access.


OAuth2

December 10, 2024

Python is a versatile language programming, easy to learn because of clean syntax. However, Python has also some secrets that not everyone know. In this post, I show you what are secrets of Python?


    From Inversion of Control to Dependency Injection

    June 2, 2024

    Inversion of Control and Dependency Injection are two important concepts in object-oriented programming. It is the basic principles that help us build flexible, maintainable, and extensible applications. This article will help you understand more about Inversion of Control and Dependency Injection.


    The limitation of thread in Python

    May 25, 2024

    What are the differences between threads in Python and threads in other programming languages? What is the GIL? Is it always more efficient to use multithreading and multiprocessing over single-threading and single-processing? In this article, I will discuss the limitations of threads in Python and provide recommendations on when to use multithreading, multiprocessing, or stick with single-threading.


    Using observer pattern in web development

    May 9, 2024

    Design patterns are among the essential skills for a programmer. Mastering the application of design patterns not only enhances their understanding of programming but also elevates their value in the industry. In this article, I'll share one of the relatively common design patterns and how to apply it in frontend web development - the Observer pattern.


    Create a text completion for yourself without internet

    December 20, 2023

    Since ChatGPT has become increasingly popular, chatbot is appearence everywhere in your life. In this post, I want to show you how to create a chatbot in locally with Python.


    From PEP 492 to the era of asynchrony

    June 27, 2023

    Asynchrony can be implemented in many programming languages, including Python. However, asynchrony in early Python was not as widely used as Javascript or C# because of its difficult implementation. In this article, I will introduce the history of asynchronous programming in Python and its growth at the present time.


    Why FastAPI fast?

    June 16, 2023

    Recently, there has been a web framework become popular in the Python community - FastAPI. In this post, I show you how FastAPI is good and why you should decide on FastAPI for development APIs


    Asynchrony in Python - Event loop | Part 2

    March 29, 2021

    One of the important concepts in programming is the event loop or event loop. It's not an exaggeration to say that event loops are the heart of asynchronous programming in languages like Python or Javascript, ...