[{"data":1,"prerenderedAt":1660},["ShallowReactive",2],{"blog-post-/blogs/agent-team-building":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"image":11,"alt":12,"ogImage":11,"tags":13,"published":18,"body":19,"_type":1653,"_id":1654,"_source":1655,"_file":1656,"_stem":1657,"_extension":1658,"sitemap":1659},"/blogs/agent-team-building","blogs",false,"","我让智能体学会了组建智能体团队","两个专家 Agent，一次深度改造，一套可复制的方法论","2026-06-14","/blogs-img/agent-team-building.png","智能体团队组建示意图",[14,15,16,17],"AI Agent","多智能体协作","AgentScope","方法论",true,{"type":20,"children":21,"toc":1616},"root",[22,29,39,43,49,54,80,85,97,100,106,111,129,134,157,165,170,173,179,190,195,205,210,217,222,281,291,297,309,317,322,340,345,351,356,374,380,385,391,396,399,405,416,421,464,472,477,500,508,511,517,523,528,546,554,560,565,691,700,713,718,724,729,737,745,768,771,777,782,788,793,802,820,826,831,840,868,874,879,892,897,903,908,926,929,935,941,951,960,983,992,1010,1016,1025,1033,1055,1063,1081,1087,1096,1104,1127,1135,1153,1159,1168,1176,1194,1202,1220,1226,1235,1243,1261,1269,1287,1290,1296,1301,1307,1319,1337,1343,1354,1371,1377,1388,1406,1409,1415,1420,1428,1461,1472,1500,1503,1508,1519,1524,1576,1581,1591,1594,1603,1610],{"type":23,"tag":24,"props":25,"children":26},"element","h1",{"id":8},[27],{"type":28,"value":8},"text",{"type":23,"tag":30,"props":31,"children":32},"blockquote",{},[33],{"type":23,"tag":34,"props":35,"children":36},"p",{},[37],{"type":28,"value":38},"两个专家 Agent，一次深度改造，一套可复制的方法论。",{"type":23,"tag":40,"props":41,"children":42},"hr",{},[],{"type":23,"tag":44,"props":45,"children":47},"h2",{"id":46},"我开发了两个专家智能体",[48],{"type":28,"value":46},{"type":23,"tag":34,"props":50,"children":51},{},[52],{"type":28,"value":53},"过去几个月，我先后开发了两个专家智能体：",{"type":23,"tag":55,"props":56,"children":57},"ul",{},[58,70],{"type":23,"tag":59,"props":60,"children":61},"li",{},[62,68],{"type":23,"tag":63,"props":64,"children":65},"strong",{},[66],{"type":28,"value":67},"阿郎",{"type":28,"value":69},"：LangChain 框架专家，负责 LangChain 相关的开发咨询和代码生成",{"type":23,"tag":59,"props":71,"children":72},{},[73,78],{"type":23,"tag":63,"props":74,"children":75},{},[76],{"type":28,"value":77},"阿森",{"type":28,"value":79},"：AgentScope 框架专家，负责 AgentScope 相关的开发咨询和代码生成",{"type":23,"tag":34,"props":81,"children":82},{},[83],{"type":28,"value":84},"两个智能体都部署在 QwenPaw 平台上，各有自己的\"灵魂文件\"（harness）——包括 SOUL.md（知识域）、AGENTS.md（工作流程）、MEMORY.md（记忆）、Skills（工具技能）等。",{"type":23,"tag":34,"props":86,"children":87},{},[88,90,95],{"type":28,"value":89},"但用了一段时间后，我发现一个问题：",{"type":23,"tag":63,"props":91,"children":92},{},[93],{"type":28,"value":94},"两个智能体的能力差距很大",{"type":28,"value":96},"。",{"type":23,"tag":40,"props":98,"children":99},{},[],{"type":23,"tag":44,"props":101,"children":103},{"id":102},"问题同样的框架不同的能力",[104],{"type":28,"value":105},"问题：同样的框架，不同的能力",{"type":23,"tag":34,"props":107,"children":108},{},[109],{"type":28,"value":110},"阿郎的 harness 改造得很成熟：",{"type":23,"tag":55,"props":112,"children":113},{},[114,119,124],{"type":23,"tag":59,"props":115,"children":116},{},[117],{"type":28,"value":118},"SOUL.md 里有完整的 LangChain 知识域划分",{"type":23,"tag":59,"props":120,"children":121},{},[122],{"type":28,"value":123},"AGENTS.md 里有清晰的 5 步调试流程",{"type":23,"tag":59,"props":125,"children":126},{},[127],{"type":28,"value":128},"遇到问题能快速定位，给出准确方案",{"type":23,"tag":34,"props":130,"children":131},{},[132],{"type":28,"value":133},"而阿森还停留在 agentscope 1.0 版本，而且：",{"type":23,"tag":55,"props":135,"children":136},{},[137,142,147,152],{"type":23,"tag":59,"props":138,"children":139},{},[140],{"type":28,"value":141},"SOUL.md 只有通用信念，没有技术知识域",{"type":23,"tag":59,"props":143,"children":144},{},[145],{"type":28,"value":146},"AGENTS.md 流程粗糙，缺乏系统性的调试方法",{"type":23,"tag":59,"props":148,"children":149},{},[150],{"type":28,"value":151},"遇到复杂问题经常\"猜\"，而不是\"查\"",{"type":23,"tag":59,"props":153,"children":154},{},[155],{"type":28,"value":156},"现在需要对其升级到 agentscope 2.0，上下文管理难如登天",{"type":23,"tag":34,"props":158,"children":159},{},[160],{"type":23,"tag":63,"props":161,"children":162},{},[163],{"type":28,"value":164},"同样的平台，同样的架构，为什么能力差距这么大？",{"type":23,"tag":34,"props":166,"children":167},{},[168],{"type":28,"value":169},"答案是：harness 的质量决定了智能体的能力上限。",{"type":23,"tag":40,"props":171,"children":172},{},[],{"type":23,"tag":44,"props":174,"children":176},{"id":175},"我的思路分层改造而不是推倒重来",[177],{"type":28,"value":178},"我的思路：分层改造，而不是推倒重来",{"type":23,"tag":34,"props":180,"children":181},{},[182,184,189],{"type":28,"value":183},"我没有选择给阿森重新写一套 harness，而是",{"type":23,"tag":63,"props":185,"children":186},{},[187],{"type":28,"value":188},"参考阿郎的成熟模式，分层改造",{"type":28,"value":96},{"type":23,"tag":34,"props":191,"children":192},{},[193],{"type":28,"value":194},"改造顺序：",{"type":23,"tag":196,"props":197,"children":199},"pre",{"code":198},"SOUL.md（知识域）→ AGENTS.md（流程）→ HEARTBEAT.md（自动化）→ MEMORY.md（记忆）→ Skills（工具）\n",[200],{"type":23,"tag":201,"props":202,"children":203},"code",{"__ignoreMap":7},[204],{"type":28,"value":198},{"type":23,"tag":34,"props":206,"children":207},{},[208],{"type":28,"value":209},"每一层都是下一层的基础，不能跳步。",{"type":23,"tag":211,"props":212,"children":214},"h3",{"id":213},"第一层soulmd-注入知识域",[215],{"type":28,"value":216},"第一层：SOUL.md — 注入知识域",{"type":23,"tag":34,"props":218,"children":219},{},[220],{"type":28,"value":221},"这是最关键的一步。我把 AgentScope 2.0 的核心知识拆分成 11 个知识域：",{"type":23,"tag":223,"props":224,"children":225},"ol",{},[226,231,236,241,246,251,256,261,266,271,276],{"type":23,"tag":59,"props":227,"children":228},{},[229],{"type":28,"value":230},"Agent 核心循环",{"type":23,"tag":59,"props":232,"children":233},{},[234],{"type":28,"value":235},"Message & Event 系统",{"type":23,"tag":59,"props":237,"children":238},{},[239],{"type":28,"value":240},"Middleware 中间件",{"type":23,"tag":59,"props":242,"children":243},{},[244],{"type":28,"value":245},"Permission 权限系统",{"type":23,"tag":59,"props":247,"children":248},{},[249],{"type":28,"value":250},"Tool 工具系统",{"type":23,"tag":59,"props":252,"children":253},{},[254],{"type":28,"value":255},"Workspace 工作空间",{"type":23,"tag":59,"props":257,"children":258},{},[259],{"type":28,"value":260},"Service 服务部署",{"type":23,"tag":59,"props":262,"children":263},{},[264],{"type":28,"value":265},"Team 团队协作",{"type":23,"tag":59,"props":267,"children":268},{},[269],{"type":28,"value":270},"Skill 技能系统",{"type":23,"tag":59,"props":272,"children":273},{},[274],{"type":28,"value":275},"MCP 协议集成",{"type":23,"tag":59,"props":277,"children":278},{},[279],{"type":28,"value":280},"常见问题速查",{"type":23,"tag":34,"props":282,"children":283},{},[284,289],{"type":23,"tag":63,"props":285,"children":286},{},[287],{"type":28,"value":288},"为什么是 11 个？",{"type":28,"value":290}," 因为这是 AgentScope 2.0 的完整知识版图。每个知识域覆盖一个专业领域，智能体遇到问题时，先判断属于哪个域，再在该域内查找答案。",{"type":23,"tag":211,"props":292,"children":294},{"id":293},"第二层agentsmd-固化工作流程",[295],{"type":28,"value":296},"第二层：AGENTS.md — 固化工作流程",{"type":23,"tag":34,"props":298,"children":299},{},[300,302,307],{"type":28,"value":301},"我设计了",{"type":23,"tag":63,"props":303,"children":304},{},[305],{"type":28,"value":306},"三层递进查询模式",{"type":28,"value":308},"：",{"type":23,"tag":196,"props":310,"children":312},{"code":311},"第一层：知识域速查（秒回，覆盖 80% 常见问题）\n    ↓ 搞不定\n第二层：reference 深入（场景化，症状→原因→方案→教训）\n    ↓ 还搞不定\n第三层：源码 API 精确查询（签名、参数、返回值）\n",[313],{"type":23,"tag":201,"props":314,"children":315},{"__ignoreMap":7},[316],{"type":28,"value":311},{"type":23,"tag":34,"props":318,"children":319},{},[320],{"type":28,"value":321},"这个模式模拟了人类专家的工作方式：",{"type":23,"tag":223,"props":323,"children":324},{},[325,330,335],{"type":23,"tag":59,"props":326,"children":327},{},[328],{"type":28,"value":329},"先凭经验快速判断",{"type":23,"tag":59,"props":331,"children":332},{},[333],{"type":28,"value":334},"再查文档深入分析",{"type":23,"tag":59,"props":336,"children":337},{},[338],{"type":28,"value":339},"最后看源码确认细节",{"type":23,"tag":34,"props":341,"children":342},{},[343],{"type":28,"value":344},"同时，我还加了 13 项代码检查清单、文档追踪习惯等。",{"type":23,"tag":211,"props":346,"children":348},{"id":347},"第三层heartbeatmd-自动化巡检",[349],{"type":28,"value":350},"第三层：HEARTBEAT.md — 自动化巡检",{"type":23,"tag":34,"props":352,"children":353},{},[354],{"type":28,"value":355},"让智能体定期自我检查：",{"type":23,"tag":55,"props":357,"children":358},{},[359,364,369],{"type":23,"tag":59,"props":360,"children":361},{},[362],{"type":28,"value":363},"🔴 紧急问题：立即处理",{"type":23,"tag":59,"props":365,"children":366},{},[367],{"type":28,"value":368},"🟡 重要问题：当天处理",{"type":23,"tag":59,"props":370,"children":371},{},[372],{"type":28,"value":373},"常规问题：定期处理",{"type":23,"tag":211,"props":375,"children":377},{"id":376},"第四层memorymd-长期记忆",[378],{"type":28,"value":379},"第四层：MEMORY.md — 长期记忆",{"type":23,"tag":34,"props":381,"children":382},{},[383],{"type":28,"value":384},"记录改造经验、踩坑记录、最佳实践，让智能体持续进化。",{"type":23,"tag":211,"props":386,"children":388},{"id":387},"第五层skills-工具技能",[389],{"type":28,"value":390},"第五层：Skills — 工具技能",{"type":23,"tag":34,"props":392,"children":393},{},[394],{"type":28,"value":395},"把 6 个分散的 1.0 skill 整合成 1 个统一的 agentscope-dev-guide，包含 11 个 reference 文档。",{"type":23,"tag":40,"props":397,"children":398},{},[],{"type":23,"tag":44,"props":400,"children":402},{"id":401},"发现智能体可以组建智能体团队",[403],{"type":28,"value":404},"发现：智能体可以组建智能体团队",{"type":23,"tag":34,"props":406,"children":407},{},[408,410,415],{"type":28,"value":409},"改造完成后，我做了一个测试：",{"type":23,"tag":63,"props":411,"children":412},{},[413],{"type":28,"value":414},"让阿森自己设计一个日程提醒 Agent",{"type":28,"value":96},{"type":23,"tag":34,"props":417,"children":418},{},[419],{"type":28,"value":420},"阿森的表现让我惊喜：",{"type":23,"tag":223,"props":422,"children":423},{},[424,434,444,454],{"type":23,"tag":59,"props":425,"children":426},{},[427,432],{"type":23,"tag":63,"props":428,"children":429},{},[430],{"type":28,"value":431},"需求分析",{"type":28,"value":433},"：判断 PoC 阶段不需要中间件",{"type":23,"tag":59,"props":435,"children":436},{},[437,442],{"type":23,"tag":63,"props":438,"children":439},{},[440],{"type":28,"value":441},"方案设计",{"type":28,"value":443},"：FunctionTool 封装时间解析 + JSON 文件存储 + 外部 cron 触发",{"type":23,"tag":59,"props":445,"children":446},{},[447,452],{"type":23,"tag":63,"props":448,"children":449},{},[450],{"type":28,"value":451},"权限配置",{"type":28,"value":453},"：ACCEPT_EDITS 即可",{"type":23,"tag":59,"props":455,"children":456},{},[457,462],{"type":23,"tag":63,"props":458,"children":459},{},[460],{"type":28,"value":461},"代码生成",{"type":28,"value":463},"：给出了完整的 SubAgentTemplate 配置",{"type":23,"tag":34,"props":465,"children":466},{},[467],{"type":23,"tag":63,"props":468,"children":469},{},[470],{"type":28,"value":471},"这意味着什么？",{"type":23,"tag":34,"props":473,"children":474},{},[475],{"type":28,"value":476},"阿森从一个\"被改造的对象\"升级成了\"agent 管理者\"。它可以：",{"type":23,"tag":55,"props":478,"children":479},{},[480,485,490,495],{"type":23,"tag":59,"props":481,"children":482},{},[483],{"type":28,"value":484},"分析业务需求",{"type":23,"tag":59,"props":486,"children":487},{},[488],{"type":28,"value":489},"判断是否需要中间件/权限/workspace",{"type":23,"tag":59,"props":491,"children":492},{},[493],{"type":28,"value":494},"规划 harness 配置",{"type":23,"tag":59,"props":496,"children":497},{},[498],{"type":28,"value":499},"生成 SubAgentTemplate 代码",{"type":23,"tag":34,"props":501,"children":502},{},[503],{"type":23,"tag":63,"props":504,"children":505},{},[506],{"type":28,"value":507},"我发现了一个重要的能力：智能体可以组建智能体团队。",{"type":23,"tag":40,"props":509,"children":510},{},[],{"type":23,"tag":44,"props":512,"children":514},{"id":513},"收获三个关键洞察",[515],{"type":28,"value":516},"收获：三个关键洞察",{"type":23,"tag":211,"props":518,"children":520},{"id":519},"洞察-1三层递进查询模式是核心",[521],{"type":28,"value":522},"洞察 1：三层递进查询模式是核心",{"type":23,"tag":34,"props":524,"children":525},{},[526],{"type":28,"value":527},"这个模式让智能体具备了\"专家直觉\"：",{"type":23,"tag":55,"props":529,"children":530},{},[531,536,541],{"type":23,"tag":59,"props":532,"children":533},{},[534],{"type":28,"value":535},"80% 的问题在第一层就能解决（秒回）",{"type":23,"tag":59,"props":537,"children":538},{},[539],{"type":28,"value":540},"15% 的问题需要第二层深入（分钟级）",{"type":23,"tag":59,"props":542,"children":543},{},[544],{"type":28,"value":545},"5% 的问题需要第三层查源码（但一定能解决）",{"type":23,"tag":34,"props":547,"children":548},{},[549],{"type":23,"tag":63,"props":550,"children":551},{},[552],{"type":28,"value":553},"这个模式可以推广到任何专家智能体。",{"type":23,"tag":211,"props":555,"children":557},{"id":556},"洞察-2subagenttemplate-是组建团队的关键",[558],{"type":28,"value":559},"洞察 2：SubAgentTemplate 是组建团队的关键",{"type":23,"tag":34,"props":561,"children":562},{},[563],{"type":28,"value":564},"SubAgentTemplate 可以定义可复用的 agent 蓝图，不同业务只需不同配置：",{"type":23,"tag":196,"props":566,"children":570},{"code":567,"language":568,"meta":7,"className":569,"style":7},"# 简单业务：默认配置即可\nSubAgentTemplate(\n    permission=ACCEPT_EDITS,\n    tools=[FunctionTool(time_parser), FunctionTool(json_storage)],\n    middleware=[]  # 不需要中间件\n)\n\n# 复杂业务：需要中间件和权限控制\nSubAgentTemplate(\n    permission=BYPASS,\n    tools=[...],\n    middleware=[SuperpowersMiddleware(), PermissionMiddleware()]\n)\n","python","language-python shiki shiki-themes dracula",[571],{"type":23,"tag":201,"props":572,"children":573},{"__ignoreMap":7},[574,585,594,603,612,621,630,639,648,656,665,674,683],{"type":23,"tag":575,"props":576,"children":579},"span",{"class":577,"line":578},"line",1,[580],{"type":23,"tag":575,"props":581,"children":582},{},[583],{"type":28,"value":584},"# 简单业务：默认配置即可\n",{"type":23,"tag":575,"props":586,"children":588},{"class":577,"line":587},2,[589],{"type":23,"tag":575,"props":590,"children":591},{},[592],{"type":28,"value":593},"SubAgentTemplate(\n",{"type":23,"tag":575,"props":595,"children":597},{"class":577,"line":596},3,[598],{"type":23,"tag":575,"props":599,"children":600},{},[601],{"type":28,"value":602},"    permission=ACCEPT_EDITS,\n",{"type":23,"tag":575,"props":604,"children":606},{"class":577,"line":605},4,[607],{"type":23,"tag":575,"props":608,"children":609},{},[610],{"type":28,"value":611},"    tools=[FunctionTool(time_parser), FunctionTool(json_storage)],\n",{"type":23,"tag":575,"props":613,"children":615},{"class":577,"line":614},5,[616],{"type":23,"tag":575,"props":617,"children":618},{},[619],{"type":28,"value":620},"    middleware=[]  # 不需要中间件\n",{"type":23,"tag":575,"props":622,"children":624},{"class":577,"line":623},6,[625],{"type":23,"tag":575,"props":626,"children":627},{},[628],{"type":28,"value":629},")\n",{"type":23,"tag":575,"props":631,"children":633},{"class":577,"line":632},7,[634],{"type":23,"tag":575,"props":635,"children":636},{"emptyLinePlaceholder":18},[637],{"type":28,"value":638},"\n",{"type":23,"tag":575,"props":640,"children":642},{"class":577,"line":641},8,[643],{"type":23,"tag":575,"props":644,"children":645},{},[646],{"type":28,"value":647},"# 复杂业务：需要中间件和权限控制\n",{"type":23,"tag":575,"props":649,"children":651},{"class":577,"line":650},9,[652],{"type":23,"tag":575,"props":653,"children":654},{},[655],{"type":28,"value":593},{"type":23,"tag":575,"props":657,"children":659},{"class":577,"line":658},10,[660],{"type":23,"tag":575,"props":661,"children":662},{},[663],{"type":28,"value":664},"    permission=BYPASS,\n",{"type":23,"tag":575,"props":666,"children":668},{"class":577,"line":667},11,[669],{"type":23,"tag":575,"props":670,"children":671},{},[672],{"type":28,"value":673},"    tools=[...],\n",{"type":23,"tag":575,"props":675,"children":677},{"class":577,"line":676},12,[678],{"type":23,"tag":575,"props":679,"children":680},{},[681],{"type":28,"value":682},"    middleware=[SuperpowersMiddleware(), PermissionMiddleware()]\n",{"type":23,"tag":575,"props":684,"children":686},{"class":577,"line":685},13,[687],{"type":23,"tag":575,"props":688,"children":689},{},[690],{"type":28,"value":629},{"type":23,"tag":34,"props":692,"children":693},{},[694,699],{"type":23,"tag":63,"props":695,"children":696},{},[697],{"type":28,"value":698},"分级处理策略",{"type":28,"value":308},{"type":23,"tag":55,"props":701,"children":702},{},[703,708],{"type":23,"tag":59,"props":704,"children":705},{},[706],{"type":28,"value":707},"简单业务 → 默认配置",{"type":23,"tag":59,"props":709,"children":710},{},[711],{"type":28,"value":712},"复杂业务 → 加中间件/权限/workspace",{"type":23,"tag":34,"props":714,"children":715},{},[716],{"type":28,"value":717},"这样既保证了灵活性，又避免了过度设计。",{"type":23,"tag":211,"props":719,"children":721},{"id":720},"洞察-3智能体的角色可以升级",[722],{"type":28,"value":723},"洞察 3：智能体的角色可以升级",{"type":23,"tag":34,"props":725,"children":726},{},[727],{"type":28,"value":728},"阿森的角色转变：",{"type":23,"tag":196,"props":730,"children":732},{"code":731},"开发者 → 改造对象 → agent 管理者 → 团队组建者\n",[733],{"type":23,"tag":201,"props":734,"children":735},{"__ignoreMap":7},[736],{"type":28,"value":731},{"type":23,"tag":34,"props":738,"children":739},{},[740],{"type":23,"tag":63,"props":741,"children":742},{},[743],{"type":28,"value":744},"一旦智能体具备了\"组建团队\"的能力，它就可以：",{"type":23,"tag":55,"props":746,"children":747},{},[748,753,758,763],{"type":23,"tag":59,"props":749,"children":750},{},[751],{"type":28,"value":752},"管理多个子智能体",{"type":23,"tag":59,"props":754,"children":755},{},[756],{"type":28,"value":757},"根据任务类型调度不同的专家",{"type":23,"tag":59,"props":759,"children":760},{},[761],{"type":28,"value":762},"汇总各子智能体的结果",{"type":23,"tag":59,"props":764,"children":765},{},[766],{"type":28,"value":767},"持续优化团队配置",{"type":23,"tag":40,"props":769,"children":770},{},[],{"type":23,"tag":44,"props":772,"children":774},{"id":773},"方法论harness-改造四步法",[775],{"type":28,"value":776},"方法论：Harness 改造四步法",{"type":23,"tag":34,"props":778,"children":779},{},[780],{"type":28,"value":781},"基于这次实践，我总结出一套可复用的方法论：",{"type":23,"tag":211,"props":783,"children":785},{"id":784},"步骤-1对比分析",[786],{"type":28,"value":787},"步骤 1：对比分析",{"type":23,"tag":34,"props":789,"children":790},{},[791],{"type":28,"value":792},"把两个 harness 的每个文件逐一对比，找出差距。不要急着改，先看清楚差在哪里。",{"type":23,"tag":34,"props":794,"children":795},{},[796,801],{"type":23,"tag":63,"props":797,"children":798},{},[799],{"type":28,"value":800},"关键问题",{"type":28,"value":308},{"type":23,"tag":55,"props":803,"children":804},{},[805,810,815],{"type":23,"tag":59,"props":806,"children":807},{},[808],{"type":28,"value":809},"知识域是否完整？",{"type":23,"tag":59,"props":811,"children":812},{},[813],{"type":28,"value":814},"工作流程是否清晰？",{"type":23,"tag":59,"props":816,"children":817},{},[818],{"type":28,"value":819},"工具技能是否覆盖核心场景？",{"type":23,"tag":211,"props":821,"children":823},{"id":822},"步骤-2分层改造",[824],{"type":28,"value":825},"步骤 2：分层改造",{"type":23,"tag":34,"props":827,"children":828},{},[829],{"type":28,"value":830},"按照 SOUL.md → AGENTS.md → HEARTBEAT.md → MEMORY.md → Skills 的顺序改造。",{"type":23,"tag":34,"props":832,"children":833},{},[834,839],{"type":23,"tag":63,"props":835,"children":836},{},[837],{"type":28,"value":838},"每一层的改造目标",{"type":28,"value":308},{"type":23,"tag":55,"props":841,"children":842},{},[843,848,853,858,863],{"type":23,"tag":59,"props":844,"children":845},{},[846],{"type":28,"value":847},"SOUL.md：注入完整的知识域",{"type":23,"tag":59,"props":849,"children":850},{},[851],{"type":28,"value":852},"AGENTS.md：固化工作流程和查询模式",{"type":23,"tag":59,"props":854,"children":855},{},[856],{"type":28,"value":857},"HEARTBEAT.md：建立自动化巡检机制",{"type":23,"tag":59,"props":859,"children":860},{},[861],{"type":28,"value":862},"MEMORY.md：记录经验和最佳实践",{"type":23,"tag":59,"props":864,"children":865},{},[866],{"type":28,"value":867},"Skills：整合工具技能",{"type":23,"tag":211,"props":869,"children":871},{"id":870},"步骤-3保持风格一致",[872],{"type":28,"value":873},"步骤 3：保持风格一致",{"type":23,"tag":34,"props":875,"children":876},{},[877],{"type":28,"value":878},"不同智能体有不同的风格：",{"type":23,"tag":55,"props":880,"children":881},{},[882,887],{"type":23,"tag":59,"props":883,"children":884},{},[885],{"type":28,"value":886},"阿郎：言简意赅",{"type":23,"tag":59,"props":888,"children":889},{},[890],{"type":28,"value":891},"阿森：技术严谨",{"type":23,"tag":34,"props":893,"children":894},{},[895],{"type":28,"value":896},"改造时保留各自特色，不要变成\"克隆体\"。",{"type":23,"tag":211,"props":898,"children":900},{"id":899},"步骤-4poc-验证",[901],{"type":28,"value":902},"步骤 4：PoC 验证",{"type":23,"tag":34,"props":904,"children":905},{},[906],{"type":28,"value":907},"用实际项目验证改造效果。我们选了日程提醒 Agent，因为：",{"type":23,"tag":55,"props":909,"children":910},{},[911,916,921],{"type":23,"tag":59,"props":912,"children":913},{},[914],{"type":28,"value":915},"简单业务（不需要中间件）",{"type":23,"tag":59,"props":917,"children":918},{},[919],{"type":28,"value":920},"能验证完整流程（需求→分析→配置→代码）",{"type":23,"tag":59,"props":922,"children":923},{},[924],{"type":28,"value":925},"有实际价值（真的能用）",{"type":23,"tag":40,"props":927,"children":928},{},[],{"type":23,"tag":44,"props":930,"children":932},{"id":931},"适用场景这套方法能用在哪些地方",[933],{"type":28,"value":934},"适用场景：这套方法能用在哪些地方？",{"type":23,"tag":211,"props":936,"children":938},{"id":937},"场景-1长任务执行",[939],{"type":28,"value":940},"场景 1：长任务执行",{"type":23,"tag":34,"props":942,"children":943},{},[944,949],{"type":23,"tag":63,"props":945,"children":946},{},[947],{"type":28,"value":948},"问题",{"type":28,"value":950},"：需要多个步骤、耗时较长的任务，单个智能体容易\"忘记\"或\"迷路\"。",{"type":23,"tag":34,"props":952,"children":953},{},[954,959],{"type":23,"tag":63,"props":955,"children":956},{},[957],{"type":28,"value":958},"解决方案",{"type":28,"value":308},{"type":23,"tag":55,"props":961,"children":962},{},[963,968,973,978],{"type":23,"tag":59,"props":964,"children":965},{},[966],{"type":28,"value":967},"主智能体负责任务分解和进度跟踪",{"type":23,"tag":59,"props":969,"children":970},{},[971],{"type":28,"value":972},"子智能体负责具体执行",{"type":23,"tag":59,"props":974,"children":975},{},[976],{"type":28,"value":977},"通过 Event System 异步通信",{"type":23,"tag":59,"props":979,"children":980},{},[981],{"type":28,"value":982},"主智能体定期 heartbeat 检查进度",{"type":23,"tag":34,"props":984,"children":985},{},[986,991],{"type":23,"tag":63,"props":987,"children":988},{},[989],{"type":28,"value":990},"例子",{"type":28,"value":308},{"type":23,"tag":55,"props":993,"children":994},{},[995,1000,1005],{"type":23,"tag":59,"props":996,"children":997},{},[998],{"type":28,"value":999},"批量处理 100 个文档的摘要生成",{"type":23,"tag":59,"props":1001,"children":1002},{},[1003],{"type":28,"value":1004},"多步骤的数据清洗和转换",{"type":23,"tag":59,"props":1006,"children":1007},{},[1008],{"type":28,"value":1009},"长视频的分析和剪辑",{"type":23,"tag":211,"props":1011,"children":1013},{"id":1012},"场景-2复杂任务执行",[1014],{"type":28,"value":1015},"场景 2：复杂任务执行",{"type":23,"tag":34,"props":1017,"children":1018},{},[1019,1023],{"type":23,"tag":63,"props":1020,"children":1021},{},[1022],{"type":28,"value":948},{"type":28,"value":1024},"：需要多领域专业知识的任务，单个智能体无法覆盖所有领域。",{"type":23,"tag":34,"props":1026,"children":1027},{},[1028,1032],{"type":23,"tag":63,"props":1029,"children":1030},{},[1031],{"type":28,"value":958},{"type":28,"value":308},{"type":23,"tag":55,"props":1034,"children":1035},{},[1036,1041,1046,1051],{"type":23,"tag":59,"props":1037,"children":1038},{},[1039],{"type":28,"value":1040},"主智能体扮演\"指挥官\"角色",{"type":23,"tag":59,"props":1042,"children":1043},{},[1044],{"type":28,"value":1045},"根据任务类型调度不同的专家智能体",{"type":23,"tag":59,"props":1047,"children":1048},{},[1049],{"type":28,"value":1050},"通过 Middleware 拦截和协调",{"type":23,"tag":59,"props":1052,"children":1053},{},[1054],{"type":28,"value":762},{"type":23,"tag":34,"props":1056,"children":1057},{},[1058,1062],{"type":23,"tag":63,"props":1059,"children":1060},{},[1061],{"type":28,"value":990},{"type":28,"value":308},{"type":23,"tag":55,"props":1064,"children":1065},{},[1066,1071,1076],{"type":23,"tag":59,"props":1067,"children":1068},{},[1069],{"type":28,"value":1070},"云资源部署（需要 IaC、费用估算、建栈等多个专家）",{"type":23,"tag":59,"props":1072,"children":1073},{},[1074],{"type":28,"value":1075},"全栈开发（需要前端、后端、测试、文档等多个专家）",{"type":23,"tag":59,"props":1077,"children":1078},{},[1079],{"type":28,"value":1080},"内容创作（需要选题、写作、配图、排版等多个专家）",{"type":23,"tag":211,"props":1082,"children":1084},{"id":1083},"场景-3组建智能体团队",[1085],{"type":28,"value":1086},"场景 3：组建智能体团队",{"type":23,"tag":34,"props":1088,"children":1089},{},[1090,1094],{"type":23,"tag":63,"props":1091,"children":1092},{},[1093],{"type":28,"value":948},{"type":28,"value":1095},"：需要多个智能体协作完成一个项目，但缺乏统一的管理机制。",{"type":23,"tag":34,"props":1097,"children":1098},{},[1099,1103],{"type":23,"tag":63,"props":1100,"children":1101},{},[1102],{"type":28,"value":958},{"type":28,"value":308},{"type":23,"tag":55,"props":1105,"children":1106},{},[1107,1112,1117,1122],{"type":23,"tag":59,"props":1108,"children":1109},{},[1110],{"type":28,"value":1111},"用 SubAgentTemplate 定义可复用的 agent 蓝图",{"type":23,"tag":59,"props":1113,"children":1114},{},[1115],{"type":28,"value":1116},"不同业务只需不同配置",{"type":23,"tag":59,"props":1118,"children":1119},{},[1120],{"type":28,"value":1121},"主智能体管理所有 agent 的生命周期",{"type":23,"tag":59,"props":1123,"children":1124},{},[1125],{"type":28,"value":1126},"分级处理：简单业务用默认配置，复杂业务才加中间件",{"type":23,"tag":34,"props":1128,"children":1129},{},[1130,1134],{"type":23,"tag":63,"props":1131,"children":1132},{},[1133],{"type":28,"value":990},{"type":28,"value":308},{"type":23,"tag":55,"props":1136,"children":1137},{},[1138,1143,1148],{"type":23,"tag":59,"props":1139,"children":1140},{},[1141],{"type":28,"value":1142},"多业务 Agent 平台（每个业务一个 agent）",{"type":23,"tag":59,"props":1144,"children":1145},{},[1146],{"type":28,"value":1147},"智能体开发团队（架构师、开发、测试、文档各司其职）",{"type":23,"tag":59,"props":1149,"children":1150},{},[1151],{"type":28,"value":1152},"个人助理团队（日程、邮件、消息、文件管理）",{"type":23,"tag":211,"props":1154,"children":1156},{"id":1155},"场景-4智能体自我进化",[1157],{"type":28,"value":1158},"场景 4：智能体自我进化",{"type":23,"tag":34,"props":1160,"children":1161},{},[1162,1166],{"type":23,"tag":63,"props":1163,"children":1164},{},[1165],{"type":28,"value":948},{"type":28,"value":1167},"：智能体需要持续学习和改进，但缺乏系统性的方法。",{"type":23,"tag":34,"props":1169,"children":1170},{},[1171,1175],{"type":23,"tag":63,"props":1172,"children":1173},{},[1174],{"type":28,"value":958},{"type":28,"value":308},{"type":23,"tag":55,"props":1177,"children":1178},{},[1179,1184,1189],{"type":23,"tag":59,"props":1180,"children":1181},{},[1182],{"type":28,"value":1183},"三层递进查询模式（知识域→reference→源码）",{"type":23,"tag":59,"props":1185,"children":1186},{},[1187],{"type":28,"value":1188},"自我优化体系（记录错误、修正、学习）",{"type":23,"tag":59,"props":1190,"children":1191},{},[1192],{"type":28,"value":1193},"定期回顾和更新 harness",{"type":23,"tag":34,"props":1195,"children":1196},{},[1197,1201],{"type":23,"tag":63,"props":1198,"children":1199},{},[1200],{"type":28,"value":990},{"type":28,"value":308},{"type":23,"tag":55,"props":1203,"children":1204},{},[1205,1210,1215],{"type":23,"tag":59,"props":1206,"children":1207},{},[1208],{"type":28,"value":1209},"专家智能体的知识域持续扩充",{"type":23,"tag":59,"props":1211,"children":1212},{},[1213],{"type":28,"value":1214},"调试流程的持续优化",{"type":23,"tag":59,"props":1216,"children":1217},{},[1218],{"type":28,"value":1219},"工具技能的持续迭代",{"type":23,"tag":211,"props":1221,"children":1223},{"id":1222},"场景-5多租户-saas-服务",[1224],{"type":28,"value":1225},"场景 5：多租户 SaaS 服务",{"type":23,"tag":34,"props":1227,"children":1228},{},[1229,1233],{"type":23,"tag":63,"props":1230,"children":1231},{},[1232],{"type":28,"value":948},{"type":28,"value":1234},"：需要为不同用户提供隔离的智能体服务。",{"type":23,"tag":34,"props":1236,"children":1237},{},[1238,1242],{"type":23,"tag":63,"props":1239,"children":1240},{},[1241],{"type":28,"value":958},{"type":28,"value":308},{"type":23,"tag":55,"props":1244,"children":1245},{},[1246,1251,1256],{"type":23,"tag":59,"props":1247,"children":1248},{},[1249],{"type":28,"value":1250},"Agent Service 提供多租户多会话支持",{"type":23,"tag":59,"props":1252,"children":1253},{},[1254],{"type":28,"value":1255},"Workspace 提供环境隔离（Local/Docker/E2B）",{"type":23,"tag":59,"props":1257,"children":1258},{},[1259],{"type":28,"value":1260},"Permission System 控制权限边界",{"type":23,"tag":34,"props":1262,"children":1263},{},[1264,1268],{"type":23,"tag":63,"props":1265,"children":1266},{},[1267],{"type":28,"value":990},{"type":28,"value":308},{"type":23,"tag":55,"props":1270,"children":1271},{},[1272,1277,1282],{"type":23,"tag":59,"props":1273,"children":1274},{},[1275],{"type":28,"value":1276},"AI 编程助手 SaaS（每个用户一个隔离环境）",{"type":23,"tag":59,"props":1278,"children":1279},{},[1280],{"type":28,"value":1281},"智能客服系统（每个客户一个会话实例）",{"type":23,"tag":59,"props":1283,"children":1284},{},[1285],{"type":28,"value":1286},"教育平台（每个学生一个学习助手）",{"type":23,"tag":40,"props":1288,"children":1289},{},[],{"type":23,"tag":44,"props":1291,"children":1293},{"id":1292},"我的观察ai-协作的三个趋势",[1294],{"type":28,"value":1295},"我的观察：AI 协作的三个趋势",{"type":23,"tag":34,"props":1297,"children":1298},{},[1299],{"type":28,"value":1300},"基于这次实践，我观察到三个趋势：",{"type":23,"tag":211,"props":1302,"children":1304},{"id":1303},"趋势-1从单个智能体到智能体团队",[1305],{"type":28,"value":1306},"趋势 1：从\"单个智能体\"到\"智能体团队\"",{"type":23,"tag":34,"props":1308,"children":1309},{},[1310,1312,1317],{"type":28,"value":1311},"过去的 AI 应用大多是单个智能体完成任务。未来，",{"type":23,"tag":63,"props":1313,"children":1314},{},[1315],{"type":28,"value":1316},"智能体团队",{"type":28,"value":1318},"会成为主流：",{"type":23,"tag":55,"props":1320,"children":1321},{},[1322,1327,1332],{"type":23,"tag":59,"props":1323,"children":1324},{},[1325],{"type":28,"value":1326},"主智能体负责协调和管理",{"type":23,"tag":59,"props":1328,"children":1329},{},[1330],{"type":28,"value":1331},"子智能体负责专业领域",{"type":23,"tag":59,"props":1333,"children":1334},{},[1335],{"type":28,"value":1336},"通过标准化接口协作",{"type":23,"tag":211,"props":1338,"children":1340},{"id":1339},"趋势-2从硬编码到可配置",[1341],{"type":28,"value":1342},"趋势 2：从\"硬编码\"到\"可配置\"",{"type":23,"tag":34,"props":1344,"children":1345},{},[1346,1348,1353],{"type":28,"value":1347},"过去的智能体行为是硬编码的。未来，",{"type":23,"tag":63,"props":1349,"children":1350},{},[1351],{"type":28,"value":1352},"可配置的智能体",{"type":28,"value":1318},{"type":23,"tag":55,"props":1355,"children":1356},{},[1357,1362,1366],{"type":23,"tag":59,"props":1358,"children":1359},{},[1360],{"type":28,"value":1361},"SubAgentTemplate 定义蓝图",{"type":23,"tag":59,"props":1363,"children":1364},{},[1365],{"type":28,"value":1116},{"type":23,"tag":59,"props":1367,"children":1368},{},[1369],{"type":28,"value":1370},"快速部署和迭代",{"type":23,"tag":211,"props":1372,"children":1374},{"id":1373},"趋势-3从被动响应到主动管理",[1375],{"type":28,"value":1376},"趋势 3：从\"被动响应\"到\"主动管理\"",{"type":23,"tag":34,"props":1378,"children":1379},{},[1380,1382,1387],{"type":28,"value":1381},"过去的智能体是被动响应用户请求。未来，",{"type":23,"tag":63,"props":1383,"children":1384},{},[1385],{"type":28,"value":1386},"主动管理的智能体",{"type":28,"value":1318},{"type":23,"tag":55,"props":1389,"children":1390},{},[1391,1396,1401],{"type":23,"tag":59,"props":1392,"children":1393},{},[1394],{"type":28,"value":1395},"智能体可以组建团队",{"type":23,"tag":59,"props":1397,"children":1398},{},[1399],{"type":28,"value":1400},"智能体可以管理生命周期",{"type":23,"tag":59,"props":1402,"children":1403},{},[1404],{"type":28,"value":1405},"智能体可以持续进化",{"type":23,"tag":40,"props":1407,"children":1408},{},[],{"type":23,"tag":44,"props":1410,"children":1412},{"id":1411},"下一步多业务-agent-平台",[1413],{"type":28,"value":1414},"下一步：多业务 Agent 平台",{"type":23,"tag":34,"props":1416,"children":1417},{},[1418],{"type":28,"value":1419},"基于这次改造，我有一个更大的构想：",{"type":23,"tag":34,"props":1421,"children":1422},{},[1423],{"type":23,"tag":63,"props":1424,"children":1425},{},[1426],{"type":28,"value":1427},"以 AgentScope 2.0 的 agent_service 为基础平台，把个人小业务都做成平台上的不同 agent。",{"type":23,"tag":55,"props":1429,"children":1430},{},[1431,1441,1451],{"type":23,"tag":59,"props":1432,"children":1433},{},[1434,1439],{"type":23,"tag":63,"props":1435,"children":1436},{},[1437],{"type":28,"value":1438},"简单业务",{"type":28,"value":1440},"（不需要中间件）→ 阿森直接规划 harness + 创建 SubAgentTemplate 配置",{"type":23,"tag":59,"props":1442,"children":1443},{},[1444,1449],{"type":23,"tag":63,"props":1445,"children":1446},{},[1447],{"type":28,"value":1448},"复杂业务",{"type":28,"value":1450},"（需要中间件/权限/workspace）→ 阿森开发中间件等高级功能",{"type":23,"tag":59,"props":1452,"children":1453},{},[1454,1459],{"type":23,"tag":63,"props":1455,"children":1456},{},[1457],{"type":28,"value":1458},"阿森的角色升级",{"type":28,"value":1460},"：从\"开发者\"→\"agent 管理者\"，管理平台上所有 agent 的生命周期",{"type":23,"tag":34,"props":1462,"children":1463},{},[1464,1466,1471],{"type":28,"value":1465},"这就像是一个",{"type":23,"tag":63,"props":1467,"children":1468},{},[1469],{"type":28,"value":1470},"智能体工厂",{"type":28,"value":308},{"type":23,"tag":223,"props":1473,"children":1474},{},[1475,1480,1485,1490,1495],{"type":23,"tag":59,"props":1476,"children":1477},{},[1478],{"type":28,"value":1479},"用户提出业务需求",{"type":23,"tag":59,"props":1481,"children":1482},{},[1483],{"type":28,"value":1484},"阿森分析需求，判断复杂度",{"type":23,"tag":59,"props":1486,"children":1487},{},[1488],{"type":28,"value":1489},"阿森规划 harness 配置",{"type":23,"tag":59,"props":1491,"children":1492},{},[1493],{"type":28,"value":1494},"阿森生成 SubAgentTemplate 代码",{"type":23,"tag":59,"props":1496,"children":1497},{},[1498],{"type":28,"value":1499},"新 agent 上线，开始服务",{"type":23,"tag":40,"props":1501,"children":1502},{},[],{"type":23,"tag":44,"props":1504,"children":1506},{"id":1505},"总结",[1507],{"type":28,"value":1505},{"type":23,"tag":34,"props":1509,"children":1510},{},[1511,1513,1518],{"type":28,"value":1512},"这次实践让我发现：",{"type":23,"tag":63,"props":1514,"children":1515},{},[1516],{"type":28,"value":1517},"智能体可以组建智能体团队",{"type":28,"value":96},{"type":23,"tag":34,"props":1520,"children":1521},{},[1522],{"type":28,"value":1523},"关键要素：",{"type":23,"tag":223,"props":1525,"children":1526},{},[1527,1537,1547,1557,1566],{"type":23,"tag":59,"props":1528,"children":1529},{},[1530,1535],{"type":23,"tag":63,"props":1531,"children":1532},{},[1533],{"type":28,"value":1534},"分层改造 harness",{"type":28,"value":1536},"：SOUL.md → AGENTS.md → HEARTBEAT.md → MEMORY.md → Skills",{"type":23,"tag":59,"props":1538,"children":1539},{},[1540,1545],{"type":23,"tag":63,"props":1541,"children":1542},{},[1543],{"type":28,"value":1544},"三层递进查询",{"type":28,"value":1546},"：知识域速查 → reference 深入 → 源码 API 精确查询",{"type":23,"tag":59,"props":1548,"children":1549},{},[1550,1555],{"type":23,"tag":63,"props":1551,"children":1552},{},[1553],{"type":28,"value":1554},"SubAgentTemplate 配置",{"type":28,"value":1556},"：定义可复用的 agent 蓝图",{"type":23,"tag":59,"props":1558,"children":1559},{},[1560,1564],{"type":23,"tag":63,"props":1561,"children":1562},{},[1563],{"type":28,"value":698},{"type":28,"value":1565},"：简单业务用默认配置，复杂业务才加中间件",{"type":23,"tag":59,"props":1567,"children":1568},{},[1569,1574],{"type":23,"tag":63,"props":1570,"children":1571},{},[1572],{"type":28,"value":1573},"智能体角色升级",{"type":28,"value":1575},"：从\"开发者\"→\"agent 管理者\"",{"type":23,"tag":34,"props":1577,"children":1578},{},[1579],{"type":28,"value":1580},"这套方法不仅适用于 AgentScope，还可以推广到任何多智能体协作场景。",{"type":23,"tag":34,"props":1582,"children":1583},{},[1584,1589],{"type":23,"tag":63,"props":1585,"children":1586},{},[1587],{"type":28,"value":1588},"未来已来，只是分布得不均匀。",{"type":28,"value":1590}," 而我们要做的，就是让智能体学会组建智能体团队。",{"type":23,"tag":40,"props":1592,"children":1593},{},[],{"type":23,"tag":34,"props":1595,"children":1596},{},[1597],{"type":23,"tag":1598,"props":1599,"children":1600},"em",{},[1601],{"type":28,"value":1602},"作者：加加（公众号\"加加笔记\"主理人）",{"type":23,"tag":34,"props":1604,"children":1605},{},[1606],{"type":23,"tag":1598,"props":1607,"children":1608},{},[1609],{"type":28,"value":10},{"type":23,"tag":1611,"props":1612,"children":1613},"style",{},[1614],{"type":28,"value":1615},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":587,"depth":587,"links":1617},[1618,1619,1620,1627,1628,1633,1639,1646,1651,1652],{"id":46,"depth":587,"text":46},{"id":102,"depth":587,"text":105},{"id":175,"depth":587,"text":178,"children":1621},[1622,1623,1624,1625,1626],{"id":213,"depth":596,"text":216},{"id":293,"depth":596,"text":296},{"id":347,"depth":596,"text":350},{"id":376,"depth":596,"text":379},{"id":387,"depth":596,"text":390},{"id":401,"depth":587,"text":404},{"id":513,"depth":587,"text":516,"children":1629},[1630,1631,1632],{"id":519,"depth":596,"text":522},{"id":556,"depth":596,"text":559},{"id":720,"depth":596,"text":723},{"id":773,"depth":587,"text":776,"children":1634},[1635,1636,1637,1638],{"id":784,"depth":596,"text":787},{"id":822,"depth":596,"text":825},{"id":870,"depth":596,"text":873},{"id":899,"depth":596,"text":902},{"id":931,"depth":587,"text":934,"children":1640},[1641,1642,1643,1644,1645],{"id":937,"depth":596,"text":940},{"id":1012,"depth":596,"text":1015},{"id":1083,"depth":596,"text":1086},{"id":1155,"depth":596,"text":1158},{"id":1222,"depth":596,"text":1225},{"id":1292,"depth":587,"text":1295,"children":1647},[1648,1649,1650],{"id":1303,"depth":596,"text":1306},{"id":1339,"depth":596,"text":1342},{"id":1373,"depth":596,"text":1376},{"id":1411,"depth":587,"text":1414},{"id":1505,"depth":587,"text":1505},"markdown","content:blogs:agent-team-building.md","content","blogs/agent-team-building.md","blogs/agent-team-building","md",{"loc":4},1781448874074]