datawhalechina/hello-agentsPublic

📚 《从零开始构建智能体》——从零开始的智能体原理与实践教程

AI summary: A comprehensive, open-source tutorial project for understanding and building AI agents from scratch.

Stars
81.7K
+164 today
Forks
10.1K
Watchers
229
Open issues
77
Open PRs
30
Contributors
~118
Commits
886
Branches
17

PythonOtherCreated Sep 7, 2025Last push 5d agoLatest release V1.0.3+794 stars this week+4.7K this month

Quick answers

What is hello-agents?
A comprehensive, open-source tutorial project for understanding and building AI agents from scratch.
What does hello-agents do?
Hello-Agents serves as a highly structured educational resource designed to guide developers from foundational concepts to building complex AI-native agents. It systematically breaks down the core architecture of Large Language Model agents, deeply exploring components like memory, planning, tool usage, and environmental interaction. Moving beyond low-code flow builders, the tutorial provides hands-on code examples utilizing raw APIs to construct custom agentic frameworks. It bridges the critical gap between basic prompt engineering and the practical implementation of robust, autonomous AI systems capable of executing complex workflows.
Who is hello-agents for?
Students, curious developers, and AI enthusiasts eager to understand how to build true autonomous agents. It assumes a basic understanding of Python and LLM usage but requires no prior agent experience.
How do I get started with hello-agents?
git clone https://github.com/datawhalechina/hello-agents.git
How popular is hello-agents on GitHub?
datawhalechina/hello-agents has 81,668 stars and 10,144 forks on GitHub, and gained 794 stars in the last 7 days.
What license does hello-agents use?
datawhalechina/hello-agents is released under the Other license.

Star history

since Jul 29, 2026
025K50K75KJul 2026Aug 2026Sep 2026Oct 2026
81.7K stars as of Oct 4, 2026. Measured daily since Jul 29, 2026; GitHub no longer exposes earlier star timestamps.

Contribution activity

