Files
myWiki/concepts/agent-boundary-design.md

42 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Agent 边界设计Boundary Design"
created: 2026-07-03
updated: 2026-07-03
type: concept
tags: ["agent", "security", "boundary", "enterprise"]
sources: ["https://mp.weixin.qq.com/s/iiTmgbtrYHMMjQ7dn7CDrg"]
---
# Agent 边界设计
> 数据不能随便出内网,成本不能无限往上堆,权限不能只靠模型自觉,记忆不能在用户之间串。
## 核心定义
**Agent 边界设计** 是 Agent 系统在真实业务场景中必须处理的四重边界问题:数据边界、工具边界、模型边界、记忆边界。这是区分「企业级 Agent」和「个人玩具」的关键工程维度。
## 四重边界
| 边界类型 | 约束内容 | 实现方式 |
|---------|---------|---------|
| **数据边界** | 敏感数据不出内网 | 本地模型处理 + 数据访问规则 |
| **工具边界** | 工具不全局暴露 | [[tool-workspace-binding|工具-工作区绑定]] |
| **模型边界** | 不同任务用不同模型 | [[multi-model-routing|多模型路由]] |
| **记忆边界** | 记忆不能在用户/任务间串 | [[memory-tripartite-partition|记忆三分区]] |
## 与本地小模型的关系
企业场景中,很多任务不默认交给最贵、最大的云端模型:
- 敏感数据优先走本地模型
- 常规流程用便宜模型
- 复杂分析再交给更强模型
Workspace 设计让这种路由更自然——不同工作区可绑定不同模型。
## 参考
- [[zleap-workspace-harness-2026|Zleap-Agent Harness 设计]]
- [[workspace-first-architecture|Workspace-first 架构]]
- [[boundary-compliance|边界合规]]
- [[multi-model-routing|多模型路由]]