Hermes Atlas
Guides, templates & lists

Hermes Book

ZhangHanDong/hermes-book

Chinese-language book on the Hermes Agent source and design, based on v0.8.0, with 23 chapters

In short

Hermes Book is a Chinese-language online book that explains the source code and design of Hermes Agent, based on the v0.8.0 source. It follows the engineering problems behind building a self-improving personal agent, from the AIAgent core to the gateway and execution backends.

What Hermes Book does

Hermes Book, titled Hermes Agent 源码与设计, is a Chinese-language book based on the v0.8.0 source of Hermes Agent. Its organizing question is what engineering problems a self-improving personal agent has to solve, and it weaves product ideas, architecture choices and source implementation together. Four design bets frame the analysis: a learning loop that creates skills and persists knowledge, a CLI-first approach, personal long-term memory and user modeling, and the ability to run anywhere from a $5 VPS to a GPU cluster.

The 23 chapters and four appendices are grouped into seven parts covering the request journey, the AIAgent core, the prompt system, the tool system, skills, subagent delegation, SessionDB, memory providers, context compression, CLI and TUI, gateway, scheduling, execution backends, configuration, model abstraction, concurrency, fault tolerance and testing. The README suggests four reading paths: full-stack understanding, building a similar product, stability engineering, and memory and learning. It assumes a reader with Python, LLM agent and CLI or server engineering background, and the book can be read online or built locally with mdbook.

Key features

  • 23 chapters and four appendices: class index, flow charts, glossary and reading guide
  • Analysis organized around four design bets of Hermes
  • Coverage from the AIAgent core and prompts to the gateway and execution backends
  • Four suggested reading paths by goal
  • Online edition and local preview with mdbook

When to use it

  • Understanding Hermes Agent architecture before building a similar agent
  • Studying how memory providers and context compression work
  • Learning about runtime fault tolerance and process lifecycle in long-running agents

Who it is for: Developers with Python, LLM agent and CLI or server engineering experience who read Chinese.

How it fits with Hermes Agent

A source-and-design analysis of Hermes Agent, written against the v0.8.0 source.

Note: The text is in Chinese and covers the v0.8.0 source, so details may differ in later Hermes Agent releases.

FAQ

What is Hermes Book?

Hermes Book is a Chinese-language book that analyzes the source code and design of Hermes Agent. It is published online and organized into seven parts with 23 chapters and four appendices.

Which Hermes Agent version does Hermes Book cover?

It is based on the v0.8.0 source of Hermes Agent. Later releases may differ from what the chapters describe.

How can I build Hermes Book locally?

Install mdbook with cargo install mdbook, then run mdbook serve to preview the book or mdbook build to build it.

Similar resources for Hermes Agent

All resources

Related guides: SOUL.md for Hermes Agent: what it is and how to write one · What is Hermes Agent?