# datawhalechina/hello-agents architecture

> Architecture diagram of the GitHub repository datawhalechina/hello-agents, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/datawhalechina/hello-agents
- Repository: https://github.com/datawhalechina/hello-agents

## Overview

Hello-Agents is a Chinese open-source tutorial for learning to design and build AI-native agents, not a single runtime application. Its main learner journey moves from agent and language-model fundamentals through agent patterns and framework construction, then memory, context, protocols, training and evaluation, and finally applied projects. The README also highlights low-code platforms, the HelloAgents framework, and community projects. The graph reflects those documented learning stages; the supplied excerpts do not establish implementation-level links among most examples.

Main entry points: [`docs/chapter1/第一章 初识智能体.md`](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter1/%E7%AC%AC%E4%B8%80%E7%AB%A0%20%E5%88%9D%E8%AF%86%E6%99%BA%E8%83%BD%E4%BD%93.md) (Agent Basics), [`docs/chapter2/第二章 智能体发展史.md`](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter2/%E7%AC%AC%E4%BA%8C%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E5%8F%91%E5%B1%95%E5%8F%B2.md) (Agent History), [`docs/chapter3/第三章 大语言模型基础.md`](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter3/%E7%AC%AC%E4%B8%89%E7%AB%A0%20%E5%A4%A7%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B%E5%9F%BA%E7%A1%80.md) (LLM Basics), [`docs/chapter4/第四章 智能体经典范式构建.md`](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter4/%E7%AC%AC%E5%9B%9B%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E7%BB%8F%E5%85%B8%E8%8C%83%E5%BC%8F%E6%9E%84%E5%BB%BA.md) (Agent Patterns)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Foundations"]
  node_intro["Agent Basics<br/>[第一章 初识智能体.md]"]
  node_history["Agent History<br/>[第二章 智能体发展史.md]"]
  node_llm["LLM Basics<br/>[第三章 大语言模型基础.md]"]
end

subgraph group_construction["Agent Construction"]
  node_patterns["Agent Patterns<br/>[第四章 智能体经典范式构建.md]"]
  node_lowcode["Low-Code Platforms"]
  node_frameworks["Agent Frameworks<br/>[第六章 框架开发实践.md]"]
  node_helloagents["HelloAgents Framework<br/>[第七章 构建你的Agent框架.md]"]
end

subgraph group_advanced["Advanced Systems"]
  node_memory["Memory And RAG<br/>[第八章 记忆与检索.md]"]
  node_context["Context Engineering<br/>[第九章 上下文工程.md]"]
  node_protocols["Agent Protocols<br/>[第十章 智能体通信协议.md]"]
  node_training["Agentic RL<br/>[第十一章 Agentic-RL.md]"]
  node_evaluation["Agent Evaluation<br/>[第十二章 智能体性能评估.md]"]
  node_interview["Interview Preparation<br/>[Extra01-面试问题总结.md]"]
end

