🧠
理解核心概念
深入理解 Coding Agent = LLM + System Prompt + Context + Tools 的设计哲学,掌握 Agentic Loop 工作原理
了解更多
┌─────────────────────────────────────────────────────────────────┐
│ │
│ Coding Agent = LLM + System Prompt + Context + Tools │
│ │
├─────────────────────────────────────────────────────────────────┤
│ │
│ User Input ──▶ Build Context ──▶ Call LLM ──▶ Response │
│ │ │
│ Tool Calls? │
│ ↓ Yes ↓ No │
│ Execute Tools Return │
│ │ │
│ Inject Results ──▶ Continue Loop │
│ │
└─────────────────────────────────────────────────────────────────┘# 安装
npm install -g clawdcode
# 配置
export OPENAI_API_KEY=sk-your-api-key
# 启动
clawdcode "帮我分析这个项目"