[{"data":1,"prerenderedAt":132},["ShallowReactive",2],{"content-/blog/agent-types":3,"related-blog":107},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"keywords":10,"author":11,"date":12,"category":13,"image":14,"body":15,"_type":101,"_id":102,"_source":103,"_file":104,"_stem":105,"_extension":106},"/blog/agent-types","blog",false,"","智能体类型设计","不同类型的智能体：需求分析、内容生成、设计优化、代码生成","智能体类型设计, Blog, HTMLPAGE","HTMLPAGE","2025-11-26","待分类","/content-images/blog/blog.jpg",{"type":16,"children":17,"toc":94},"root",[18,26,33,53,58,71,76,84,89],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23],{"type":24,"value":25},"text","在多代理（multi-agent）系统设计中，不同类型的 agent 承担不同职责。本文将对常见 agent 类型进行分类并给出适用场景。",{"type":19,"tag":27,"props":28,"children":30},"h3",{"id":29},"常见-agent-类型",[31],{"type":24,"value":32},"常见 agent 类型",{"type":19,"tag":34,"props":35,"children":36},"ul",{},[37,43,48],{"type":19,"tag":38,"props":39,"children":40},"li",{},[41],{"type":24,"value":42},"协调型（Coordinator）：负责任务分配、流程编排与状态管理。",{"type":19,"tag":38,"props":44,"children":45},{},[46],{"type":24,"value":47},"执行型（Worker）：执行具体任务（生成内容、渲染模板、处理请求）。",{"type":19,"tag":38,"props":49,"children":50},{},[51],{"type":24,"value":52},"感知型（Observer）：采集状态、监控指标并触发告警或回调。",{"type":19,"tag":27,"props":54,"children":56},{"id":55},"设计要点",[57],{"type":24,"value":55},{"type":19,"tag":34,"props":59,"children":60},{},[61,66],{"type":19,"tag":38,"props":62,"children":63},{},[64],{"type":24,"value":65},"明确边界：每类 agent 的职责与接口需明确，避免职责模糊导致耦合。",{"type":19,"tag":38,"props":67,"children":68},{},[69],{"type":24,"value":70},"弹性与隔离：通过消息队列与幂等设计实现容错与重试。",{"type":19,"tag":27,"props":72,"children":74},{"id":73},"协同模式",[75],{"type":24,"value":73},{"type":19,"tag":34,"props":77,"children":78},{},[79],{"type":19,"tag":38,"props":80,"children":81},{},[82],{"type":24,"value":83},"Pull vs Push：Worker 拉取任务（队列）或由 Coordinator 下发任务，各有利弊（伸缩、实时性）。",{"type":19,"tag":27,"props":85,"children":87},{"id":86},"结论",[88],{"type":24,"value":86},{"type":19,"tag":20,"props":90,"children":91},{},[92],{"type":24,"value":93},"根据任务复杂度与并发特性划分 agent 类型，有助于系统可扩展性与运维管理。保持接口简洁与可观测是长期维护的关键。",{"title":7,"searchDepth":95,"depth":95,"links":96},3,[97,98,99,100],{"id":29,"depth":95,"text":32},{"id":55,"depth":95,"text":55},{"id":73,"depth":95,"text":73},{"id":86,"depth":95,"text":86},"markdown","content:blog:agent-types.md","content","blog/agent-types.md","blog/agent-types","md",[108,116,124],{"_path":109,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":110,"description":111,"keywords":112,"author":11,"date":12,"category":13,"image":14,"_type":101,"_id":113,"_source":103,"_file":114,"_stem":115,"_extension":106},"/blog/2025-q1-updates","2025 Q1 产品更新","第一季度重大功能发布：AI 生成优化、新模板上线、编辑器增强等","2025 Q1 产品更新, Blog, HTMLPAGE","content:blog:2025-q1-updates.md","blog/2025-q1-updates.md","blog/2025-q1-updates",{"_path":117,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":118,"description":119,"keywords":120,"author":11,"date":12,"category":13,"image":14,"_type":101,"_id":121,"_source":103,"_file":122,"_stem":123,"_extension":106},"/blog/2025-roadmap","2025 产品路线图","展望 2025 年的产品规划：AI 能力增强、模板扩充、国际化等","2025 产品路线图, Blog, HTMLPAGE","content:blog:2025-roadmap.md","blog/2025-roadmap.md","blog/2025-roadmap",{"_path":125,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":126,"description":127,"keywords":128,"author":11,"date":12,"category":13,"image":14,"_type":101,"_id":129,"_source":103,"_file":130,"_stem":131,"_extension":106},"/blog/ab-testing","A/B 测试","通过 A/B 测试验证设计方案","A/B 测试, Blog, HTMLPAGE","content:blog:ab-testing.md","blog/ab-testing.md","blog/ab-testing",1774945288085]