Claude Code Book banner
lintsinghua lintsinghua

Claude Code Book

AI community

Description

《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness。在线阅读网站:

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

**[English](en/README.md)** | **中文**

御舆:解码 Agent Harness

Claude Code 架构深度剖析


*"一器而工聚焉者,车为多。"* ——《考工记》

两千年前,造一辆马车是最复杂的系统工程:**舆**承载乘者,辕定方向,辐传动力,軎辖为约束——每个构件各司其职,合而为一,车方能行。

今天,构建一个 AI Agent 亦是如此:对话循环为**辕**,工具系统为**辐**,权限管线为**軎辖**,而将这一切承载于其上、使智能体真正运转的运行时框架—— Agent Harness——正是那个**舆**。

古人御舆,驾驭的是天地之间最精密的机械;今人御舆,驾驭的是硅基时代最复杂的智能体系统。

本书因此得名 **舆书**。


当所有人都在教你怎么 **用** AI Agent——**这本书带你拆开它。**


[![在线阅读](https://img.shields.io/badge/在线阅读-lintsinghua.github.io-9f7aea?style=for-the-badge)](https://lintsinghua.github.io/)

[![GitHub Stars](https://img.shields.io/github/stars/lintsinghua/claude-code-book?style=flat-square&logo=github&label=Stars)](https://github.com/lintsinghua/claude-code-book/stargazers) [![GitHub Forks](https://img.shields.io/github/forks/lintsinghua/claude-code-book?style=flat-square&logo=github&label=Forks)](https://github.com/lintsinghua/claude-code-book/network/members) [![License](https://img.shields.io/badge/license-CC%20BY--NC--SA%204.0-lightgrey?style=flat-square)](LICENSE) [![中文](https://img.shields.io/badge/语言-中文-red?style=flat-square)](./) [![English](https://img.shields.io/badge/lang-English-blue?style=flat-square)](en/README.md) [![Last Commit](https://img.shields.io/github/last-commit/lintsinghua/claude-code-book?style=flat-square)](https://github.com/lintsinghua/claude-code-book/commits/main)


御舆:解码 Agent Harness — Claude Code 架构深度剖析 Decoding Agent Harness — A Deep Architectural Analysis of Claude Code

**对话循环如何驱动?工具权限为何是四阶段管线?上下文压缩怎样在 token 预算内运转?子智能体如何通过 Fork 继承父级上下文?**

读懂 Claude Code 的设计决策,你就拥有了一套**可迁移到任何 Agent 框架**的心智模型。


这本书有什么不同

**不做使用教程,不列 Prompt 技巧。**

市面上充斥着"如何写好 Prompt"和"如何调用 Agent API"的指南。但如果你想知道一个生产级 Agent 系统的**骨架**是怎么搭的——几乎没有资料可查。这本书填补了这个空白。

特色 说明