包文件→ .shtukbase/packages/lenses/kit/examples/architecture.lens.md
kit/examples/architecture.lens.md
40 行, 2.8 KB.
- ---
- type: Lens
- title: 智能体架构
- icon: "🏗️"
- description: "谁向智能体派发任务,它们通过哪些渠道回复,从哪里获取数据,需要哪些访问权限,以及一切在哪里运行"
- template: canvas
- layout:
- columns: "190px 230px 270px 240px 240px 200px"
- stacks:
- - [people]
- - [channels, envs]
- - [agents]
- - [automations]
- - [integrations, access]
- - [parties]
- regions:
- - {id: people, title: 人员, hint: 产品中的角色, color: purple, from: /product/roles, card: {sub: false, chips: []}}
- - {id: channels, title: 渠道, hint: 智能体在哪里回复, color: brown, from: /product/surfaces, where: {kind: channel}, card: {chips: []}}
- - {id: agents, title: 智能体, color: blue, from: /product/agents, group: kind, card: {chips: [status]}}
- - {id: automations, title: 自动化, hint: 定期任务, color: orange, from: /product/automations, card: {sub: when, chips: []}}
- - {id: integrations, title: 集成, hint: 数据从哪里来, color: teal, from: /product/surfaces, where: {kind: integration}, card: {chips: []}}
- - {id: access, title: 访问权限, hint: 客户提供什么, color: gray, from: /deal/access, card: {sub: false, chips: [status], compact: false}}
- - {id: envs, title: 环境, hint: 在哪里运行, color: green, from: /ops/environments, card: {sub: host, chips: [kind, status]}}
- - {id: parties, title: 外部各方, color: red, from: /business/parties, linked: true, card: {sub: false, chips: [kind]}}
- edges:
- - {field: askedBy, from: agents, to: people, reverse: true, label: 派发任务, color: purple}
- - {field: connections, from: agents, to: channels, label: 通过……回复, color: brown}
- - {field: automations, from: agents, to: automations, label: 运行, color: orange}
- - {field: connections, from: agents, to: integrations, label: 从……取数据, color: teal}
- - {field: access, from: agents, to: access, label: 需要访问权限, color: gray, dash: true}
- - {field: notifies, from: automations, to: people, label: 通知, color: pink, dash: true}
- - {field: provider, to: parties, label: 提供, color: red, reverse: true}
- - {field: hostowner, from: envs, to: parties, label: 由……托管, color: green, dash: true}
- ---
- 由基础中的记录构建:[智能体](/product/agents.md)、[界面](/product/surfaces.md)(渠道和集成)、[自动化](/product/automations.md)、[访问权限](/deal/access.md)、[环境](/ops/environments.md)和[外部各方](/business/parties.md)。
- 箭头即记录中的链接字段:智能体上的 `askedBy`、`connections`、`automations`、`access`,自动化上的 `notifies`,界面上的 `provider`,环境上的 `hostowner`。若要修正这幅图,请编辑记录本身——透镜视图会重新构建。
- 将鼠标悬停在卡片上——只保留它的链接。点击——打开记录。