``` flowchart TB subgraph Layer1["1. 用户与接入层 (Access Layer)"] UI["Web 中台控制台\n(对话界面 / 插件管理)"] ChatBot["企微/办公 IM 机器人"] Card["安全审批卡片\n(Human-in-the-loop)"] end subgraph Tools["内置核心能力"] RAG["RAG 问答引擎"] CodeInterpreter["数据分析引擎\n(分析CDN优质客户)"] end subgraph Layer2["2. 智能体编排中台 (基于 Spring Boot & Spring AI)"] Router["意图路由引擎 (Semantic Router)"] Planner["Agent 调度与规划 (ReAct)"] Tools end subgraph Layer3["3. 动态插件生态引擎 (Plugin Market) ⭐️核心创新"] RegistryDB[("插件注册数据库\n(存储接口URL、参数定义)")] SchemaConverter["动态 Schema 转换器\n(DB配置 -> LLM Function Calling)"] Interceptor["高危操作拦截器\n(识别写操作、触发审批)"] HttpExecutor["通用 HTTP 执行器\n(动态发起 REST 请求)"] MCPClient["MCP 协议网关\n(未来对接标准 MCP Server)"] end subgraph Layer4["4. 基础设施与外部业务线 (Infrastructure & Business)"] LLM["大语言模型 (LLM)"] RAGFlow["现有 RAGFlow 知识库"] IBS["IBS 系统\n(流量查验/工单)"] CDN["CDN 下发系统\n(一键配置)"] DNS["DNS 管理系统\n(动态查询)"] end UI --> Router ChatBot --> Router Router -- 知识库查询 --> RAG Router -- 业务指令/查询 --> Planner RAG <-- 检索 --> RAGFlow Planner <-- "1. 交互与思考" --> LLM RegistryDB -. "2. 实时加载接口配置" .-> SchemaConverter SchemaConverter -- "3. 转换并注入可用工具" --> Planner Planner -- "4. 生成调用指令" --> Interceptor Interceptor -. "5a. 识别为 CDN 下发\n要求人工确认" .-> Card Card -. 用户点击“确认” .-> Interceptor Interceptor -- "5b. 鉴权通过放行" --> HttpExecutor Interceptor -- 放行至新架构 --> MCPClient HttpExecutor -- "6. 拼装动态 HTTP 请求" --> IBS HttpExecutor -- HTTP 请求 --> CDN & DNS MCPClient -. 未来演进: MCP通信协议 .-> DNS Card:::highlight IBS:::external CDN:::external DNS:::external classDef core fill:#e1f5fe,stroke:#01579b,stroke-width:2px classDef plugin fill:#fff3e0,stroke:#e65100,stroke-width:2px classDef external fill:#f1f8e9,stroke:#33681e,stroke-width:1px classDef highlight fill:#ffebee,stroke:#c62828,stroke-width:2px style Layer1 fill:#fafafa,stroke:#bdbdbd,stroke-width:1px,stroke-dasharray: 5 5 style Layer2 fill:#fafafa,stroke:#bdbdbd,stroke-width:1px,stroke-dasharray: 5 5 style Layer3 fill:#fafafa,stroke:#ffb74d,stroke-width:2px,stroke-dasharray: 5 5 style Layer4 fill:#fafafa,stroke:#bdbdbd,stroke-width:1px,stroke-dasharray: 5 5 ```