读见

让你的 dot 参与值班:在手机上接手故障调查

原题Put your dot on call

约 2 分钟原文英文已翻译

视频由 YouTube 提供

推荐理由这段值班演示适合想把编码助手接入日常运维的团队,观察告警如何转成调查任务,以及人如何在手机上接续判断和引导。

看前速览

3 个要点

OpenAI 工程师展示了一个持续运行的 dot:它监控 Slack 告警、调查值班故障并启动 Codex 线程,供工程师在手机或电脑上继续引导。

  1. 让持续运行的智能体进入团队工作流

    将 dot 接入 Slack 后,用户就能在讨论中提及它。Ali 介绍,它既有云端电脑,也能访问本地电脑,因此可以在这些环境之间接手工作。

  2. 用一段提示触发事件驱动的故障调查

    示例自动化监控频道,初步排查传入告警,并开启 Codex 调查线程。人仍需确认告警,也能引导后续工作。

  3. 在手机和电脑之间接续同一次调查

    Ali 表示,他通过手机上的 ChatGPT 应用查看并解决了一次夜间故障。同一个 Codex 线程也存在于电脑上,进一步调查时不必从头开始。

完整摘要

OpenAI 工程师 Ali 展示了如何用 dot 处理值班工作。他将 dot 描述为持续运行的云端智能体:拥有自己的云端电脑,也能访问本地电脑,并在 Slack 等服务中拥有独立身份。用户从 Codex 应用将 dot 连接到 Slack 后,可以在对话中提及它,或用一段提示设置自动化。Ali 要求 dot 监控一个频道、初步排查新告警,并创建调查线程。按他的叙述,一次凌晨 3 点的事故中,他先在手机上确认告警,随后打开 ChatGPT 应用,发现 dot 已完成初步调查,并在他的笔记本电脑上启动了 Codex 线程。他可以从手机引导后续工作,而且这一次无需取电脑就解决了问题。如果需要深入调查,也可以在电脑上接着处理同一个线程。他还提到频道反馈初筛,以及通过 Slack 请求创建拉取请求等用法。演示说明了任务如何在云端、消息工具、手机和本地开发环境之间连续推进,但没有交代访问控制、事故的技术原因、升级处置规则或经过测量的调查准确率。

章节

文字稿

查看原文

简要说明Brief Description

OpenAI 工程师 Ali 演示了一个连接到 Slack 的 dot 如何监控值班告警、调查故障并发起 Codex 线程。他介绍了如何通过手机上的 ChatGPT 应用引导一场夜间调查,随后在笔记本电脑上继续同一个线程。Ali, an engineer at OpenAI, demonstrates how a dot connected to Slack can monitor on-call pages, investigate incidents, and start a Codex thread. He describes steering an overnight investigation from the ChatGPT app on his phone, then continuing in the same thread on his laptop.

目录Table of Contents

  • 将持久化智能体连接到 Slack
    Connecting a persistent agent to Slack
  • 自动化值班事件分流
    Automating on-call incident triage
  • 跨设备继续调查
    Continuing an investigation across devices

将持久化代理连接到 SlackConnecting a persistent agent to Slack

我是 Ali,OpenAI 的一名工程师。我想展示一下自己如何在工程工作流程中使用 dots。I’m Ali, an engineer at OpenAI. I want to show how I’ve been using dots in my engineering workflows.

我们将 dots 构建为持续运行的云端智能体,它们拥有自己的云端计算机、可访问你的本地计算机,并且能在你已使用的服务(例如 Slack)中拥有自己的身份。在 Codex 应用中,我可以选择我的 dot,并将它连接到 Slack。添加后,dot 就会在 Slack 中拥有自己的身份,这样我就可以在帖子中 @ 它,让它接手工作。We built dots as persistent cloud agents with their own cloud computer, access to your local computer, and their own identity across services you already use, such as Slack. In the Codex app, I can select my dot and connect it to Slack. Adding it gives the dot an identity there, so I can tag it in a thread and ask it to pick up work.

自动化值班事件分诊Automating on-call incident triage

值班期间,我设置了一项自动化任务,并编写了提示词:监控频道、分诊任何传入的告警,并创建一个讨论串来调查处理。For my on-call shift, I set up an automation with a prompt: monitor the channel, triage any incoming page, and create a thread to investigate it.

我曾在凌晨 3 点用这个工作流处理一次故障。手机上收到一条告警后,我确认了。接着,我打开 ChatGPT 应用,看看我的 dot 在做什么。它已经调查了问题,找出了故障原因,并创建了一个 Codex 线程。我可以打开该线程、引导工作方向,并发送消息继续调查。I used this workflow for an incident at 3 a.m. A page arrived on my phone, and I acknowledged it. Next, I opened the ChatGPT app to see what my dot was doing. It had already investigated the issue, identified what was going wrong, and created a Codex thread. I could open that thread, steer the work, and send messages to continue the investigation.

在不同设备之间继续调查Continuing an investigation across devices

这些消息也会发送到我的笔记本电脑上,Codex 会话正在那里运行。凌晨 3 点,我不必下床拿笔记本电脑,再从头开始调查:Dot 已经完成了这项工作。在这个特定案例中,我用手机就能解决这个问题。Those messages also go to my laptop, where the Codex thread is running. At 3 a.m., I did not need to get out of bed, retrieve my laptop, and begin the investigation from scratch: the dot had already done that work. In this particular case, I could resolve the incident from my phone.

如果某个问题需要进一步调查,我可以放下手机,转到笔记本电脑上,并在那里查看同一条 Codex 对话。If an issue needs more investigation, I can put down my phone, move to my laptop, and see the same Codex thread there.

这只是 dot 能做到的一种事情。一个简单的提示词就能设置其他自动化功能,例如对特定频道中收到的反馈进行分类处理。你也可以在 Slack 中提及你的 dot,让它创建拉取请求,并直接在那里与它反复协作。它还有许多其他用途,我很期待你去试试。This is one example of what a dot can do. A simple prompt can set up other automations, such as triaging incoming feedback in a particular channel. You can also tag your dot in Slack to create pull requests and iterate with it directly there. There are many more uses, and I’m excited for you to try them.

值得记下

值班期间,我用一段提示设置了自动化:监控频道,初步排查传入的告警,并创建线程展开调查。
在这一次具体情形下,我可以直接用手机解决事故。
如果问题需要进一步调查,我可以放下手机,走到电脑前,看到同一个 Codex 线程。