ai-agent-deep-dive

An in-depth research report on the source code of AI agents such as Claude Code, published as PDFs and mostly in Chinese. For readers who want to learn how these agents are built.

Share on XNo license declared

Overview

AI Agent Deep Dive is a research report on the source code of AI agents such as Claude Code, published as PDF files and written mostly in Chinese. The Claude Code report has a v2.1 edition with a chapter on the memory system. The repository also holds a small teaching agent in Python with an agent loop, a replaceable fake LLM, skills discovery and a CLI, meant for learning how an agent is structured.

Key features

  • PDF research reports on agent source code
  • Claude Code report v2.1 adds a memory system chapter
  • Minimal teaching agent in Python with a CLI
  • Fake LLM layer that can be swapped for a real model

Best for

Readers, mostly Chinese-speaking, who want to study how coding agents are built. The teaching agent does not call a real model API yet.

Upstream
tvytlx/ai-agent-deep-dive
Fork on GitHub
Guo-astro/ai-agent-deep-dive
Upstream stars
5.8k
Category
Learning, interviews and curated lists
Language
Python
License
No license declaredWithout a license, the author keeps all rights. Ask the upstream owner before reusing the code.
Forked
2026-04-01
Sync status
In syncLast synced 2026-09-29