跳转到内容

调优与运营

本节面向在浏览器里操作运行中 Awaken server 的人。把管理控制台作为主要入口: 在 UI 中点击操作,一次只改一个点,Validate,Preview,Save,然后对比行为。只有当 同一操作需要自动化时,再使用 REST/config API。

Admin Console dashboard,展示 workload、health、recent audit events 和 system metadata。
先看 Dashboard:确认 server 已连接、健康,并处在预期 scope。
  1. 打开 使用管理控制台 并连接 server。
  2. 修改前先检查 Dashboard → Health
  3. Infrastructure 下配置 ProvidersModels
  4. 打开 Agents,编辑草稿,点击 Validate,用 preview chat 验证,然后 Save
  5. 需要审查或恢复变更时,用 Audit Log 和编辑器里的 History
Agent editor,包含 Basics、Tools、Plugins、Delegates、Advanced、History、保存控件和 preview chat。
Agent editor:调 prompt、model、tools、plugins、delegates 和 limits。
Agent editor 的 Tools tab,展示 allowed tool checkboxes、excluded delete_file、patterns 和 preview chat。
Agent Tools tab:暴露 web_search、read_document、filesystem/read_file,同时排除 delete_file。
目标点击路径指南
调 prompt/model/tools/plugins/delegatesAgents → Agent → Basics / Tools / Plugins / Delegates → Validate → Preview → Save通过配置调优 Agent 行为
安全改 prompt 文案Agent → Basics → System prompt → Validate → Preview → Save在线调优 Prompt
管理上下文和压缩Agent → Advanced / JSON preview → Validate → Preview 长任务 → Save优化 Context Window
约束循环和失控任务Agent → Basics / Advanced → limits 和 stop policy → Validate → Preview → Save配置停止策略
Agent editor 的 History tab,包含 update/create events 和 View/Restore actions。
History tab:恢复或发布前,先审查已保存的 Agent 变更。
Eval run 详情页,展示 pass rate 和每个 fixture 的结果。
Eval detail:接受变更前,用可重放样本对比行为。
目标点击路径指南
给敏感工具加 gateAgent → Plugins → Permission rules → Ask / Allow / Deny → Save启用工具权限 HITL
接入可 handoff 的远程 AgentResources → A2A Servers → New A2A server → Refresh card → Save接入 A2A Server
捕获并回放行为Observe → Datasets → Eval Runs → Eval Reports采集数据集并运行评测
查看运行信号Dashboard → Agents list → Agent dashboard / Recent runs启用可观测性

同一操作需要脚本化,而不是在 UI 里点击时,使用这些参考:

  • HTTP API — 路由、认证、请求/响应形态。
  • 配置AgentSpec、provider/model config、plugin sections。
  • 管理控制台界面清单 — screen 到 endpoint 的映射和 REST-only surface。