commits per day, last 52 weeks
OctNovDecJanFebMarAprMayJunJulAugSepMonWedFri2025-10-05: 1 commit2025-10-06: 0 commits2025-10-07: 2 commits2025-10-08: 0 commits2025-10-09: 6 commits2025-10-10: 0 commits2025-10-11: 4 commits2025-10-12: 2 commits2025-10-13: 1 commit2025-10-14: 7 commits2025-10-15: 6 commits2025-10-16: 8 commits2025-10-17: 1 commit2025-10-18: 15 commits2025-10-19: 19 commits2025-10-20: 19 commits2025-10-21: 13 commits2025-10-22: 7 commits2025-10-23: 10 commits2025-10-24: 2 commits2025-10-25: 12 commits2025-10-26: 11 commits2025-10-27: 7 commits2025-10-28: 4 commits2025-10-29: 0 commits2025-10-30: 8 commits2025-10-31: 1 commit2025-11-01: 1 commit2025-11-02: 11 commits2025-11-03: 13 commits2025-11-04: 6 commits2025-11-05: 8 commits2025-11-06: 10 commits2025-11-07: 1 commit2025-11-08: 2 commits2025-11-09: 3 commits2025-11-10: 4 commits2025-11-11: 10 commits2025-11-12: 2 commits2025-11-13: 2 commits2025-11-14: 4 commits2025-11-15: 2 commits2025-11-16: 1 commit2025-11-17: 3 commits2025-11-18: 1 commit2025-11-19: 0 commits2025-11-20: 0 commits2025-11-21: 2 commits2025-11-22: 5 commits2025-11-23: 1 commit2025-11-24: 4 commits2025-11-25: 7 commits2025-11-26: 2 commits2025-11-27: 1 commit2025-11-28: 1 commit2025-11-29: 0 commits2025-11-30: 3 commits2025-12-01: 4 commits2025-12-02: 1 commit2025-12-03: 0 commits2025-12-04: 0 commits2025-12-05: 1 commit2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 3 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 3 commits2025-12-12: 1 commit2025-12-13: 1 commit2025-12-14: 5 commits2025-12-15: 0 commits2025-12-16: 1 commit2025-12-17: 4 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 5 commits2025-12-21: 4 commits2025-12-22: 2 commits2025-12-23: 2 commits2025-12-24: 3 commits2025-12-25: 0 commits2025-12-26: 8 commits2025-12-27: 1 commit2025-12-28: 0 commits2025-12-29: 3 commits2025-12-30: 5 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 2 commits2026-01-03: 0 commits2026-01-04: 1 commit2026-01-05: 1 commit2026-01-06: 2 commits2026-01-07: 1 commit2026-01-08: 2 commits2026-01-09: 6 commits2026-01-10: 2 commits2026-01-11: 1 commit2026-01-12: 5 commits2026-01-13: 7 commits2026-01-14: 9 commits2026-01-15: 6 commits2026-01-16: 0 commits2026-01-17: 1 commit2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 1 commit2026-01-22: 1 commit2026-01-23: 3 commits2026-01-24: 1 commit2026-01-25: 7 commits2026-01-26: 0 commits2026-01-27: 2 commits2026-01-28: 1 commit2026-01-29: 0 commits2026-01-30: 4 commits2026-01-31: 2 commits2026-02-01: 0 commits2026-02-02: 4 commits2026-02-03: 0 commits2026-02-04: 0 commits2026-02-05: 0 commits2026-02-06: 0 commits2026-02-07: 3 commits2026-02-08: 0 commits2026-02-09: 2 commits2026-02-10: 9 commits2026-02-11: 0 commits2026-02-12: 0 commits2026-02-13: 0 commits2026-02-14: 0 commits2026-02-15: 1 commit2026-02-16: 0 commits2026-02-17: 0 commits2026-02-18: 0 commits2026-02-19: 0 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 3 commits2026-02-26: 5 commits2026-02-27: 1 commit2026-02-28: 0 commits2026-03-01: 6 commits2026-03-02: 1 commit2026-03-03: 0 commits2026-03-04: 1 commit2026-03-05: 0 commits2026-03-06: 1 commit2026-03-07: 0 commits2026-03-08: 0 commits2026-03-09: 2 commits2026-03-10: 0 commits2026-03-11: 0 commits2026-03-12: 0 commits2026-03-13: 1 commit2026-03-14: 0 commits2026-03-15: 0 commits2026-03-16: 0 commits2026-03-17: 1 commit2026-03-18: 1 commit2026-03-19: 0 commits2026-03-20: 0 commits2026-03-21: 0 commits2026-03-22: 0 commits2026-03-23: 0 commits2026-03-24: 2 commits2026-03-25: 1 commit2026-03-26: 1 commit2026-03-27: 0 commits2026-03-28: 1 commit2026-03-29: 0 commits2026-03-30: 0 commits2026-03-31: 0 commits2026-04-01: 0 commits2026-04-02: 0 commits2026-04-03: 0 commits2026-04-04: 0 commits2026-04-05: 0 commits2026-04-06: 0 commits2026-04-07: 0 commits2026-04-08: 0 commits2026-04-09: 1 commit2026-04-10: 3 commits2026-04-11: 1 commit2026-04-12: 1 commit2026-04-13: 0 commits2026-04-14: 1 commit2026-04-15: 0 commits2026-04-16: 2 commits2026-04-17: 1 commit2026-04-18: 0 commits2026-04-19: 1 commit2026-04-20: 0 commits2026-04-21: 1 commit2026-04-22: 0 commits2026-04-23: 0 commits2026-04-24: 2 commits2026-04-25: 0 commits2026-04-26: 1 commit2026-04-27: 2 commits2026-04-28: 1 commit2026-04-29: 4 commits2026-04-30: 0 commits2026-05-01: 0 commits2026-05-02: 3 commits2026-05-03: 0 commits2026-05-04: 0 commits2026-05-05: 0 commits2026-05-06: 0 commits2026-05-07: 3 commits2026-05-08: 0 commits2026-05-09: 1 commit2026-05-10: 0 commits2026-05-11: 0 commits2026-05-12: 1 commit2026-05-13: 0 commits2026-05-14: 2 commits2026-05-15: 0 commits2026-05-16: 4 commits2026-05-17: 0 commits2026-05-18: 3 commits2026-05-19: 1 commit2026-05-20: 0 commits2026-05-21: 0 commits2026-05-22: 1 commit2026-05-23: 0 commits2026-05-24: 1 commit2026-05-25: 1 commit2026-05-26: 2 commits2026-05-27: 0 commits2026-05-28: 0 commits2026-05-29: 0 commits2026-05-30: 1 commit2026-05-31: 1 commit2026-06-01: 0 commits2026-06-02: 1 commit2026-06-03: 0 commits2026-06-04: 7 commits2026-06-05: 0 commits2026-06-06: 0 commits2026-06-07: 0 commits2026-06-08: 1 commit2026-06-09: 0 commits2026-06-10: 0 commits2026-06-11: 1 commit2026-06-12: 1 commit2026-06-13: 0 commits2026-06-14: 0 commits2026-06-15: 0 commits2026-06-16: 1 commit2026-06-17: 1 commit2026-06-18: 1 commit2026-06-19: 0 commits2026-06-20: 0 commits2026-06-21: 0 commits2026-06-22: 0 commits2026-06-23: 0 commits2026-06-24: 0 commits2026-06-25: 1 commit2026-06-26: 0 commits2026-06-27: 0 commits2026-06-28: 0 commits2026-06-29: 0 commits2026-06-30: 0 commits2026-07-01: 0 commits2026-07-02: 0 commits2026-07-03: 1 commit2026-07-04: 0 commits2026-07-05: 1 commit2026-07-06: 0 commits2026-07-07: 0 commits2026-07-08: 0 commits2026-07-09: 0 commits2026-07-10: 1 commit2026-07-11: 1 commit2026-07-12: 0 commits2026-07-13: 1 commit2026-07-14: 0 commits2026-07-15: 0 commits2026-07-16: 0 commits2026-07-17: 0 commits2026-07-18: 0 commits2026-07-19: 1 commit2026-07-20: 0 commits2026-07-21: 1 commit2026-07-22: 0 commits2026-07-23: 0 commits2026-07-24: 0 commits2026-07-25: 0 commits2026-07-26: 0 commits2026-07-27: 0 commits2026-07-28: 0 commits2026-07-29: 1 commit2026-07-30: 1 commit2026-07-31: 3 commits2026-08-01: 1 commit2026-08-02: 0 commits2026-08-03: 2 commits2026-08-04: 1 commit2026-08-05: 0 commits2026-08-06: 1 commit2026-08-07: 1 commit2026-08-08: 0 commits2026-08-09: 0 commits2026-08-10: 0 commits2026-08-11: 0 commits2026-08-12: 1 commit2026-08-13: 0 commits2026-08-14: 2 commits2026-08-15: 0 commits2026-08-16: 0 commits2026-08-17: 0 commits2026-08-18: 1 commit2026-08-19: 0 commits2026-08-20: 0 commits2026-08-21: 1 commit2026-08-22: 0 commits2026-08-23: 0 commits2026-08-24: 0 commits2026-08-25: 1 commit2026-08-26: 0 commits2026-08-27: 0 commits2026-08-28: 0 commits2026-08-29: 1 commit2026-08-30: 0 commits2026-08-31: 0 commits2026-09-01: 0 commits2026-09-02: 0 commits2026-09-03: 1 commit2026-09-04: 0 commits2026-09-05: 1 commit2026-09-06: 0 commits2026-09-07: 1 commit2026-09-08: 0 commits2026-09-09: 0 commits2026-09-10: 0 commits2026-09-11: 0 commits2026-09-12: 0 commits2026-09-13: 0 commits2026-09-14: 0 commits2026-09-15: 0 commits2026-09-16: 1 commit2026-09-17: 1 commit2026-09-18: 0 commits2026-09-19: 0 commits2026-09-20: 1 commit2026-09-21: 1 commit2026-09-22: 1 commit2026-09-23: 0 commits2026-09-24: 0 commits2026-09-25: 0 commits2026-09-26: 0 commits2026-09-27: 0 commits2026-09-28: 0 commits2026-09-29: 0 commits2026-09-30: 0 commits2026-10-01: 0 commits2026-10-02: 0 commits2026-10-03: 0 commits
543 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    81,668 stars

  • Very active

    543 commits in 52 weeks

  • Community-driven

    ~118 contributors

  • Continuous integration

    Automated checks passing

  • Repeat trending

    8 trending appearances

  • Top 10% tracked

    Rank 100 of 1135

