agent_learning

作者 Haozhe-Xing已验证

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 开发 | 系统、全面、实战导向的 Agent 开发教程 | 每日自动追踪 arXiv 最新论文 | Learn AI Agent Development from Scratch

445
Stars
64
Forks
HTML
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Haozhe-Xing/agent_learning

快速入门

使用 agent_learning 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Agent Learning Roadmap

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.

Read the English book 阅读中文版

GitHub stars MIT License PRs welcome 23 chapters Bilingual

中文说明 · 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


Runnable reference agent

reference-agent/ is the shared, dependency-light implementation behind the hands-on chapters. It includes:

  • a minimal ReAct loop and tool registry;
  • offline FakeProvider and optional OpenAI provider;
  • memory, prompt-injection guardrails, and fail-closed permission checks;
  • an MCP server, FastAPI endpoints, streaming, evaluation harness, and Dockerfile;
  • 16 tests that run without an API key.
cd reference-agent
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest -q

The implementation is intentionally small enough to read. It is a teaching baseline, not a claim of production completeness.


Project principles

  1. Mechanisms before frameworks. Explain why an abstraction exists before teaching its API.
  2. Visuals must teach. Diagrams carry architecture and process information; they are not decoration.
  3. Research must lead to engineering insight. Paper notes include contribution, mechanism, use, and limitations.
  4. Production claims must be honest. Runnable code, tests, security boundaries, and known limitations are stated explicitly.
  5. Bilingual content stays aligned. Text, diagrams, navigation, and interactive demos are maintained in both languages.

Contributing

Corrections, clearer explanations, runnable examples, translation fixes, and new paper notes are welcome.

  • Found an error? Open an issue.
  • Want to improve a chapter? Edit the matching file under both src/en/ and src/zh/ when possible.
  • Adding a page? Update both SUMMARY.md files.
  • Adding a diagram? Place localized assets under src/en/svg/ and src/zh/svg/.
  • Before a PR, run ./serve.sh and verify both language builds.

Please keep claims verifiable and prefer primary sources for papers, protocols, versions, and external projects.


Roadmap

  • 23-chapter bilingual mdBook
  • Localized diagrams and interactive demos
  • Agentic RL, context engineering, harness engineering, and self-evolving Agent coverage
  • Runnable reference-agent baseline with offline tests
  • More end-to-end capstone implementations
  • Searchable diagram gallery and concept index
  • Evaluation and observability starter templates
  • More exercises, interview questions, and regression cases

Suggestions are welcome in Issues.


License

Released under the MIT License.

If this repository saves you time, consider giving it a Star.

A Star helps more engineers find a structured path through AI Agents instead of another disconnected list of links.

Read in English · 阅读中文版 · Open an issue

常见问题

What is agent_learning?

agent_learning is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Haozhe-Xing. 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 开发 | 系统、全面、实战导向的 Agent 开发教程 | 每日自动追踪 arXiv 最新论文 | Learn AI Agent Development from Scratch. It has 445 GitHub stars.

Is agent_learning safe to use?

Yes. agent_learning passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install agent_learning?

Clone the repository with "git clone https://github.com/Haozhe-Xing/agent_learning" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is agent_learning written in?

agent_learning is primarily written in HTML. It is open-source under Haozhe-Xing on GitHub, so you can review or fork the full source.

Are there alternatives to agent_learning?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agent_learning against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

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

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

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

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

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

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

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

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

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

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

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

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情