Skip to content

Agent Learning

A systematic AI Agent development tutorial covering LLM agents, RAG, tool use, memory systems, multi-agent systems, LangChain, LangGraph, MCP, and agentic RL.|从零开始学 AI Agent 开发…

Install

$git clone https://github.com/Haozhe-Xing/agent_learning

Install command taken from the project's README or registry entry. Always review code before running it.

Learn AI Agents from Scratch

A visual, bilingual, and engineering-first textbook for building reliable LLM Agents.

From Function Calling, memory, planning, RAG, and context engineering to Agentic RL, multi-agent systems, evaluation, security, and production deployment.

中文说明 · Complete directory · Runnable reference agent · Contributing


What is this repository?

agent_learning is an open-source AI Agent textbook and learning repository. It is designed for the gap between "I can call an LLM API" and "I can build, evaluate, secure, and deploy an Agent system."

Instead of teaching isolated framework APIs, the book builds one connected mental model:

LLM fundamentals → tools → memory → planning → RAG → context → harness → skills → Agentic RL → multi-agent → evaluation → security → deployment

The repository includes:

  • 23 chapters across foundations, core capabilities, frameworks, multi-agent systems, production, and capstone projects.
  • 188 Markdown pages per language, maintained in English and Chinese.
  • 330+ original SVG diagrams and 5 interactive demos for architecture, state, sequence, and training flows.
  • Paper-to-practice explanations covering ReAct, Reflexion, MemGPT/Letta, GraphRAG, GRPO, MCP, A2A, and more.
  • reference-agent/, a small runnable Agent baseline with tools, memory, security gates, evaluation, an MCP server, a FastAPI service, and 16 tests.

This is not an awesome-list and not a framework manual. It is a structured path from first principles to production engineering.


Complete directory

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io