Skip to content

Commit

Permalink
Update overview page with application stack and example (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhu authored Jul 26, 2024
1 parent e9c3a38 commit 3bc3761
Show file tree
Hide file tree
Showing 12 changed files with 423 additions and 41 deletions.
52 changes: 52 additions & 0 deletions python/docs/drawio/agnext-application-stack.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0" version="24.7.5">
<diagram name="Page-1" id="cddb7oONEilqIw1Y7nf5">
<mxGraphModel dx="1071" dy="1138" 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="e_Se_iOjKQHndGvTYtJ0-6" value="Application Logic" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="290" y="390" width="240" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-1" value="Behavior Contract (Message Protocol)" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="290" y="430" width="240" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-2" value="Message Types" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="290" y="470" width="240" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-3" value="Message Routing" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
<mxGeometry x="290" y="540" width="240" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-4" value="Protobuf + gRPC" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
<mxGeometry x="290" y="580" width="240" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-6" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="265" y="520" as="sourcePoint" />
<mxPoint x="555" y="520" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-7" value="Agent Communication Stack" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="570" y="560" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-8" value="Your Multi-Agent Application" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="560" y="430" width="111" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-9" value="Multi-Agent Patterns" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="130" y="410" width="120" height="30" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="aPJ7GLReoFj_4gOym3_0-3" target="aPJ7GLReoFj_4gOym3_0-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-11" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry x="260" y="395" width="20" height="60" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-12" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry x="540" y="395" width="20" height="95" as="geometry" />
</mxCell>
<mxCell id="aPJ7GLReoFj_4gOym3_0-13" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry x="540" y="550" width="20" height="50" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
151 changes: 151 additions & 0 deletions python/docs/drawio/agnext-architecture.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0" version="24.7.5">
<diagram name="Page-1" id="RjQ-yjMprM0l9Swcy9ED">
<mxGraphModel dx="1071" dy="1138" 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="8GsP74nl-6KZMK6J00mR-1" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
<mxGeometry x="160" y="440" width="410" height="380" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-3" value="Agent" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="330" y="675" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-5" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="180" y="465" width="130" height="250" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-6" value="Model Client" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="200" y="480" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-7" value="Tools" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="200" y="530" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-8" value="Memory" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="200" y="580" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-9" value="Custom Components" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="200" y="630" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-10" value="Agent" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="215" y="680" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-11" value="Agent" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="410" y="675" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-12" value="Agent" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="490" y="675" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-17" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;" parent="1" source="8GsP74nl-6KZMK6J00mR-3" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="223" y="725" as="sourcePoint" />
<mxPoint x="350" y="770" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-18" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;" parent="1" source="8GsP74nl-6KZMK6J00mR-11" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="370" y="725" as="sourcePoint" />
<mxPoint x="440" y="770" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-19" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;" parent="1" source="8GsP74nl-6KZMK6J00mR-12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="450" y="725" as="sourcePoint" />
<mxPoint x="470" y="770" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-21" value="Host Agent Runtime" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="375" y="465" width="130" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-23" value="Messages" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="275" y="730" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-24" value="" style="endArrow=none;html=1;rounded=0;" parent="1" target="8GsP74nl-6KZMK6J00mR-1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="160" y="765" as="sourcePoint" />
<mxPoint x="210" y="715" as="targetPoint" />
<Array as="points">
<mxPoint x="570" y="765" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-25" value="Runtime Internals" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="310" y="775" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-26" value="Messages" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="390" y="730" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-35" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
<mxGeometry x="390" y="900" width="160" height="130" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-36" value="Worker Agent Runtime" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="405" y="997" width="130" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-37" value="Agent" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="400" y="951" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-38" value="" style="endArrow=none;html=1;rounded=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="940" as="sourcePoint" />
<mxPoint x="550" y="940" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-39" value="Runtime Internals" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="415" y="910" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-45" value="Gateway" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" parent="1" vertex="1">
<mxGeometry x="330" y="810" width="70" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-46" value="Gateway" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" parent="1" vertex="1">
<mxGeometry x="435" y="880" width="70" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-47" value="Agent" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="480" y="951" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-48" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;" parent="1" source="8GsP74nl-6KZMK6J00mR-5" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="370" y="725" as="sourcePoint" />
<mxPoint x="250" y="770" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-50" value="" style="endArrow=classic;startArrow=classic;html=1;rounded=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="8GsP74nl-6KZMK6J00mR-45" target="8GsP74nl-6KZMK6J00mR-46" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="610" as="sourcePoint" />
<mxPoint x="450" y="560" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-51" value="Messages" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="335" y="847" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-52" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
<mxGeometry x="180" y="897" width="160" height="130" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-53" value="Worker Agent Runtime" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="195" y="994" width="130" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-54" value="Agent" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="190" y="948" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-55" value="" style="endArrow=none;html=1;rounded=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="180" y="937" as="sourcePoint" />
<mxPoint x="340" y="937" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-56" value="Runtime Internals" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="205" y="907" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-57" value="Gateway" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" parent="1" vertex="1">
<mxGeometry x="225" y="877" width="70" height="30" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-58" value="Agent" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="270" y="948" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="8GsP74nl-6KZMK6J00mR-59" value="" style="endArrow=classic;startArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" parent="1" source="8GsP74nl-6KZMK6J00mR-57" target="8GsP74nl-6KZMK6J00mR-45" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="393" y="850" as="sourcePoint" />
<mxPoint x="490" y="890" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading

0 comments on commit 3bc3761

Please sign in to comment.