subgraph group_applications["Applied Projects"]
  node_travel["Travel Assistant<br/>[第十三章 智能旅行助手.md]"]
  node_research["Deep Research<br/>[第十四章 自动化深度研究智能体.md]"]
  node_town["Cyber Town<br/>[第十五章 构建赛博小镇.md]"]
  node_capstone["Capstone Project<br/>[第十六章 毕业设计.md]"]
  node_community["Community Projects"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_intro
node_intro -->|"continues to"| node_history
node_history -->|"continues to"| node_llm
node_llm -->|"continues to"| node_patterns
node_patterns -->|"continues to"| node_lowcode
node_lowcode -->|"continues to"| node_frameworks
node_frameworks -->|"continues to"| node_helloagents
node_helloagents -->|"continues to"| node_memory
node_memory -->|"continues to"| node_context
node_context -->|"continues to"| node_protocols
node_protocols -->|"continues to"| node_training
node_training -->|"continues to"| node_evaluation
node_evaluation -->|"continues to"| node_travel
node_travel -->|"continues to"| node_research
node_research -->|"continues to"| node_town
node_town -->|"continues to"| node_capstone
node_learner -->|"explores"| node_community
node_learner -->|"prepares with"| node_interview

click node_intro "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter1/%E7%AC%AC%E4%B8%80%E7%AB%A0%20%E5%88%9D%E8%AF%86%E6%99%BA%E8%83%BD%E4%BD%93.md"
click node_history "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter2/%E7%AC%AC%E4%BA%8C%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E5%8F%91%E5%B1%95%E5%8F%B2.md"
click node_llm "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter3/%E7%AC%AC%E4%B8%89%E7%AB%A0%20%E5%A4%A7%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B%E5%9F%BA%E7%A1%80.md"
click node_patterns "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter4/%E7%AC%AC%E5%9B%9B%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E7%BB%8F%E5%85%B8%E8%8C%83%E5%BC%8F%E6%9E%84%E5%BB%BA.md"
click node_lowcode "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter5/%E7%AC%AC%E4%BA%94%E7%AB%A0%20%E5%9F%BA%E4%BA%8E%E4%BD%8E%E4%BB%A3%E7%A0%81%E5%B9%B3%E5%8F%B0%E7%9A%84%E6%99%BA%E8%83%BD%E4%BD%93%E6%90%AD%E5%BB%BA.md"
click node_frameworks "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter6/%E7%AC%AC%E5%85%AD%E7%AB%A0%20%E6%A1%86%E6%9E%B6%E5%BC%80%E5%8F%91%E5%AE%9E%E8%B7%B5.md"
click node_helloagents "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter7/%E7%AC%AC%E4%B8%83%E7%AB%A0%20%E6%9E%84%E5%BB%BA%E4%BD%A0%E7%9A%84Agent%E6%A1%86%E6%9E%B6.md"
click node_memory "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter8/%E7%AC%AC%E5%85%AB%E7%AB%A0%20%E8%AE%B0%E5%BF%86%E4%B8%8E%E6%A3%80%E7%B4%A2.md"
click node_context "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter9/%E7%AC%AC%E4%B9%9D%E7%AB%A0%20%E4%B8%8A%E4%B8%8B%E6%96%87%E5%B7%A5%E7%A8%8B.md"
click node_protocols "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter10/%E7%AC%AC%E5%8D%81%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E9%80%9A%E4%BF%A1%E5%8D%8F%E8%AE%AE.md"
click node_training "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter11/%E7%AC%AC%E5%8D%81%E4%B8%80%E7%AB%A0%20Agentic-RL.md"
click node_evaluation "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter12/%E7%AC%AC%E5%8D%81%E4%BA%8C%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E6%80%A7%E8%83%BD%E8%AF%84%E4%BC%B0.md"
click node_travel "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter13/%E7%AC%AC%E5%8D%81%E4%B8%89%E7%AB%A0%20%E6%99%BA%E8%83%BD%E6%97%85%E8%A1%8C%E5%8A%A9%E6%89%8B.md"
click node_research "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter14/%E7%AC%AC%E5%8D%81%E5%9B%9B%E7%AB%A0%20%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B7%B1%E5%BA%A6%E7%A0%94%E7%A9%B6%E6%99%BA%E8%83%BD%E4%BD%93.md"
click node_town "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter15/%E7%AC%AC%E5%8D%81%E4%BA%94%E7%AB%A0%20%E6%9E%84%E5%BB%BA%E8%B5%9B%E5%8D%9A%E5%B0%8F%E9%95%87.md"
click node_capstone "https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter16/%E7%AC%AC%E5%8D%81%E5%85%AD%E7%AB%A0%20%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1.md"
click node_community "https://github.com/datawhalechina/hello-agents/tree/main/Co-creation-projects"
click node_interview "https://github.com/datawhalechina/hello-agents/blob/main/Extra-Chapter/Extra01-%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_intro,node_history,node_llm toneBlue
class node_patterns,node_lowcode,node_frameworks,node_helloagents toneAmber
class node_memory,node_context,node_protocols,node_training,node_evaluation,node_interview toneMint
class node_travel,node_research,node_town,node_capstone,node_community toneRose
class node_learner toneIndigo
```

## Components

### Foundations

- [Agent Basics](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter1/%E7%AC%AC%E4%B8%80%E7%AB%A0%20%E5%88%9D%E8%AF%86%E6%99%BA%E8%83%BD%E4%BD%93.md): `docs/chapter1/第一章 初识智能体.md`
- [Agent History](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter2/%E7%AC%AC%E4%BA%8C%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E5%8F%91%E5%B1%95%E5%8F%B2.md): `docs/chapter2/第二章 智能体发展史.md`
- [LLM Basics](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter3/%E7%AC%AC%E4%B8%89%E7%AB%A0%20%E5%A4%A7%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B%E5%9F%BA%E7%A1%80.md): `docs/chapter3/第三章 大语言模型基础.md`

### Agent Construction

- [Agent Patterns](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter4/%E7%AC%AC%E5%9B%9B%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E7%BB%8F%E5%85%B8%E8%8C%83%E5%BC%8F%E6%9E%84%E5%BB%BA.md): `docs/chapter4/第四章 智能体经典范式构建.md`
- [Low-Code Platforms](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter5/%E7%AC%AC%E4%BA%94%E7%AB%A0%20%E5%9F%BA%E4%BA%8E%E4%BD%8E%E4%BB%A3%E7%A0%81%E5%B9%B3%E5%8F%B0%E7%9A%84%E6%99%BA%E8%83%BD%E4%BD%93%E6%90%AD%E5%BB%BA.md): `docs/chapter5/第五章 基于低代码平台的智能体搭建.md`
- [Agent Frameworks](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter6/%E7%AC%AC%E5%85%AD%E7%AB%A0%20%E6%A1%86%E6%9E%B6%E5%BC%80%E5%8F%91%E5%AE%9E%E8%B7%B5.md): `docs/chapter6/第六章 框架开发实践.md`
- [HelloAgents Framework](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter7/%E7%AC%AC%E4%B8%83%E7%AB%A0%20%E6%9E%84%E5%BB%BA%E4%BD%A0%E7%9A%84Agent%E6%A1%86%E6%9E%B6.md): `docs/chapter7/第七章 构建你的Agent框架.md`

### Advanced Systems

- [Memory And RAG](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter8/%E7%AC%AC%E5%85%AB%E7%AB%A0%20%E8%AE%B0%E5%BF%86%E4%B8%8E%E6%A3%80%E7%B4%A2.md): `docs/chapter8/第八章 记忆与检索.md`
- [Context Engineering](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter9/%E7%AC%AC%E4%B9%9D%E7%AB%A0%20%E4%B8%8A%E4%B8%8B%E6%96%87%E5%B7%A5%E7%A8%8B.md): `docs/chapter9/第九章 上下文工程.md`
- [Agent Protocols](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter10/%E7%AC%AC%E5%8D%81%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E9%80%9A%E4%BF%A1%E5%8D%8F%E8%AE%AE.md): `docs/chapter10/第十章 智能体通信协议.md`
- [Agentic RL](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter11/%E7%AC%AC%E5%8D%81%E4%B8%80%E7%AB%A0%20Agentic-RL.md): `docs/chapter11/第十一章 Agentic-RL.md`
- [Agent Evaluation](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter12/%E7%AC%AC%E5%8D%81%E4%BA%8C%E7%AB%A0%20%E6%99%BA%E8%83%BD%E4%BD%93%E6%80%A7%E8%83%BD%E8%AF%84%E4%BC%B0.md): `docs/chapter12/第十二章 智能体性能评估.md`
- [Interview Preparation](https://github.com/datawhalechina/hello-agents/blob/main/Extra-Chapter/Extra01-%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93.md): `Extra-Chapter/Extra01-面试问题总结.md`

### Applied Projects

- [Travel Assistant](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter13/%E7%AC%AC%E5%8D%81%E4%B8%89%E7%AB%A0%20%E6%99%BA%E8%83%BD%E6%97%85%E8%A1%8C%E5%8A%A9%E6%89%8B.md): `docs/chapter13/第十三章 智能旅行助手.md`
- [Deep Research](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter14/%E7%AC%AC%E5%8D%81%E5%9B%9B%E7%AB%A0%20%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B7%B1%E5%BA%A6%E7%A0%94%E7%A9%B6%E6%99%BA%E8%83%BD%E4%BD%93.md): `docs/chapter14/第十四章 自动化深度研究智能体.md`
- [Cyber Town](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter15/%E7%AC%AC%E5%8D%81%E4%BA%94%E7%AB%A0%20%E6%9E%84%E5%BB%BA%E8%B5%9B%E5%8D%9A%E5%B0%8F%E9%95%87.md): `docs/chapter15/第十五章 构建赛博小镇.md`
- [Capstone Project](https://github.com/datawhalechina/hello-agents/blob/main/docs/chapter16/%E7%AC%AC%E5%8D%81%E5%85%AD%E7%AB%A0%20%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1.md): `docs/chapter16/第十六章 毕业设计.md`
- [Community Projects](https://github.com/datawhalechina/hello-agents/tree/main/Co-creation-projects): `Co-creation-projects`

### Other components

- **Learner**

## Connections

- Learner → Agent Basics: studies (evidence: `README.md`)
- Agent Basics → Agent History: continues to (evidence: `README.md`)
- Agent History → LLM Basics: continues to (evidence: `README.md`)
- LLM Basics → Agent Patterns: continues to (evidence: `README.md`)
- Agent Patterns → Low-Code Platforms: continues to (evidence: `README.md`)
- Low-Code Platforms → Agent Frameworks: continues to (evidence: `README.md`)
- Agent Frameworks → HelloAgents Framework: continues to (evidence: `README.md`)
- HelloAgents Framework → Memory And RAG: continues to (evidence: `README.md`)
- Memory And RAG → Context Engineering: continues to (evidence: `README.md`)
- Context Engineering → Agent Protocols: continues to (evidence: `README.md`)
- Agent Protocols → Agentic RL: continues to (evidence: `README.md`)
- Agentic RL → Agent Evaluation: continues to (evidence: `README.md`)
- Agent Evaluation → Travel Assistant: continues to (evidence: `README.md`)
- Travel Assistant → Deep Research: continues to (evidence: `README.md`)
- Deep Research → Cyber Town: continues to (evidence: `README.md`)
- Cyber Town → Capstone Project: continues to (evidence: `README.md`)
- Learner → Community Projects: explores (evidence: `README.md`)
- Learner → Interview Preparation: prepares with (evidence: `README.md`)
