I. Project Overview

1.1 What this app does

These notes are about how to build an AI agent from scratch.

1.2 Final Architecture


Overflow

<aside> 💡

API → context/history → tool calling → RAG → agent basics → LangChain → LangGraph

</aside>

II. Prerequisite

We will use Python and Django to develop this project. For details on installation and setup, see here.

Overall, we need:

  1. Install the Django project and apps
  2. Adjust settings to connect the project to the apps
  3. Create app-level url.py
  4. Basic View function views.py
  5. Create templates, UI what user sees

Note: for all the complete code mentioned in these notes, check the GitHub repo.

Development Process