Directory · Coding agents
AI Agents in Depth (深入理解 AI Agent)
Open-source book by Bojie Li on AI agent design and engineering, with 10 chapters and 109 companion experiments in Python.
★ 60,162 stars · last updated 2026-11-28 · Free, open source · View on GitHub
Best for
- Engineers who want to build a Claude Code or Codex style coding agent from scratch
- Learning context engineering, memory, RAG, MCP tools, and multi-agent design
- Hands-on experiments on agent evaluation and model post-training
- Readers wanting free PDF/EPUB in Chinese or one of 14 community translations
Install
uv sync --locked --extra ch1
Our take
This is a book plus chapter-by-chapter companion code, not a ready-to-use agent tool; chapter 5 covers coding agents and the FAQ suggests building your own coding agent using chapters 1 to 5. The Chinese original is authoritative and community translations may lag behind it. The README states the companion code was generated by coding agents from the manuscript and is not reviewed line by line, and experiments need Python 3.11 to 3.13 plus API keys from model providers.
Similar coding agents
- Open Interpreter: Terminal coding agent forked from OpenAI Codex, tuned to emulate provider harnesses for low-cost open models like Kimi K3 and GLM.
- Codewhale: Open-source Rust terminal coding agent that works with 40+ model providers or local models, with approvals, receipts and undo.
- Reasonix: Open-source coding agent for terminal, desktop, browser and editor that reads code, edits files and runs commands with any OpenAI-compatible model.
- DSH Go: Unofficial Android client for DeepSeek Harness that runs the agent on-device or remotely controls DSH on your computer.
- Qwen Code: Open-source terminal coding agent with IDE, desktop, web, and chat interfaces, supporting Qwen, OpenAI, Anthropic, Gemini, and local models.
- NocoBase: Open-source platform for building and running business systems where coding agents write the code on a ready foundation with governance.