<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Workflow on Feng&#39;s Notes</title>
    <link>https://ofeng.org/tags/workflow/</link>
    <description>Recent content in Workflow on Feng&#39;s Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 08 Jul 2026 09:00:00 +0100</lastBuildDate>
    <atom:link href="https://ofeng.org/tags/workflow/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Designing a Human-in-the-Loop Agent Workflow</title>
      <link>https://ofeng.org/posts/designing-hitl-agent-workflow/</link>
      <pubDate>Wed, 08 Jul 2026 09:00:00 +0100</pubDate>
      <guid>https://ofeng.org/posts/designing-hitl-agent-workflow/</guid>
      <description>&lt;p&gt;You have been asked to build an agent workflow that can pause before a sensitive action, wait for a human decision, and then continue safely.&lt;/p&gt;&#xA;&lt;p&gt;At first glance, the flow looks simple:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;agent proposes an action&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;→ human reviews it&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;→ approve, edit, reject, or request revision&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;→ workflow continues&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The backend challenge is making that flow durable.&lt;/p&gt;&#xA;&lt;p&gt;A review may take hours or days. Services may restart. New code may be deployed while the workflow is waiting. The same approval may be submitted twice. The external action may succeed even if the worker times out.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
