alt text

Hello-Agents

🤖 "Building Agent Systems from Scratch"

datawhalechina%2Fhello-agents | Trendshift

From fundamental theory to practical applications, comprehensively master the design and implementation of agent systems

GitHub stars GitHub forks Language GitHub Project Online Reading

🎯 Project Introduction

  If 2024 was the inaugural year of the "battle of a hundred models," then 2025 has undoubtedly ushered in the "Year of Agents." The technological focus is shifting from training larger foundation models to building smarter agent applications. However, systematic, practice-oriented tutorials are extremely scarce. For this reason, we launched the Hello-Agents project, hoping to provide the community with a guide for building agent systems from scratch, balancing theory and practice.

  Hello-Agents is a systematic agent learning tutorial from the Datawhale community. Currently, Agent construction is mainly divided into two schools: one is software engineering-type Agents like Dify, Coze, and n8n, which are essentially process-driven software development with LLMs serving as data processing backends; the other is AI-native Agents, truly AI-driven Agents. This tutorial aims to lead you to deeply understand and build the latter—true AI Native Agents. The tutorial will guide you to penetrate framework appearances, start from the core principles of agents, delve into their core architecture, understand their classic paradigms, and ultimately build your own multi-agent applications with your own hands. We believe that the best way to learn is through hands-on practice. We hope this tutorial can become your starting point for exploring the world of agents, enabling you to transform from a "user" of large language models to a "builder" of agent systems.

✨ What Will You Gain?

📖 Content Navigation

ChapterKey ContentStatus
PrefaceProject origin, background, and reader suggestions
Part One: Agent and Language Model Fundamentals
Chapter 1: Introduction to AgentsAgent definition, types, paradigms, and applications
Chapter 2: History of AgentsEvolution from symbolism to LLM-driven agents
Chapter 3: Large Language Model FundamentalsTransformer, prompts, mainstream LLMs and their limitations
Part Two: Building Your Large Language Model Agent
Chapter 4: Building Classic Agent ParadigmsHands-on implementation of ReAct, Plan-and-Solve, Reflection
Chapter 5: Agent Building Based on Low-Code PlatformsUnderstanding the use of low-code agent platforms like Coze, Dify, n8n
Chapter 6: Framework Development PracticeApplication of mainstream frameworks such as AutoGen, AgentScope, LangGraph
Chapter 7: Building Your Agent FrameworkBuilding an agent framework from scratch
Part Three: Advanced Knowledge Extension
Chapter 8: Memory and RetrievalMemory systems, RAG, storage
Chapter 9: Context Engineering"Contextual understanding" for continuous interaction
Chapter 10: Agent Communication ProtocolsAnalysis of protocols such as MCP, A2A, ANP
Chapter 11: Agentic-RLPractical LLM training from SFT to GRPO
Chapter 12: Agent Performance EvaluationCore metrics, benchmarks, and evaluation frameworks
Part Four: Comprehensive Case Studies
Chapter 13: Intelligent Travel AssistantReal-world application of MCP and multi-agent collaboration
Chapter 14: Automated Deep Research AgentDeepResearch Agent reproduction and analysis
Chapter 15: Building a Cyber TownCombination of Agents and games, simulating social dynamics
Part Five: Graduation Project and Future Outlook
Chapter 16: Graduation ProjectBuild your own complete multi-agent application

Community Contribution Highlights (Community Blog)

  We welcome everyone to contribute their unique insights and practical summaries from learning Hello-Agents or Agent-related technologies to the community highlights in the form of PRs. If the content is independent of the main text, you can also submit it to Extra-Chapter! Looking forward to your first contribution!

Community HighlightsContent Summary
00-Co-creation Capstone ProjectsCommunity co-creation capstone projects
01-Agent Interview Questions SummaryAgent position-related interview questions
01-Agent Interview AnswersAnswers to related interview questions
02-Context Engineering Content SupplementContext engineering content extension
03-Dify Agent Creation Step-by-Step TutorialDify Agent Creation Step-by-Step Tutorial
04-Hello-agents Course Common QuestionsDatawhale Course Common Questions
05-Agent Skills vs MCP ComparisonAgent Skills vs MCP Technical Comparison
06-GUI Agent Overview and Hands-on PracticeGUI Agent concepts and practical tutorials
07-Environment ConfigurationEnvironment Configuration
08-How to Write Good SkillsSkill writing best practices
09-Agent Development Pitfalls and Practical LessonsPractical lessons and pitfalls from building a Code Agent

PDF Version Download

   This Hello-Agents PDF tutorial is completely open source and free. To prevent various marketing accounts from adding watermarks and selling it to multi-agent system beginners, we have pre-added Datawhale open-source logo watermarks that do not affect reading in the PDF file. Please understand~

Hello-Agents PDF: https://github.com/datawhalechina/hello-agents/releases/tag/V1.0.0
Hello-Agents PDF domestic download address: https://www.datawhale.cn/learn/summary/239

💡 How to Learn

  Welcome, future intelligent system builder! Before embarking on this exciting journey, please allow us to give you some clear guidance.

  This project balances theory and practice, aiming to help you systematically master the entire process of designing and developing from single agents to multi-agent systems. Therefore, it is especially suitable for AI developers, software engineers, students with some programming foundation, as well as self-learners with a strong interest in cutting-edge AI technology. Before learning this project, we hope you have basic Python programming skills and a basic conceptual understanding of large language models (for example, know how to call an LLM through an API). The project focuses on application and construction, so you don't need a deep background in algorithms or model training.

  The project is divided into five major parts, each being a solid step toward the next stage:

  Agents are a rapidly developing field that heavily relies on practice. To achieve the best learning effect, we provide all supporting code in the project's code folder. We strongly recommend combining theory with practice. Please be sure to personally run, debug, and even modify every piece of code provided in the project. You are welcome to follow Datawhale and other Agent-related communities at any time. When you encounter problems, you can ask questions in the issue section of this project at any time.

  Now, are you ready to enter the wonderful world of agents? Let's set off immediately!

🤝 How to Contribute

We are an open-source community and welcome any form of contribution!

🙏 Acknowledgments

Core Contributors

Extra-Chapter Contributors

Special Thanks

Star History

Datawhale

⭐ If this project helps you, please give us a Star!

Reader Community Group

阅读群额码

Scan the QR code to join the reader community group and discuss with more learners

About Datawhale

Datawhale

Scan the QR code to follow the Datawhale official account and get more quality open-source content


📜 Open Source License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.