Skip to content

🐝 The First Self-Improving agents with RL / Prompting Optimization

16.1 KB
Raw Blame
<mxfile host="Electron" modified="2024-01-21T06:29:28.583Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.18 Chrome/120.0.6099.199 Electron/28.1.2 Safari/537.36" etag="nTvPO8z3UQiSdzxuLxhY" version="22.1.18" type="device">
  <diagram name="Page-1" id="mvyvjCWlfHUkhX-k2Om3">
    <mxGraphModel dx="1380" dy="892" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="J99Reh4bUe1s1G-MDTEG-1" value="" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;" parent="1" vertex="1">
          <mxGeometry x="210" y="300" width="140" height="290" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-3" value="" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;" parent="1" vertex="1">
          <mxGeometry x="500" y="380" width="140" height="120" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-4" value="&lt;b&gt;DirectAnswer&lt;/b&gt;&lt;br&gt;Operation&lt;br&gt;Node" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fillColor=#e0e0e0;" parent="1" vertex="1">
          <mxGeometry x="520" y="410.5" width="100" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-5" value="&lt;b&gt;Input-Output&lt;br&gt;(aka IO)&lt;br&gt;&lt;/b&gt;Agent&lt;br&gt;Graph" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="550" y="310" width="90" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-6" value="&lt;b&gt;ChainOfThought (CoT)&lt;br&gt;&lt;/b&gt;Agent&lt;br&gt;Graph" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="210" y="219.75" width="100" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-7" value="&lt;b&gt;DirectAnswer&lt;/b&gt;&lt;br&gt;Operation&lt;br&gt;Node" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fillColor=#e0e0e0;" parent="1" vertex="1">
          <mxGeometry x="230" y="325" width="100" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-8" value="&lt;b&gt;DirectAnswer&lt;/b&gt;&lt;br&gt;Operation&lt;br&gt;Node" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fillColor=#e0e0e0;" parent="1" vertex="1">
          <mxGeometry x="227" y="419" width="100" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-9" value="&lt;b&gt;DirectAnswer&lt;/b&gt;&lt;br&gt;Operation&lt;br&gt;Node" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fillColor=#e0e0e0;" parent="1" vertex="1">
          <mxGeometry x="233" y="509" width="100" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-10" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeWidth=3;sketch=1;curveFitting=1;jiggle=2;" parent="1" source="J99Reh4bUe1s1G-MDTEG-7" target="J99Reh4bUe1s1G-MDTEG-8" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="400" y="495" as="sourcePoint" />
            <mxPoint x="450" y="445" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-11" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeWidth=3;sketch=1;curveFitting=1;jiggle=2;" parent="1" source="J99Reh4bUe1s1G-MDTEG-8" target="J99Reh4bUe1s1G-MDTEG-9" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="290" y="395" as="sourcePoint" />
            <mxPoint x="290" y="429" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-12" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=3;sketch=1;curveFitting=1;jiggle=2;" parent="1" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="730" y="255" as="sourcePoint" />
            <mxPoint x="790" y="255" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-13" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;" parent="1" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="730" y="285" as="sourcePoint" />
            <mxPoint x="790" y="285" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-14" value="Fixed connections" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="805" y="240" width="120" height="30" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-15" value="Learned connections" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="807" y="270" width="130" height="30" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-16" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=none;sketch=1;curveFitting=1;jiggle=2;arcSize=4;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;strokeWidth=3;" parent="1" vertex="1">
          <mxGeometry x="175" y="170" width="490" height="540" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-17" value="Legend:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="730" y="200" width="60" height="30" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-18" value="&lt;b&gt;FinalDecision&lt;br&gt;&lt;/b&gt;Operation&lt;br&gt;Node" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fillColor=#e0e0e0;" parent="1" vertex="1">
          <mxGeometry x="370" y="630" width="100" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-19" value="Reference to all agents&#39; input nodes" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;dashed=1;" parent="1" vertex="1">
          <mxGeometry x="370" y="189" width="100" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-28" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;strokeWidth=3;entryX=0.5;entryY=0;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;" parent="1" source="J99Reh4bUe1s1G-MDTEG-19" target="J99Reh4bUe1s1G-MDTEG-7" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="290" y="305" as="sourcePoint" />
            <mxPoint x="280" y="260" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-29" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeWidth=3;entryX=0.5;entryY=0;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;" parent="1" source="J99Reh4bUe1s1G-MDTEG-19" target="J99Reh4bUe1s1G-MDTEG-4" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="475" y="260" as="sourcePoint" />
            <mxPoint x="570" y="340.5" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-30" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-9" target="J99Reh4bUe1s1G-MDTEG-18" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="280" y="640" as="sourcePoint" />
            <mxPoint x="460" y="568.13" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-31" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0;entryDx=0;entryDy=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-4" target="J99Reh4bUe1s1G-MDTEG-18" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="570" y="539.5" as="sourcePoint" />
            <mxPoint x="445" y="630" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-32" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-7" target="J99Reh4bUe1s1G-MDTEG-4" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="370" y="479.5" as="sourcePoint" />
            <mxPoint x="490" y="539.5" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-33" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;entryX=1;entryY=0.75;entryDx=0;entryDy=0;exitX=0;exitY=0.25;exitDx=0;exitDy=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-4" target="J99Reh4bUe1s1G-MDTEG-7" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="340" y="365" as="sourcePoint" />
            <mxPoint x="530" y="421" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-34" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;entryX=0.554;entryY=-0.032;entryDx=0;entryDy=0;exitX=1;exitY=1;exitDx=0;exitDy=0;entryPerimeter=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-7" target="J99Reh4bUe1s1G-MDTEG-18" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="340" y="365" as="sourcePoint" />
            <mxPoint x="555" y="421" as="targetPoint" />
            <Array as="points">
              <mxPoint x="390" y="510" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-35" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=1;exitY=0.75;exitDx=0;exitDy=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-8" edge="1" target="J99Reh4bUe1s1G-MDTEG-18">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="327" y="446.54" as="sourcePoint" />
            <mxPoint x="406.4999999999998" y="700" as="targetPoint" />
            <Array as="points">
              <mxPoint x="370" y="540" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-36" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;" parent="1" target="J99Reh4bUe1s1G-MDTEG-4" edge="1" source="J99Reh4bUe1s1G-MDTEG-8">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="330" y="450" as="sourcePoint" />
            <mxPoint x="416" y="712" as="targetPoint" />
            <Array as="points" />
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-37" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;exitX=0;exitY=0.75;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-4" edge="1" target="J99Reh4bUe1s1G-MDTEG-8">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="340" y="460" as="sourcePoint" />
            <mxPoint x="310" y="480" as="targetPoint" />
            <Array as="points">
              <mxPoint x="410" y="460" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-40" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;entryX=0.25;entryY=1;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="J99Reh4bUe1s1G-MDTEG-9" target="J99Reh4bUe1s1G-MDTEG-4" edge="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="320" y="622.5" as="sourcePoint" />
            <mxPoint x="410" y="710" as="targetPoint" />
            <Array as="points">
              <mxPoint x="440" y="520" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-41" value="&lt;b&gt;Swarm&lt;/b&gt;&lt;br&gt;CompositeGraph&lt;br&gt;Graph" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="370" y="100" width="90" height="60" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-42" value="&lt;b&gt;Class&lt;br&gt;&lt;/b&gt;Base Classes" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fillColor=#dedede;" parent="1" vertex="1">
          <mxGeometry x="730" y="325" width="87.5" height="50" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-43" value="&lt;b style=&quot;border-color: var(--border-color);&quot;&gt;Class&lt;br style=&quot;border-color: var(--border-color);&quot;&gt;&lt;/b&gt;Base Classes" style="rounded=1;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;" parent="1" vertex="1">
          <mxGeometry x="720" y="399.75" width="110" height="50" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-44" value="&lt;b style=&quot;border-color: var(--border-color);&quot;&gt;Class&lt;br style=&quot;border-color: var(--border-color);&quot;&gt;&lt;/b&gt;Base Classes" style="rounded=1;whiteSpace=wrap;html=1;fillColor=none;sketch=1;curveFitting=1;jiggle=2;arcSize=4;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;strokeWidth=3;" parent="1" vertex="1">
          <mxGeometry x="710" y="470.25" width="130" height="80" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-45" value="Operation" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="840" y="335" width="90" height="30" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-46" value="Agent" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="840" y="407.25" width="90" height="30" as="geometry" />
        </mxCell>
        <mxCell id="J99Reh4bUe1s1G-MDTEG-47" value="Swarm" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
          <mxGeometry x="840" y="495.25" width="90" height="30" as="geometry" />
        </mxCell>
        <mxCell id="CZzCSnsS5xlX5FiLLCHD-2" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;dashed=1;sketch=1;curveFitting=1;jiggle=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="J99Reh4bUe1s1G-MDTEG-4" target="J99Reh4bUe1s1G-MDTEG-9">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="343" y="549" as="sourcePoint" />
            <mxPoint x="470" y="590" as="targetPoint" />
            <Array as="points">
              <mxPoint x="450" y="530" />
            </Array>
          </mxGeometry>
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>