跳到正文
OpenAI Developers· @OpenAIDevs · X·· 2 天前AI 评分42
AI 导读

OpenAI 展示了一种让 AI 智能体与工程师协同处理任务的工作流,各任务保持状态并在代码审查或部署后恢复。工程师定义任务服务,调度循环检查就绪任务并启动 Codex 执行当前步骤。例如,等待 PR 审查的任务可订阅评论,审查结束后由智能体继续处理反馈,部署后另一智能体验证性能是否恢复基线。

正文 · 原文

Each task keeps its state and findings, so work can pass between agents and engineers and resume after a code review or deployment.

Engineers define the workflow in the task service. A dispatch loop periodically checks which tasks are ready for the next step. It assigns an agent to each task by starting a Codex turn with the instructions for the task’s current state.

For example, a task waiting on a pull request review can subscribe to review comments. The agent doesn’t need to keep running while an engineer reviews the fix. When a matching comment arrives, the task becomes ready again and the dispatch loop can assign an agent to address the feedback.

After deployment, another agent picks up the same task to check whether performance has returned to baseline.

来源:OpenAI Developers · x.com