What hello-agents does

Hello-Agents serves as a highly structured educational resource designed to guide developers from foundational concepts to building complex AI-native agents. It systematically breaks down the core architecture of Large Language Model agents, deeply exploring components like memory, planning, tool usage, and environmental interaction. Moving beyond low-code flow builders, the tutorial provides hands-on code examples utilizing raw APIs to construct custom agentic frameworks. It bridges the critical gap between basic prompt engineering and the practical implementation of robust, autonomous AI systems capable of executing complex workflows.

Students, curious developers, and AI enthusiasts eager to understand how to build true autonomous agents. It assumes a basic understanding of Python and LLM usage but requires no prior agent experience.

  • Structured curriculum: Offers a highly logical progression from the historical concepts of AI agents to very advanced, modern architectural implementations.
  • Practical implementation: Provides numerous working code snippets that explicitly demonstrate how to equip LLMs with external tools and memory.
  • Framework agnostic: Focuses entirely on teaching the underlying theoretical concepts rather than relying on a single, specific third-party library.
  • Custom framework creation: Guides users step-by-step to build their own lightweight agentic framework directly from the native OpenAI API.
  • Component deep-dive: Meticulously explores the specific functions of the reasoning engine, action space, and environmental context within an agent.

Where teams use it

Fundamentals learning

Students studying the core theoretical concepts of how autonomous AI systems perceive their environments and plan sequences of actions.

Custom agent building

Developers following the hands-on tutorials to program simple, completely autonomous agents from scratch using basic Python scripts.

Tool integration

Engineers explicitly practicing how to seamlessly connect an LLM to external APIs, calculators, or web search functions.

Course material

Educators utilizing the repository as a structured reference curriculum for study groups focused on modern AI application development.

Getting started: git clone https://github.com/datawhalechina/hello-agents.git

README

main branch
English | 中文
alt text

Hello-Agents

🤖 《从零开始构建智能体》

从基础理论到实际应用,全面掌握智能体系统的设计与实现

GitHub stars GitHub forks Language GitHub Project Online Reading

🎯 项目介绍

  如果说 2024 年是"百模大战"的元年,那么 2025 年无疑开启了"Agent 元年"。技术的焦点正从训练更大的基础模型,转向构建更聪明的智能体应用。然而,当前系统性、重实践的教程却极度匮乏。为此,我们发起了 Hello-Agents 项目,希望能为社区提供一本从零开始、理论与实战并重的智能体系统构建指南。

  Hello-Agents 是 Datawhale 社区的系统性智能体学习教程。如今 Agent 构建主要分为两派,一派是 Dify,Coze,n8n 这类软件工程类 Agent,其本质是流程驱动的软件开发,LLM 作为数据处理的后端;另一派则是 AI 原生的 Agent,即真正以 AI 驱动的 Agent。本教程旨在带领大家深入理解并构建后者——真正的 AI Native Agent。教程将带领你穿透框架表象,从智能体的核心原理出发,深入其核心架构,理解其经典范式,并最终亲手构建起属于自己的多智能体应用。我们相信,最好的学习方式就是动手实践。希望这本教程能成为你探索智能体世界的起点,能够从一名大语言模型的"使用者",蜕变为一名智能体系统的"构建者"。

📚 快速开始

在线阅读

🌐 国外访问 | 🚀 国内加速 - 无需下载,随时随地学习

