<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>DAG on Square Uncle</title>
    <link>https://squareuncle.com/en/tags/dag/</link>
    <description>Recent content in DAG on Square Uncle</description>
    <generator>Hugo -- 0.147.7</generator>
    <language>en</language>
    <lastBuildDate>Fri, 20 Mar 2026 10:30:00 +0800</lastBuildDate>
    <atom:link href="https://squareuncle.com/en/tags/dag/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Hand-rolled Claw (2): The Strategist&#39;s Brain — AX Planner &amp; Flow Architect</title>
      <link>https://squareuncle.com/en/posts/2026-03-20-hand-rolled-claw-2-ax-planner-flow/</link>
      <pubDate>Fri, 20 Mar 2026 10:30:00 +0800</pubDate>
      <guid>https://squareuncle.com/en/posts/2026-03-20-hand-rolled-claw-2-ax-planner-flow/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;[!TIP]
&lt;strong&gt;Objective&lt;/strong&gt;: Evolve from single-step prompts to a &amp;ldquo;Plan-Simulate-Execute&amp;rdquo; closed-loop, introducing YAML-based DAG asynchronous orchestration.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3 id=&#34;1-from-chatting-to-execution-the-ax-architect-executive-paradigm&#34;&gt;1. From &amp;ldquo;Chatting&amp;rdquo; to &amp;ldquo;Execution&amp;rdquo;: The AX (Architect-Executive) Paradigm&lt;/h3&gt;
&lt;p&gt;The watershed between a simple Chatbot and an Agent is the ability to decompose vague goals into actionable steps. In VISAGENT, we implemented the &lt;strong&gt;AX Planner&lt;/strong&gt; logic:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Architect&lt;/strong&gt;: Receives requirements and outputs a &lt;code&gt;TODO.json&lt;/code&gt;. Execution is forbidden; only planning is allowed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Simulation&lt;/strong&gt;: Before execution, a &amp;ldquo;Security Expert&amp;rdquo; role performs a risk assessment on the plan.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Executive&lt;/strong&gt;: Executes each step via &lt;code&gt;execute_step&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This &amp;ldquo;think before you act&amp;rdquo; mechanism is easily implemented on any CLI using simple Prompt constraints:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
