业务工具 · 编辑精选

AI Agent 运行控制台提示词

让 Agent 任务、交接、人工审批、预算、运行轨迹和失败恢复都可观察、可控制。

编辑审核 · Vibe Coding ·

适用场景

适合需要监控 Agent 运行、控制成本和审核高风险动作的团队。

可复制的完整构建指令

为 [TEAM] 的 [AGENT WORKFLOW] 创建运行控制台。首页回答“哪些任务在跑、卡在哪里、哪些需要人工审批”。

功能与实现要求:
1. 总览展示运行中、等待中、失败、完成和超预算任务,并给出可信的时长与费用汇总。
2. 任务列表包含负责人、目标、当前 Agent、耗时、预算、风险级别与最后事件。
3. 详情按时间显示模型回合、工具调用、交接、护栏检查、审批、重试和最终结果。
4. 加入 Agent 职责图、成功标准、评估结果、重复故障与版本对比。
5. 支持筛选、暂停、恢复、取消和从安全检查点重试;回放不得重复真实外部操作。
6. 审批卡片写清动作、对象、准确参数和风险;日志与界面屏蔽敏感信息。
7. 按 [VISUAL DIRECTION] 突出因果顺序;移动端优先支持监控与审批。
样例覆盖交接成功、规则拦截、工具超时、拒绝审批和预算停止。状态同时用文字和图标表达。追踪事件可查看脱敏输入、延迟、费用、模型和输出;核对成本与时长汇总。使用记录结果回放,记录审批动作和参数,保留失效、重连、暂停后恢复及沙盒副本的测试。

使用前替换的项目资料: [TEAM], [AGENT WORKFLOW], [VISUAL DIRECTION].

优先适配移动端,使用语义化结构、清晰标签和可见的键盘焦点。使用真实内容,或明确标注演示数据。为关键流程提供加载、空数据、错误和成功状态。只有界面而没有真实后端时,不得声称集成已经完成。交付前列出尚需接入的服务,并亲自验证核心流程。

验收标准:
- 时间、Token 和费用汇总与事件记录一致。
- 过期审批与过时数据清晰可见。
- 取消或改变外部系统前需要确认。
查看完整英文参考模板
Create an AI agent operations console for [TEAM] running [AGENT WORKFLOW]. The main user needs to answer three questions quickly: what is running, where is it stuck, and what needs human approval?

Information architecture:
- Overview with active, waiting, failed, completed, and over-budget runs plus a trustworthy time and cost summary.
- Run queue with owner, goal, current agent, elapsed time, token/cost budget, risk level, and last event.
- Run detail with a chronological trace of model turns, tool calls, handoffs, guardrail checks, approvals, retries, and final output.
- Agent map showing each specialist’s responsibility, available tools, handoff rules, and current state.
- Evaluation view for success criteria, grader results, recurring failure clusters, and version comparisons.

Critical interactions:
- Filter and search runs; pause, resume, cancel, retry from a safe checkpoint, and duplicate into a sandbox.
- Open any trace event to inspect inputs, outputs, latency, cost, model, and redacted metadata.
- Present approval requests with the proposed action, affected resource, exact arguments, risk explanation, and approve/reject/edit controls.
- Require confirmation for cancellation or actions that can change external systems.
- Add a replay mode that uses recorded tool results so debugging does not repeat real-world side effects.

States and integrity:
- Use realistic sample runs for [AGENT WORKFLOW], including a successful handoff, a guardrail block, a timed-out tool, a rejected approval, and a budget stop.
- Distinguish queued, running, waiting, paused, failed, cancelled, and completed states by text and icon—not color alone.
- Never expose secrets or raw sensitive payloads; show redaction and retention controls.
- Keep totals, trace durations, token counts, and cost rollups internally consistent.

Visual direction: [VISUAL DIRECTION]. Favor scanability and causal sequence over a grid of generic KPI cards. The mobile view should support monitoring and approvals; move deep trace analysis to wider screens.

Finish by testing keyboard navigation, live updates, stale data, reconnection, approval expiry, destructive confirmations, and an interrupted run that resumes from a checkpoint.

使用步骤

  1. 选择最接近的目标

    按页面类型和用户流程选择模板。

  2. 替换变量

    填入真实受众、产品目标、内容、视觉方向和技术限制。

  3. 发送前编辑

    删去首版不需要的功能,解决要求之间的冲突。

  4. 测试并迭代

    逐项验证移动端、无障碍、交互、数据一致性和异常状态。

AI 编程工具比较

预期成果

一个可追溯、可审批且费用清楚的 Agent 运维控制台。

为什么这样设计

  • 按交接、规则检查、审批、会话与追踪组织数据
  • 保留人工控制并区分回放与执行
  • 运行数据自洽,可验证失败恢复

验收标准

  • 时间、Token 和费用汇总与事件记录一致。
  • 过期审批与过时数据清晰可见。
  • 取消或改变外部系统前需要确认。

使用前替换的项目资料

[TEAM]
客户运营团队
[AGENT WORKFLOW]
分类、调查、起草及升级客服工单
[VISUAL DIRECTION]
细节密集的控制台,暖中性色和精确状态色

资料来源与审核依据

下列资料用于核对方法和技术要求;提示词由本站独立编写。

全部 Vibe Coding 提示词

常见问题

让 Agent 任务、交接、人工审批、预算、运行轨迹和失败恢复都可观察、可控制。

这个提示词会生成什么?

一个可追溯、可审批且费用清楚的 Agent 运维控制台。

发送前要改哪些内容?

使用前替换的项目资料 · [TEAM], [AGENT WORKFLOW], [VISUAL DIRECTION]. 删去不需要的功能,加入项目实际的技术、品牌和内容约束。

适合哪些 AI 编程工具?

Vibe Coding, v0, Bolt, Replit. 请核对工具对框架、数据库、认证与部署的支持。

初学者能用吗?

难度 · 中级. 首版用时 · 4–7 分钟. 仍需检查生成结果、测试交互,并验证生产环境行为。

能在生成前编辑吗?

可以。复制完整提示词,先在所选工具里修改,再按需要提交。

模板是怎样审核的?

编辑检查目标、约束、界面状态、响应式行为和无障碍,并参考下列资料 · OpenAI Agents SDK for JavaScript, Awesome GitHub Copilot, Prompt Engineering Guide.

复制模板并开始构建

先替换变量,选择合适的工具,再用验收标准检查结果。