之前我们做业务 总想着自己写一个Agent,负责上下文管理、决策、调度、Router等等,常见的比如ReAct架构、PlanAndExcutor等等架构,但是发现这其实没有必要,主流的Coding工具都有Agent能力了,我们只需要提供MCP服务或者HTTP、RPC服务,在WorkBuddy和CodeBuddy这些ide中调用,具体的业务逻辑也不依靠Function Tools,依靠Function Tools需要开发人员不断去修改代码,可以依靠SKILL+Git的动态修改,通过MCP服务CRUD SKILL,修改之后自动更新GIt仓库,维护一套动态的SKILL即可。
这个架构适用于一些内部的Agent系统,类如客诉反馈系统,工单处理,场景和业务不断变化的。
MCP 负责:
让 Agent 能发现、读取、调用、修改 Skill。
Skill 负责:
把某个具体领域的能力封装起来。
Git 负责:
让 Skill 的变化可追踪、可回滚、可审计。
┌──────────────────────┐
│ User / 业务 │
└──────────┬───────────┘
│
▼
┌──────────────────────┐
│ Code Agent │
│ Claude Code/Codex等 │
│ │
│ 规划 / 推理 / 执行 │
└──────────┬───────────┘
│
MCP Tool Call
│
▼
┌────────────────────────────────┐
│ MCP Server │
│ │
│ skill.list │
│ skill.search │
│ skill.load │
│ skill.run │
│ skill.update │
│ skill.test │
│ skill.publish │
└───────────────┬────────────────┘
│
▼
┌────────────────────────────────┐
│ Skill Registry │
│ │
│ /skills │
│ ├── xxx/ │
│ │ ├── SKILL.md │
│ │ ├── workflow.py │
│ │ ├── config.yaml │
│ │ └── tests/ │
│ │ │
│ ├── yyy/ │
│ └── zzz/ │
└───────────────┬────────────────┘
│
▼
Git Repository
│
commit / push / pull
│
▼
Skill 自动更新
原来自己开发一个Agent,需要自己设计非常复杂流程。
bash
Agent
├── Planner
├── Executor
├── Memory
├── Tool Router
├── Reflection
├── Retry
├── Context Manager
├── Workflow Engine
└── 100个业务Tool
现在要做的不是开发Agent,而是开发 Agent 的能力生态。
SKILL也不仅仅是一个md文档,SLKILL 可以包含py代码,WorkFlow流程、数据文件。
bash
skills/
└── ppt-generator/
├── SKILL.md
├── workflow.py
├── config.yaml
├── templates/
├── scripts/
├── tests/
└── README.md
Coding工具基本都支持MCP服务

