<mxfile host="app.diagrams.net" version="22.1.0">
  <diagram name="eCommerce-AgentCore" id="ecommerce-agentcore">
    <mxGraphModel dx="1400" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="1000" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="title" parent="1" style="text;html=1;align=left;verticalAlign=top;fontSize=28;fontStyle=1;fontFamily=Helvetica;fontColor=#232F3E;" value="eCommerce Store AI Agents on Amazon Bedrock AgentCore" vertex="1">
          <mxGeometry x="40" y="20" width="1200" height="36" as="geometry" />
        </mxCell>
        <mxCell id="subtitle" parent="1" style="text;html=1;align=left;verticalAlign=top;fontSize=14;fontFamily=Helvetica;fontColor=#545B64;" value="Supervisor Runtime routes to Sales / Orders / Support / Inventory specialists; Gateway + Policy gate commerce writes" vertex="1">
          <mxGeometry x="40" y="56" width="1200" height="28" as="geometry" />
        </mxCell>
        <mxCell id="sep" parent="1" style="line;strokeWidth=2;html=1;strokeColor=#FF9900;" value="" vertex="1">
          <mxGeometry x="40" y="90" width="1400" height="10" as="geometry" />
        </mxCell>
        <mxCell id="user" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F2F3F3;strokeColor=#545B64;fontFamily=Helvetica;fontSize=12;fontStyle=1;" value="Shopper / Associate&#xa;+ IdP JWT" vertex="1">
          <mxGeometry x="40" y="200" width="140" height="70" as="geometry" />
        </mxCell>
        <mxCell id="identity" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFEBEE;strokeColor=#DD344C;fontColor=#DD344C;fontFamily=Helvetica;fontSize=12;fontStyle=1;" value="AgentCore Identity&#xa;role claims" vertex="1">
          <mxGeometry x="220" y="200" width="150" height="70" as="geometry" />
        </mxCell>
        <mxCell id="supervisor" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F3E8FD;strokeColor=#8C4FFF;fontColor=#8C4FFF;fontFamily=Helvetica;fontSize=12;fontStyle=1;" value="Supervisor&#xa;AgentCore Runtime&#xa;(Strands)" vertex="1">
          <mxGeometry x="420" y="190" width="160" height="90" as="geometry" />
        </mxCell>
        <mxCell id="sales" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#E6F2F8;strokeColor=#3B48CC;fontColor=#3B48CC;fontFamily=Helvetica;fontSize=11;fontStyle=1;" value="Sales agent&#xa;catalog / cart" vertex="1">
          <mxGeometry x="680" y="120" width="130" height="60" as="geometry" />
        </mxCell>
        <mxCell id="orders" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#E6F2F8;strokeColor=#3B48CC;fontColor=#3B48CC;fontFamily=Helvetica;fontSize=11;fontStyle=1;" value="Orders agent&#xa;status / cancel" vertex="1">
          <mxGeometry x="680" y="200" width="130" height="60" as="geometry" />
        </mxCell>
        <mxCell id="support" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#E6F2F8;strokeColor=#3B48CC;fontColor=#3B48CC;fontFamily=Helvetica;fontSize=11;fontStyle=1;" value="Support agent&#xa;returns / escalate" vertex="1">
          <mxGeometry x="680" y="280" width="130" height="60" as="geometry" />
        </mxCell>
        <mxCell id="inventory" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#E6F2F8;strokeColor=#3B48CC;fontColor=#3B48CC;fontFamily=Helvetica;fontSize=11;fontStyle=1;" value="Inventory agent&#xa;stock / merch" vertex="1">
          <mxGeometry x="680" y="360" width="130" height="60" as="geometry" />
        </mxCell>
        <mxCell id="memory" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFF2E8;strokeColor=#ED7100;fontColor=#ED7100;fontFamily=Helvetica;fontSize=11;fontStyle=1;" value="AgentCore Memory&#xa;session + long-term" vertex="1">
          <mxGeometry x="420" y="360" width="160" height="60" as="geometry" />
        </mxCell>
        <mxCell id="gateway" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F3E8FD;strokeColor=#8C4FFF;fontColor=#8C4FFF;fontFamily=Helvetica;fontSize=12;fontStyle=1;" value="AgentCore Gateway&#xa;8 OpenAPI tools" vertex="1">
          <mxGeometry x="900" y="220" width="160" height="70" as="geometry" />
        </mxCell>
        <mxCell id="policy" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFEBEE;strokeColor=#DD344C;fontColor=#DD344C;fontFamily=Helvetica;fontSize=11;fontStyle=1;" value="Policy (Cedar)&#xa;refund / cancel / write" vertex="1">
          <mxGeometry x="900" y="320" width="160" height="60" as="geometry" />
        </mxCell>
        <mxCell id="apis" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#E9F5EC;strokeColor=#1B861F;fontColor=#1B861F;fontFamily=Helvetica;fontSize=11;fontStyle=1;" value="Commerce APIs&#xa;OMS / catalog / WMS" vertex="1">
          <mxGeometry x="1140" y="250" width="150" height="70" as="geometry" />
        </mxCell>
        <mxCell id="obs" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F2F3F3;strokeColor=#545B64;fontFamily=Helvetica;fontSize=11;" value="Observability → CloudWatch (OTEL + Policy ALLOW/DENY)" vertex="1">
          <mxGeometry x="420" y="460" width="480" height="40" as="geometry" />
        </mxCell>
        <mxCell id="e1" edge="1" parent="1" source="user" target="identity" style="endArrow=classic;strokeColor=#545B64;fontFamily=Helvetica;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e2" edge="1" parent="1" source="identity" target="supervisor" style="endArrow=classic;strokeColor=#545B64;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e3" edge="1" parent="1" source="supervisor" target="sales" style="endArrow=classic;strokeColor=#8C4FFF;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e4" edge="1" parent="1" source="supervisor" target="orders" style="endArrow=classic;strokeColor=#8C4FFF;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e5" edge="1" parent="1" source="supervisor" target="support" style="endArrow=classic;strokeColor=#8C4FFF;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e6" edge="1" parent="1" source="supervisor" target="inventory" style="endArrow=classic;strokeColor=#8C4FFF;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e7" edge="1" parent="1" source="orders" target="gateway" style="endArrow=classic;strokeColor=#3B48CC;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e8" edge="1" parent="1" source="gateway" target="policy" style="endArrow=classic;strokeColor=#DD344C;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e9" edge="1" parent="1" source="policy" target="apis" style="endArrow=classic;strokeColor=#1B861F;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e10" edge="1" parent="1" source="supervisor" target="memory" style="endArrow=classic;dashed=1;strokeColor=#ED7100;">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
