agent_learning
agent_learning copied to clipboard
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 开发 | 系统、全面、...
修复内容: - chapter_claude_code: 章节号修正(15→14), 代码块嵌套, 图片alt文字 - chapter_multi_agent: README重复块合并, 章节引用修正 - chapter_context_engineering: 上下文/提示工程章节引用修正(3→7, 14→15等) - chapter_langchain/langgraph/frameworks: README重复块合并, ToolNode参数修正 - chapter_deployment: README重复块合并, nginx配置修正 - chapter_setup: 附录章节号F.x修正, 重复import移除 - chapter_memory/protocol: 额外章节修正
### Where? / 位置 https://haozhe-xing.github.io/agent_learning/zh/chapter_llm/03_prompting_strategies.html ### Type / 类型 Typo / grammar / 错别字或语法 ### What's wrong? / 问题是什么 three of thought 的示例代码函数返回类型错误 ```python def tree_of_thought(problem: str, num_paths: int =...
### Where? / 位置 Ch4.5 ### Type / 类型 Factually wrong / 事实错误 ### What's wrong? / 问题是什么 📦 完整代码(含 show_memories、交互式 REPL、rich 美化日志)见仓库 examples/chapter04/personal_assistant.py。 ### Suggested fix (optional) / 建议的修正(可选)...
### What are you asking for? / 你希望新增什么 A runnable example or template / 可运行的示例或模板 ### Describe it / 具体描述 我们是云岚API团队,维护中文开发教程。建议在第 8.6 节末尾加一个离线回归练习,检查一个容易漏掉的情形:字段、类型和取值范围都通过了,抽出的城市却与原文不符。 给定原文“活动在苏州举行,共 18 人报名”,先人工标注城市和报名人数。然后用下面两条固定响应分别检查结构和来源事实。这个用例不需要模型、账号或第三方依赖。 ```python expected = {"city":...
### What are you asking for? / 你希望新增什么 A runnable example or template / 可运行的示例或模板 ### Describe it / 具体描述 建议为第 19.5 节补一个中英双语、无需模型 Key 的 MCP 客户端练习:沿用本章的“会话覆盖整个 Agent 执行”原则,从已有 stdio...
## 问题描述 在线版第 10 章「Agentic-RL:智能体强化学习训练」的「学习路径」中,章节首页链接会跳转到不存在的 `README.html`,导致 GitHub Pages 返回 404。 页面: https://haozhe-xing.github.io/agent_learning/zh/chapter_agentic_rl/ 复现示例:点击「第2章 大语言模型基础」后会打开: https://haozhe-xing.github.io/agent_learning/zh/chapter_llm/README.html ## 原因 `src/zh/chapter_agentic_rl/README.md` 中的章节首页链接使用了 `../chapter_xxx/README.md`。mdBook 将其输出为 `README.html`,但这些章节首页实际发布为目录下的 `index.html`。 ## 建议修复 将章节首页链接改为目录链接: - `../chapter_llm/README.md` → `../chapter_llm/`...
### Where? / 位置 8.5 Practice: Building Your First Harness System ### Type / 类型 Code does not run / 代码跑不通 ### What's wrong? / 问题是什么 英文版,143行代码,tool 调用信息添加到上下文消息操作,json.dumps 操作会导致 tool_calls...
### Where? / 位置 CH5.1 认知框架:OODA 循环 ### Type / 类型 Factually wrong / 事实错误 ### What's wrong? / 问题是什么 认知框架:OODA 循环 这个循环图错了 ### Suggested fix (optional) / 建议的修正(可选) _No...
### Where? / 位置 3.5 章节 ### Type / 类型 Factually wrong / 事实错误 ### What's wrong? / 问题是什么 1.内容上有些差异,排版上也有不同 2.演示代码不一样,中文版代码不全 3.中文版有提到代码仓库 "完整代码见附录仓库 examples/chapter03/search_calc_agent.py",但仓库中并没有此代码。英文版没有提到代码仓库 ### Suggested fix (optional) / 建议的修正(可选)...