4 comments

  • JustFinishedBSG33 minutes ago
    I&#x27;ll study it as I am toying with &quot;what should a workflow definition language look like&quot;.<p>My current vision, and prototype, is that it should be as close as possible to a &quot;real&quot; language as possible so that both the user and the agent know immediately how to use it and how it functions.<p>So for `pi` it means using typescript.<p>Then the UI is derived from the AST &#x2F; code as much as possible and for things that aren&#x27;t neatly possible like that I eventually add small semantic helpers that define the UI.<p>For example &quot;plan -&gt; execute&quot; is:<p><pre><code> await flow.unroll( remaining.map(point =&gt; ({ key: point.id, label: point.objective, })), async () =&gt; { for (const point of remaining) { await flow.item(point.id, async () =&gt; await flow.agent(executePoint, { title: `Point ${point.id}`, prompt: point.objective, })); } }, { title: `Plan r${planRevision}` }, ); </code></pre> ( simplified code ) in my implementation and `unroll` is only there to have a nice<p><pre><code> ● Plan r1 · 1&#x2F;3 · active 1. Inspect parser behavior ● 2. Add empty-input coverage ○ 3. Run focused checks </code></pre> UI instead of a plain &quot;Plan · 1&#x2F;3&quot; UI with no detail (which would happen if I just used a for loop, yes it works)
  • frank_clover33 minutes ago
    [dead]
  • lubosPetorvic7 hours ago
    [dead]
  • ethan19984 hours ago
    [dead]