中文 | English
If you want a staged course, start with the Learning Paths. docs/layers/ works better as reference material and a lookup index.
If you just finished examples/, treat this index as the bridge from “example -> concept -> source”: first use a layer note to build intuition, then open the Source Map to choose a call chain, and finally use the Source Navigation Guide to find the exact symbols.
If you are already in the source tree, you can use this index as a lookup table; L10-L15 are aimed more at readers who are already inside the implementation details.
Read in order:
- L1 Startup And Entry Points
- L2 The Agent Core Loop
- L3 Tool System
- L4 UI / Ink
- L5 State And Commands
- L6 Advanced Mechanisms
- L7 Permissions
- L8 Streaming
- L9 Context Management
Advanced deep dives:
- L10 QueryEngine And System Prompt Assembly
- L11 API Streaming And The Event Model
- L12 The REPL Screen And Input System
- L13 MCP, Hooks, And Plugins
- L14 Memory Extraction And Team Memory
- L15 Print, Serve, Bridge, And Other Runtime Modes
Read alongside: