Skip to main content
Build Claude Code
BCC
Learning Path
Guide
Architecture
中文
EN
Preparation
0/3
Minimal Agent
0/5
Tool System
0/5
Terminal UI
0/4
Prompt Engineering
0/3
Streaming & Performance
0/4
Context Management
0/3
Agent Intelligence
0/5
Security & Permissions
0/3
Ecosystem
0/4
Multi-Agent
0/5
Production
0/5
Architecture
Full module composition and layered structure of the Agent CLI
Architecture Map
Architecture Layers
▾ 预备知识
▾ 最小 Agent
▾ 工具体系
▾ 终端 UI
▾ Prompt 工程
▾ 流式与性能
▾ 上下文管理
▾ Agent 智能
▾ 安全与权限
▾ 扩展生态
▾ 多 Agent
▾ 产品化
AI API
CLI 脚手架
子进程
Agent Loop
消息管理
错误处理
配置管理
成本追踪
Tool 抽象
文件工具
搜索工具
工具注册表
Ink 框架
消息列表
输入框
REPL
System Prompt
项目规则
Prompt Cache
Streaming
并行执行
启动优化
自动压缩
大输出处理
TodoWrite
Subagent
Skill 系统
Task System
权限引擎
权限 UI
子 Agent 权限
MCP
会话持久化
Plugin
Agent 定义
Coordinator
Team
Worktree
错误恢复
Feature Flags
打包分发
Native
遥测