本地阅读

如果您希望在本地阅读或贡献内容,请参考下方的学习指南。

✨ 你将收获什么?

  • 📖 Datawhale 开源免费 完全免费学习本项目所有内容,与社区共同成长
  • 🔍 理解核心原理 深入理解智能体的概念、历史与经典范式
  • 🏗️ 亲手实现 掌握热门低代码平台和智能体代码框架的使用
  • 🛠️ 自研框架 HelloAgents 基于 Openai 原生 API 从零构建一个自己的智能体框架
  • ⚙️ 掌握高级技能 一步步实现上下文工程、Memory、协议、评估等系统性技术
  • 🤝 模型训练 掌握 Agentic RL,从 SFT 到 GRPO 的全流程实战训练 LLM
  • 🚀 驱动真实案例 实战开发智能旅行助手、赛博小镇等综合项目
  • 📖 求职面试 学习智能体求职相关面试问题

📖 内容导航

章节 关键内容 状态
前言 项目的缘起、背景及读者建议 ✅
第一部分:智能体与语言模型基础
第一章 初识智能体 智能体定义、类型、范式与应用 ✅
第二章 智能体发展史 从符号主义到 LLM 驱动的智能体演进 ✅
第三章 大语言模型基础 Transformer、提示、主流 LLM 及其局限 ✅
第二部分:构建你的大语言模型智能体
第四章 智能体经典范式构建 手把手实现 ReAct、Plan-and-Solve、Reflection ✅
第五章 基于低代码平台的智能体搭建 了解 Coze、Dify、n8n 等低代码智能体平台使用 ✅
第六章 框架开发实践 AutoGen、AgentScope、LangGraph 等主流框架应用 ✅
第七章 构建你的Agent框架 从 0 开始构建智能体框架 ✅
第三部分:高级知识扩展
第八章 记忆与检索 记忆系统,RAG,存储 ✅
第九章 上下文工程 持续交互的"情境理解" ✅
第十章 智能体通信协议 MCP、A2A、ANP 等协议解析 ✅
第十一章 Agentic-RL 从 SFT 到 GRPO 的 LLM 训练实战 ✅
第十二章 智能体性能评估 核心指标、基准测试与评估框架 ✅
第四部分:综合案例进阶
第十三章 智能旅行助手 MCP 与多智能体协作的真实世界应用 ✅
第十四章 自动化深度研究智能体 DeepResearch Agent 复现与解析 ✅
第十五章 构建赛博小镇 Agent 与游戏的结合,模拟社会动态 ✅
第五部分:毕业设计及未来展望
第十六章 毕业设计 构建属于你的完整多智能体应用 ✅

社区贡献精选 (Community Blog)

  欢迎大家将在学习 Hello-Agents 或 Agent 相关技术中的独到见解、实践总结,以 PR 的形式贡献到社区精选。如果是独立于正文的内容,也可以投稿至 Extra-Chapter!期待你的第一次贡献!

社区精选 内容总结
00-共创毕业设计 社区共创毕业设计项目
01-Agent面试题总结 Agent 岗位相关面试问题
01-Agent面试题答案 相关面试问题答案
02-上下文工程内容补充 上下文工程内容扩展
03-Dify智能体创建保姆级教程 Dify智能体创建保姆级教程
04-Hello-agents课程常见问题 Datawhale课程常见问题
05-Agent Skills与MCP对比解读 Agent Skills与MCP技术对比
06-GUI Agent科普与实战 GUI Agent科普与多场景实战
07-环境配置 环境配置
08-如何写出好的Skill Skill 写作最佳实践
09-Agent应用开发实践踩坑与经验分享 Code Agent 应用开发踩坑与经验总结
10-Agent Self-Evolution智能体自进化 Agent 自进化四类闭环与代表项目
11-WebAgent科普与实战 Web Agent 原理、反爬实战与 HelloAgents 集成
12-旅行助手后训练实战 把旅行助手 Demo 打磨成能用的 Planner
13-Hello-Agents视频课录制共创 视频课程共创录制资源

PDF 版本下载

  本 Hello-Agents PDF 教程完全开源免费。为防止各类营销号加水印后贩卖给多智能体系统初学者,我们特地在 PDF 文件中预先添加了不影响阅读的 Datawhale 开源标志水印,敬请谅解~

Hello-Agents PDF : https://github.com/datawhalechina/hello-agents/releases/latest/
Hello-Agents PDF 国内下载地址 : https://www.datawhale.cn/learn/summary/239

💡 如何学习

  欢迎你,未来的智能系统构建者!在开启这段激动人心的旅程之前,请允许我们给你一些清晰的指引。

  本项目内容兼顾理论与实战,旨在帮助你系统性地掌握从单个智能体到多智能体系统的设计与开发全流程。因此,尤其适合有一定编程基础的 AI 开发者、软件工程师、在校学生 以及对前沿 AI 技术抱有浓厚兴趣的 自学者。在学习本项目之前,我们希望你具备基础的 Python 编程能力,并对大语言模型有基本的概念性了解(例如,知道如何通过 API 调用一个 LLM)。项目的重点是应用与构建,因此你无需具备深厚的算法或模型训练背景。

  项目分为五大部分,每一部分都是通往下一阶段的坚实阶梯:

  • 第一部分:智能体与语言模型基础(第一章~第三章),我们将从智能体的定义、类型与发展历史讲起,为你梳理"智能体"这一概念的来龙去脉。随后,我们会快速巩固大语言模型的核心知识,为你的实践之旅打下坚实的理论地基。

  • 第二部分:构建你的大语言模型智能体(第四章~第七章),这是你动手实践的起点。你将亲手实现 ReAct 等经典范式,体验 Coze 等低代码平台的便捷,并掌握 Langgraph 等主流框架的应用。最终,我们还会带你从零开始构建一个属于自己的智能体框架,让你兼具“用轮子”与“造轮子”的能力。

  • 第三部分:高级知识扩展(第八章~第十二章),在这一部分,你的智能体将“学会”思考与协作。我们将使用第二部分的自研框架,深入探索记忆与检索、上下文工程、Agent 训练等核心技术,并学习多智能体间的通信协议。最终,你将掌握评估智能体系统性能的专业方法。

  • 第四部分:综合案例进阶(第十三章~第十五章),这里是理论与实践的交汇点。你将把所学融会贯通,亲手打造智能旅行助手、自动化深度研究智能体,乃至一个模拟社会动态的赛博小镇,在真实有趣的项目中淬炼你的构建能力。

  • 第五部分:毕业设计及未来展望(第十六章),在旅程的终点,你将迎来一个毕业设计,构建一个完整的、属于你自己的多智能体应用,全面检验你的学习成果。我们还将与你一同展望智能体的未来,探索激动人心的前沿方向。

  智能体是一个飞速发展且极度依赖实践的领域。为了获得最佳的学习效果,我们在项目的code文件夹内提供了配套的全部代码,强烈建议你将理论与实践相结合。请务必亲手运行、调试甚至修改项目里提供的每一份代码。欢迎你随时关注 Datawhale 以及其他 Agent 相关社区,当遇到问题时,你可以随时在本项目的 issue 区提问。

  现在,准备好进入智能体的奇妙世界了吗?让我们即刻启程!

下一步规划

  • 视频课程陆续放出(将会更加细致,实践课带领大家从设计思路到实施,授人以鱼也授人以渔)
  • HelloAgents框架已经更新V1.0.0版本,将会继续完善,增加更多好用,轻量化的工具和特性,兼容学习版本。
  • 2026年5月更新智能体最新学习路线, 点击 查询
  • 感谢大家助力7W Star! 现在提供调查问卷,供大家填写自己需要学习的智能体内容。后续作品《从零开始训练智能体》,帮助每一个学习者掌握从零到一训练自定义场景智能体模型的能力。
读者反馈问卷

扫描二维码填写反馈意见,助力新项目共同成长

🤝 如何贡献

我们是一个开放的开源社区,欢迎任何形式的贡献!

  • 🐛 报告 Bug - 发现内容或代码问题,请提交 Issue
  • 💡 提出建议 - 对项目有好想法,欢迎发起讨论
  • 📝 完善内容 - 帮助改进教程,提交你的 Pull Request
  • ✍️ 分享实践 - 在"社区贡献精选"中分享你的学习笔记和项目

🙏 致谢

核心贡献者

Extra-Chapter 贡献者

特别感谢

  • 感谢 @Sm1les 对本项目的帮助与支持
  • 感谢所有为本项目做出贡献的开发者们 ❤️

Star History

Datawhale

⭐ 如果这个项目对你有帮助,请给我们一个 Star!

读者交流群

读者群二维码

扫描二维码加入读者交流群,与更多学习者交流讨论

关于 Datawhale

Datawhale

扫描二维码关注 Datawhale 公众号,获取更多优质开源内容

🎓 引用

如果 Hello-Agents 对您的研究或工作有所帮助,欢迎引用:

