<svg width="1200" height="680" viewBox="0 0 1200 680" fill="none" xmlns="http://www.w3.org/2000/svg">
  <rect width="1200" height="680" fill="#F8FAFC"/>
  <rect x="40" y="40" width="1120" height="600" rx="28" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="2"/>
  <text x="60" y="78" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="34" font-weight="700" fill="#0F172A">AI智能体基本工作流</text>
  <text x="60" y="116" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="18" fill="#475569">从目标理解、规划决策到工具调用与结果反馈的闭环</text>

  <rect x="80" y="220" width="150" height="90" rx="18" fill="#DBEAFE"/>
  <text x="155" y="258" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#1D4ED8">用户目标</text>
  <text x="155" y="288" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#1E3A8A">任务输入</text>

  <rect x="270" y="220" width="160" height="90" rx="18" fill="#E0E7FF"/>
  <text x="350" y="258" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#4338CA">目标理解</text>
  <text x="350" y="288" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#3730A3">上下文解析</text>

  <rect x="470" y="220" width="160" height="90" rx="18" fill="#DDD6FE"/>
  <text x="550" y="258" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#6D28D9">规划决策</text>
  <text x="550" y="288" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#5B21B6">拆解步骤</text>

  <rect x="670" y="220" width="180" height="90" rx="18" fill="#FCE7F3"/>
  <text x="760" y="258" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#BE185D">工具/知识调用</text>
  <text x="760" y="288" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#9D174D">API、RAG、系统能力</text>

  <rect x="890" y="220" width="170" height="90" rx="18" fill="#DCFCE7"/>
  <text x="975" y="258" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#15803D">执行反馈</text>
  <text x="975" y="288" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#166534">输出结果与修正</text>

  <path d="M230 265H270" stroke="#94A3B8" stroke-width="6" stroke-linecap="round"/>
  <path d="M430 265H470" stroke="#94A3B8" stroke-width="6" stroke-linecap="round"/>
  <path d="M630 265H670" stroke="#94A3B8" stroke-width="6" stroke-linecap="round"/>
  <path d="M850 265H890" stroke="#94A3B8" stroke-width="6" stroke-linecap="round"/>
  <path d="M975 310C975 380 760 390 550 390C340 390 155 380 155 310" stroke="#CBD5E1" stroke-width="4" stroke-dasharray="10 8"/>
  <text x="560" y="430" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="20" font-weight="700" fill="#334155">持续迭代闭环：根据反馈再次规划与执行</text>

  <rect x="170" y="500" width="260" height="84" rx="18" fill="#F8FAFC" stroke="#CBD5E1" stroke-width="2"/>
  <text x="300" y="538" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#0F172A">记忆与上下文</text>
  <text x="300" y="566" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#475569">长期记忆、会话状态、历史任务</text>

  <rect x="470" y="500" width="260" height="84" rx="18" fill="#F8FAFC" stroke="#CBD5E1" stroke-width="2"/>
  <text x="600" y="538" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#0F172A">规则与权限</text>
  <text x="600" y="566" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#475569">边界约束、审批策略、安全控制</text>

  <rect x="770" y="500" width="250" height="84" rx="18" fill="#F8FAFC" stroke="#CBD5E1" stroke-width="2"/>
  <text x="895" y="538" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="24" font-weight="700" fill="#0F172A">观测与评估</text>
  <text x="895" y="566" text-anchor="middle" font-family="Arial, 'Microsoft YaHei', sans-serif" font-size="16" fill="#475569">日志、质量评测、调用成本</text>
</svg>