Agent Shipped

Directory · Coding agents

How Claude Code Works

Chinese/English documentation analyzing Claude Code internals: agent loop, context compression, tools, permissions, multi-agent.

★ 3,850 stars · last updated 2026-08-17 · Free, open source · View on GitHub

Best for

Our take

A documentation project of 21 chapters, primarily in Chinese with an English README and an online docs site, actively updated as of mid 2026. Early chapters are based on a leaked source snapshot from around v2.1.6x, while later chapters use black-box reverse engineering, so accuracy is not guaranteed. The authors state it is unaffiliated with Anthropic and redistributes no source code. A companion repo, claude-code-from-scratch, offers a clean-room implementation tutorial.

Similar coding agents

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.