ShtukbaseStandard
包页面→ /agents.md

pages/agents.md

65 行, 2.7 KB. 以页面形式查看.

  1. ---
  2. type: Collection
  3. title: "智能体"
  4. icon: "🤖"
  5. description: "项目里的执行者:每类智能体一个页面,包含运行时、模型、推理强度、角色和限额。这里是配置,不是对话。"
  6. itemType: Worker
  7. items: {mode: path, path: /agents, recursive: false}
  8. writeTo: /agents
  9. properties:
  10. runtime: {kind: text, label: "运行时(claude、codex、hermes、dsh 等)"}
  11. model: {kind: text, label: "模型"}
  12. profile: {kind: text, label: "运行时配置"}
  13. effort:
  14. kind: select
  15. label: "推理强度"
  16. options:
  17. - {name: low, label: "低", color: gray}
  18. - {name: medium, label: "中", color: blue}
  19. - {name: high, label: "高", color: purple}
  20. - {name: xhigh, label: "很高", color: orange}
  21. - {name: max, label: "最高", color: red}
  22. tier:
  23. kind: select
  24. label: "分级"
  25. options:
  26. - {name: cheap, label: "便宜", color: gray}
  27. - {name: medium, label: "中", color: blue}
  28. - {name: strong, label: "强", color: purple}
  29. role: {kind: text, label: "角色(做什么:执行者、评审者、协调者等)"}
  30. memory:
  31. kind: select
  32. label: "记忆范围"
  33. options:
  34. - {name: none, label: "只记得本次运行", color: gray}
  35. - {name: conversation, label: "自己的对话", color: blue}
  36. - {name: knowledge, label: "项目知识", color: green}
  37. skills: {kind: text, label: "技能"}
  38. account: {kind: text, label: "账户(不含密钥)"}
  39. views:
  40. - id: agents--table
  41. name: "全部智能体"
  42. layout: table
  43. fields: {}
  44. sorting:
  45. - {propertyId: title, direction: ascending}
  46. properties:
  47. - {name: title, visible: true, width: 240}
  48. - {name: runtime, visible: true}
  49. - {name: model, visible: true}
  50. - {name: effort, visible: true}
  51. - {name: tier, visible: true}
  52. - {name: role, visible: true}
  53. ---
  54. 一个页面对应项目运行的一类智能体。页面类型说明智能体的存活时长:
  55. - `Worker`:执行者,只负责一次运行。接到任务后完成并交回,运行结束后不保留任何记忆。
  56. - `Assistant`:服务于某个人的长期助手,有自己的对话。
  57. - `Specialist`:负责某一领域的长期智能体。
  58. 页头写明智能体运行在什么上:运行时(`runtime`)、模型(`model`)或运行时配置(`profile`)、推理强度和分级。限额写在 `limits` 中:`{minutes, tokens, perHour, perDay}`。页面正文就是启动智能体时使用的指令。
  59. 智能体定义属于配置。它不包含对话、会话或历史记录:这些应放在运行日志 `/runs` 中(`runs` 包)。它也不包含密钥或密码:账户只按名称给出。
  60. 规范 [AGT-R01](/norms/rules/agents/AGT-R01.md) 保证定义可以重复使用。