@misc{hello_agents2025,
  title  = {Hello-Agents: Building an AI Agent from Scratch},
  author = {Sizhou Chen and Tao Sun and Shufan Jiang and Peilin Huang and Xinmin Zeng and Hao Hu and Xinzhong Zhu and all Hello-Agents contributors},
  year   = {2025},
  url    = {https://github.com/datawhalechina/Hello-Agents},
  note   = {GitHub repository}
}

📜 开源协议

本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可。

View on GitHub

Recent activity

commits and pull requests

Discussions

all 157

Releases and announcements

3 total
  1. Hello-Agents V1.0.3 20260717V1.0.3Jul 17, 20269.4K downloads

    基于 2026 年 7 月 17 日最新内容制作的 Hello-Agents V1.0.3 中英文 PDF 正式发布! > 本次更新以修正文档问题、优化内容细节和提升阅读体验为主。同步收录自 V1.0.2 发布以来的文档修订,修复了页面显示、内容表述、代码示例及链接导航等问题。整体章节结构与内容体量变化不大。 ### 本次更新 - 同步 Hello-Agents 项目截至 2026 年 7 月 17 日的最新正文 - 修复 V1.0.2 发布以来发现的文档 Bug 与内容错误 - 优化部分代码、公式、图片和页面显示效果 - PDF 内容导航改为 GitHub 绝对地址,可直接点击访问对应章节 - 同步更新中文与英文版本 - PDF 仅保留教程正文,不包含 Extra Chapter 本 Hello-Agents PDF 教程完全开源免费。为防止各类营销号添加水印后向智能体系统初学者倒卖,我们在正式发布的 PDF 文件中预先添加了不影响阅读的 Datawhale 开源标志水印,敬请谅解~ This Hello-Agents PDF tutorial is completely open source and free. To prevent third parties from adding their own watermarks and reselling it to beginners, we have included a subtle Datawhale open-source watermark in the official PDF files without affecting readability. Thank you for your understanding. 在线阅读地址:https://datawhalechina.github.io/hello-agents Hello-Agents:https://github.com/datawhalechina/hello-agents Datawhale:https://www.datawhale.cn/home Hello-Agents PDF 国内下载地址:https://www.datawhale.cn/learn/summary/239

  2. Hello-agents V1.0.2 20260210V1.0.2Feb 10, 202613.6K downloads

    基于2026年2月10日为止的 Hello-Agents 全新PDF发布! > 修复了在项目发布后的三个月内所有的页面显示问题、事实错误问题、代码报错问题等等... 本 Hello-Agents PDF 教程完全开源免费。为防止各类营销号加水印后贩卖给多智能体系统初学者,我们特地在 PDF 文件中预先添加了不影响阅读的 Datawhale 开源标志水印,敬请谅解~ This Hello-Agents PDF tutorial is completely open source and free. To prevent various marketing accounts from adding watermarks and reselling it to beginners of multi-agent systems, we have specially added a Datawhale open-source watermark to the PDF file without affecting readability. Thank you for your understanding. 在线阅读地址:https://datawhalechina.github.io/hello-agents Hello-agents:https://github.com/datawhalechina/hello-agents Datawhale :https://www.datawhale.cn/home Hello-agents PDF 国内下载地址 : https://www.datawhale.cn/learn/summary/239

  3. Hello-agents V1.0.0 20251103V1.0.0Nov 3, 202510.5K downloads

    _**本 Hello-Agents PDF 教程完全开源免费。为防止各类营销号加水印后贩卖给多智能体系统初学者,我们特地在 PDF 文件中预先添加了不影响阅读的 Datawhale 开源标志水印,敬请谅解~**_ **_This Hello-Agents PDF tutorial is completely open source and free. To prevent various marketing accounts from adding watermarks and reselling it to beginners of multi-agent systems, we have specially added a Datawhale open-source watermark to the PDF file without affecting readability. Thank you for your understanding._** > 在线阅读地址:https://datawhalechina.github.io/hello-agents Hello-agents:https://github.com/datawhalechina/hello-agents Datawhale :https://www.datawhale.cn/home Hello-agents PDF 国内下载地址 : https://www.datawhale.cn/learn/summary/239

Code frequency

additions and deletions
+34.1K-34.1KWeek of 2025-10-05: +13,088 linesWeek of 2025-10-05: -350 linesWeek of 2025-10-12: +27,525 linesWeek of 2025-10-12: -2,937 linesWeek of 2025-10-19: +17,656 linesWeek of 2025-10-19: -1,384 linesWeek of 2025-10-26: +7,934 linesWeek of 2025-10-26: -8,055 linesWeek of 2025-11-02: +34,081 linesWeek of 2025-11-02: -2,173 linesWeek of 2025-11-09: +4,895 linesWeek of 2025-11-09: -305 linesWeek of 2025-11-16: +11,079 linesWeek of 2025-11-16: -4,463 linesWeek of 2025-11-23: +20,874 linesWeek of 2025-11-23: -849 linesWeek of 2025-11-30: +759 linesWeek of 2025-11-30: -610 linesWeek of 2025-12-07: +4,858 linesWeek of 2025-12-07: -2,435 linesWeek of 2025-12-14: +2,490 linesWeek of 2025-12-14: -1,621 linesWeek of 2025-12-21: +20,668 linesWeek of 2025-12-21: -68 linesWeek of 2025-12-28: +13,548 linesWeek of 2025-12-28: -237 linesWeek of 2026-01-04: +829 linesWeek of 2026-01-04: -742 linesWeek of 2026-01-11: +3,928 linesWeek of 2026-01-11: -287 linesWeek of 2026-01-18: +3,857 linesWeek of 2026-01-18: -3,816 linesWeek of 2026-01-25: +17,264 linesWeek of 2026-01-25: -5,843 linesWeek of 2026-02-01: +1,150 linesWeek of 2026-02-01: -1,059 linesWeek of 2026-02-08: +55 linesWeek of 2026-02-08: -42 linesWeek of 2026-02-15: +753 linesWeek of 2026-02-15: -0 linesWeek of 2026-02-22: +3,774 linesWeek of 2026-02-22: -2,424 linesWeek of 2026-03-01: +17,741 linesWeek of 2026-03-01: -1,236 linesWeek of 2026-03-08: +90 linesWeek of 2026-03-08: -107 linesWeek of 2026-03-15: +5,129 linesWeek of 2026-03-15: -3 linesWeek of 2026-03-22: +4,923 linesWeek of 2026-03-22: -24 linesWeek of 2026-03-29: +0 linesWeek of 2026-03-29: -0 linesWeek of 2026-04-05: +2,822 linesWeek of 2026-04-05: -14 linesWeek of 2026-04-12: +6,217 linesWeek of 2026-04-12: -2 linesWeek of 2026-04-19: +3,880 linesWeek of 2026-04-19: -244 linesWeek of 2026-04-26: +8,690 linesWeek of 2026-04-26: -6 linesWeek of 2026-05-03: +26,354 linesWeek of 2026-05-03: -6 linesWeek of 2026-05-10: +4,127 linesWeek of 2026-05-10: -127 linesWeek of 2026-05-17: +224 linesWeek of 2026-05-17: -132 linesWeek of 2026-05-24: +4,667 linesWeek of 2026-05-24: -4,556 linesWeek of 2026-05-31: +31,128 linesWeek of 2026-05-31: -4,245 linesWeek of 2026-06-07: +30 linesWeek of 2026-06-07: -30 linesWeek of 2026-06-14: +1,618 linesWeek of 2026-06-14: -5 linesWeek of 2026-06-21: +30 linesWeek of 2026-06-21: -19 linesWeek of 2026-06-28: +363 linesWeek of 2026-06-28: -0 linesWeek of 2026-07-05: +1,123 linesWeek of 2026-07-05: -6 linesWeek of 2026-07-12: +25,553 linesWeek of 2026-07-12: -0 linesWeek of 2026-07-19: +3,325 linesWeek of 2026-07-19: -1 linesWeek of 2026-07-26: +31,561 linesWeek of 2026-07-26: -10 linesWeek of 2026-08-02: +883 linesWeek of 2026-08-02: -36 linesWeek of 2026-08-09: +29,321 linesWeek of 2026-08-09: -153 linesWeek of 2026-08-16: +7,059 linesWeek of 2026-08-16: -4 linesWeek of 2026-08-23: +1,996 linesWeek of 2026-08-23: -5 linesWeek of 2026-08-30: +2,470 linesWeek of 2026-08-30: -0 linesWeek of 2026-09-06: +5,797 linesWeek of 2026-09-06: -0 linesWeek of 2026-09-13: +2,806 linesWeek of 2026-09-13: -3 linesWeek of 2026-09-20: +2,172 linesWeek of 2026-09-20: -289 linesWeek of 2026-09-27: +0 linesWeek of 2026-09-27: -0 linesOct 5, 2025Sep 27, 2026
+443.2K lines added, -51K removed over the last year.

Commits per week

last 52 weeks
820Week of 2025-10-05: 13 commitsWeek of 2025-10-12: 40 commitsWeek of 2025-10-19: 82 commitsWeek of 2025-10-26: 32 commitsWeek of 2025-11-02: 51 commitsWeek of 2025-11-09: 27 commitsWeek of 2025-11-16: 12 commitsWeek of 2025-11-23: 16 commitsWeek of 2025-11-30: 9 commitsWeek of 2025-12-07: 8 commitsWeek of 2025-12-14: 15 commitsWeek of 2025-12-21: 20 commitsWeek of 2025-12-28: 10 commitsWeek of 2026-01-04: 15 commitsWeek of 2026-01-11: 29 commitsWeek of 2026-01-18: 6 commitsWeek of 2026-01-25: 16 commitsWeek of 2026-02-01: 7 commitsWeek of 2026-02-08: 11 commitsWeek of 2026-02-15: 1 commitsWeek of 2026-02-22: 9 commitsWeek of 2026-03-01: 9 commitsWeek of 2026-03-08: 3 commitsWeek of 2026-03-15: 2 commitsWeek of 2026-03-22: 5 commitsWeek of 2026-03-29: 0 commitsWeek of 2026-04-05: 5 commitsWeek of 2026-04-12: 5 commitsWeek of 2026-04-19: 4 commitsWeek of 2026-04-26: 11 commitsWeek of 2026-05-03: 4 commitsWeek of 2026-05-10: 7 commitsWeek of 2026-05-17: 5 commitsWeek of 2026-05-24: 5 commitsWeek of 2026-05-31: 9 commitsWeek of 2026-06-07: 3 commitsWeek of 2026-06-14: 3 commitsWeek of 2026-06-21: 1 commitsWeek of 2026-06-28: 1 commitsWeek of 2026-07-05: 3 commitsWeek of 2026-07-12: 1 commitsWeek of 2026-07-19: 2 commitsWeek of 2026-07-26: 6 commitsWeek of 2026-08-02: 5 commitsWeek of 2026-08-09: 3 commitsWeek of 2026-08-16: 2 commitsWeek of 2026-08-23: 2 commitsWeek of 2026-08-30: 2 commitsWeek of 2026-09-06: 1 commitsWeek of 2026-09-13: 2 commitsWeek of 2026-09-20: 3 commitsWeek of 2026-09-27: 0 commitsOct 5, 2025Sep 27, 2026
543 commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 5 commitsSun 1:00 — 3 commitsSun 2:00 — 0 commitsSun 3:00 — 3 commitsSun 4:00 — 1 commitsSun 5:00 — 0 commitsSun 6:00 — 0 commitsSun 7:00 — 0 commitsSun 8:00 — 0 commitsSun 9:00 — 0 commitsSun 10:00 — 2 commitsSun 11:00 — 0 commitsSun 12:00 — 0 commitsSun 13:00 — 1 commitsSun 14:00 — 0 commitsSun 15:00 — 8 commitsSun 16:00 — 11 commitsSun 17:00 — 13 commitsSun 18:00 — 10 commitsSun 19:00 — 5 commitsSun 20:00 — 5 commitsSun 21:00 — 18 commitsSun 22:00 — 21 commitsSun 23:00 — 5 commitsMon 0:00 — 9 commitsMon 1:00 — 5 commitsMon 2:00 — 8 commitsMon 3:00 — 0 commitsMon 4:00 — 0 commitsMon 5:00 — 0 commitsMon 6:00 — 0 commitsMon 7:00 — 0 commitsMon 8:00 — 0 commitsMon 9:00 — 1 commitsMon 10:00 — 1 commitsMon 11:00 — 7 commitsMon 12:00 — 7 commitsMon 13:00 — 5 commitsMon 14:00 — 3 commitsMon 15:00 — 10 commitsMon 16:00 — 10 commitsMon 17:00 — 7 commitsMon 18:00 — 8 commitsMon 19:00 — 5 commitsMon 20:00 — 12 commitsMon 21:00 — 6 commitsMon 22:00 — 2 commitsMon 23:00 — 10 commitsTue 0:00 — 6 commitsTue 1:00 — 13 commitsTue 2:00 — 1 commitsTue 3:00 — 2 commitsTue 4:00 — 0 commitsTue 5:00 — 1 commitsTue 6:00 — 0 commitsTue 7:00 — 0 commitsTue 8:00 — 2 commitsTue 9:00 — 6 commitsTue 10:00 — 2 commitsTue 11:00 — 3 commitsTue 12:00 — 1 commitsTue 13:00 — 9 commitsTue 14:00 — 7 commitsTue 15:00 — 7 commitsTue 16:00 — 7 commitsTue 17:00 — 15 commitsTue 18:00 — 5 commitsTue 19:00 — 10 commitsTue 20:00 — 11 commitsTue 21:00 — 5 commitsTue 22:00 — 2 commitsTue 23:00 — 6 commitsWed 0:00 — 3 commitsWed 1:00 — 4 commitsWed 2:00 — 6 commitsWed 3:00 — 1 commitsWed 4:00 — 1 commitsWed 5:00 — 0 commitsWed 6:00 — 1 commitsWed 7:00 — 2 commitsWed 8:00 — 1 commitsWed 9:00 — 1 commitsWed 10:00 — 0 commitsWed 11:00 — 4 commitsWed 12:00 — 5 commitsWed 13:00 — 4 commitsWed 14:00 — 4 commitsWed 15:00 — 2 commitsWed 16:00 — 4 commitsWed 17:00 — 3 commitsWed 18:00 — 8 commitsWed 19:00 — 1 commitsWed 20:00 — 11 commitsWed 21:00 — 4 commitsWed 22:00 — 7 commitsWed 23:00 — 1 commitsThu 0:00 — 8 commitsThu 1:00 — 4 commitsThu 2:00 — 1 commitsThu 3:00 — 2 commitsThu 4:00 — 0 commitsThu 5:00 — 0 commitsThu 6:00 — 0 commitsThu 7:00 — 0 commitsThu 8:00 — 0 commitsThu 9:00 — 2 commitsThu 10:00 — 1 commitsThu 11:00 — 5 commitsThu 12:00 — 3 commitsThu 13:00 — 1 commitsThu 14:00 — 7 commitsThu 15:00 — 7 commitsThu 16:00 — 6 commitsThu 17:00 — 8 commitsThu 18:00 — 8 commitsThu 19:00 — 11 commitsThu 20:00 — 5 commitsThu 21:00 — 4 commitsThu 22:00 — 4 commitsThu 23:00 — 4 commitsFri 0:00 — 4 commitsFri 1:00 — 2 commitsFri 2:00 — 5 commitsFri 3:00 — 0 commitsFri 4:00 — 0 commitsFri 5:00 — 0 commitsFri 6:00 — 0 commitsFri 7:00 — 0 commitsFri 8:00 — 3 commitsFri 9:00 — 0 commitsFri 10:00 — 7 commitsFri 11:00 — 1 commitsFri 12:00 — 3 commitsFri 13:00 — 0 commitsFri 14:00 — 3 commitsFri 15:00 — 4 commitsFri 16:00 — 1 commitsFri 17:00 — 6 commitsFri 18:00 — 3 commitsFri 19:00 — 4 commitsFri 20:00 — 4 commitsFri 21:00 — 3 commitsFri 22:00 — 1 commitsFri 23:00 — 3 commitsSat 0:00 — 5 commitsSat 1:00 — 4 commitsSat 2:00 — 0 commitsSat 3:00 — 0 commitsSat 4:00 — 1 commitsSat 5:00 — 1 commitsSat 6:00 — 0 commitsSat 7:00 — 0 commitsSat 8:00 — 2 commitsSat 9:00 — 0 commitsSat 10:00 — 1 commitsSat 11:00 — 1 commitsSat 12:00 — 3 commitsSat 13:00 — 5 commitsSat 14:00 — 3 commitsSat 15:00 — 4 commitsSat 16:00 — 5 commitsSat 17:00 — 3 commitsSat 18:00 — 8 commitsSat 19:00 — 3 commitsSat 20:00 — 8 commitsSat 21:00 — 12 commitsSat 22:00 — 4 commitsSat 23:00 — 7 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
May 13, 2026daily#20+56
May 11, 2026daily#9+154
May 10, 2026daily#14+190
May 9, 2026daily#12+160
May 8, 2026daily#20+51
May 7, 2026daily#14+64
Mar 2, 2026daily#24+153
Feb 26, 2026daily#19+182