<mxfile host="Electron" version="29.6.1">
  <diagram name="Page-1" id="diagram-agentcore-gateway">
    <mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1500" pageHeight="900" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="title-text" parent="1" style="text;html=1;align=left;verticalAlign=top;fontSize=30;fontStyle=1;fontFamily=Helvetica;fontColor=light-dark(#232F3E,#FFFFFF);" value="Bedrock AgentCore Gateway: Server-Side Tool Execution" vertex="1">
          <mxGeometry x="50" y="30" width="1200" height="40" as="geometry" />
        </mxCell>
        <mxCell id="subtitle-text" parent="1" style="text;html=1;align=left;verticalAlign=top;fontSize=16;fontFamily=Helvetica;fontColor=light-dark(#232F3E,#D4D4D4);" value="Responses API passes Gateway ARN; Bedrock discovers and executes tools without a client orchestration loop" vertex="1">
          <mxGeometry x="50" y="70" width="1200" height="30" as="geometry" />
        </mxCell>
        <mxCell id="title-separator" parent="1" style="line;strokeWidth=2;html=1;strokeColor=#FF9900;fontFamily=Helvetica;" value="" vertex="1">
          <mxGeometry x="50" y="105" width="1180" height="10" as="geometry" />
        </mxCell>
        <mxCell id="users-container" parent="1" style="fillColor=#f5f5f5;strokeColor=light-dark(#666666,#D4D4D4);rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#333333;fontFamily=Helvetica;container=1;collapsible=0;" value="App / UI" vertex="1">
          <mxGeometry x="50" y="320" width="120" height="110" as="geometry" />
        </mxCell>
        <mxCell id="aws-cloud" parent="1" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud;strokeColor=light-dark(#232F3E,#E4F0FF);fillColor=light-dark(#232F3E0D,#232F3E0D);fillStyle=auto;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fontFamily=Helvetica;" value="AWS Cloud" vertex="1">
          <mxGeometry x="220" y="140" width="900" height="560" as="geometry" />
        </mxCell>
        <mxCell id="grp-bedrock" parent="1" style="fillColor=#F3E8FD;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;" value="GenAI" vertex="1">
          <mxGeometry x="280" y="280" width="120" height="120" as="geometry" />
        </mxCell>
        <mxCell id="svc-bedrock" parent="grp-bedrock" style="sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;fontFamily=Helvetica;" value="Bedrock Responses API&lt;div&gt;&lt;i&gt;model + tool select&lt;/i&gt;&lt;/div&gt;" vertex="1">
          <mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
        </mxCell>
        <mxCell id="grp-gateway" parent="1" style="fillColor=#F3E8FD;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;" value="Agent tools" vertex="1">
          <mxGeometry x="500" y="280" width="120" height="120" as="geometry" />
        </mxCell>
        <mxCell id="svc-gateway" parent="grp-gateway" style="sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock_agentcore;fontFamily=Helvetica;" value="AgentCore Gateway&lt;div&gt;&lt;i&gt;MCP + OAuth&lt;/i&gt;&lt;/div&gt;" vertex="1">
          <mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
        </mxCell>
        <mxCell id="grp-lambda" parent="1" style="fillColor=#FFF2E8;strokeColor=#ED7100;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#ED7100;fontFamily=Helvetica;container=1;collapsible=0;" value="Targets" vertex="1">
          <mxGeometry x="720" y="220" width="120" height="120" as="geometry" />
        </mxCell>
        <mxCell id="svc-lambda" parent="grp-lambda" style="sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;fontFamily=Helvetica;" value="Lambda tools&lt;div&gt;&lt;i&gt;custom actions&lt;/i&gt;&lt;/div&gt;" vertex="1">
          <mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
        </mxCell>
        <mxCell id="grp-api" parent="1" style="fillColor=#E6F2F8;strokeColor=#3B48CC;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#3B48CC;fontFamily=Helvetica;container=1;collapsible=0;" value="Targets" vertex="1">
          <mxGeometry x="720" y="380" width="120" height="120" as="geometry" />
        </mxCell>
        <mxCell id="svc-api" parent="grp-api" style="sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#3B48CC;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;fontFamily=Helvetica;" value="OpenAPI / Smithy&lt;div&gt;&lt;i&gt;enterprise APIs&lt;/i&gt;&lt;/div&gt;" vertex="1">
          <mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
        </mxCell>
        <mxCell id="grp-iam" parent="1" style="fillColor=#FFEBEE;strokeColor=#DD344C;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#DD344C;fontFamily=Helvetica;container=1;collapsible=0;" value="Identity" vertex="1">
          <mxGeometry x="500" y="480" width="120" height="120" as="geometry" />
        </mxCell>
        <mxCell id="svc-iam" parent="grp-iam" style="sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#DD344C;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.identity_and_access_management;fontFamily=Helvetica;" value="IAM / OAuth&lt;div&gt;&lt;i&gt;tool authorization&lt;/i&gt;&lt;/div&gt;" vertex="1">
          <mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
        </mxCell>
        <mxCell id="legend-box" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=light-dark(#EDF3FF,#305363);strokeColor=light-dark(#6c8ebf,#6c8ebf);fontFamily=Helvetica;fontColor=light-dark(#232F3E,#FFFFFF);align=left;verticalAlign=top;fontSize=12;spacingLeft=10;spacingTop=8;" value="&lt;b&gt;Flow Steps&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;color: light-dark(rgb(0,0,0), rgb(255,255,255));&quot;&gt;1. App calls Responses API with Gateway ARN&lt;br&gt;2. Bedrock presents tools and selects actions&lt;br&gt;3. AgentCore Gateway mediates MCP calls&lt;br&gt;4a. Lambda target executes custom tools&lt;br&gt;4b. OpenAPI / Smithy targets serve APIs&lt;br&gt;5. IAM / OAuth enforce least privilege&lt;br&gt;6. Tool results stream back to the client&lt;/span&gt;" vertex="1">
          <mxGeometry x="1180" y="140" width="280" height="560" as="geometry" />
        </mxCell>
        <mxCell id="edge-1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=#007CBD;fontFamily=Helvetica;" edge="1" source="users-container" target="svc-bedrock">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="badge-1" parent="edge-1" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#007CBD;fontColor=#FFFFFF;fontSize=11;fontStyle=1;fontFamily=Helvetica;" value="1" vertex="1" connectable="0">
          <mxGeometry x="-0.7" y="-1" width="28" height="28" relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge-2" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=#007CBD;fontFamily=Helvetica;" edge="1" source="svc-bedrock" target="svc-gateway">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="badge-2" parent="edge-2" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#007CBD;fontColor=#FFFFFF;fontSize=11;fontStyle=1;fontFamily=Helvetica;" value="2" vertex="1" connectable="0">
          <mxGeometry x="-0.2" y="-1" width="28" height="28" relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge-3" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=#007CBD;fontFamily=Helvetica;" edge="1" source="svc-gateway" target="svc-lambda">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="badge-3" parent="edge-3" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#007CBD;fontColor=#FFFFFF;fontSize=11;fontStyle=1;fontFamily=Helvetica;" value="3" vertex="1" connectable="0">
          <mxGeometry x="-0.2" y="-1" width="28" height="28" relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge-4" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=#007CBD;fontFamily=Helvetica;" edge="1" source="svc-gateway" target="svc-api">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="badge-4" parent="edge-4" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#007CBD;fontColor=#FFFFFF;fontSize=11;fontStyle=1;fontFamily=Helvetica;" value="4" vertex="1" connectable="0">
          <mxGeometry x="-0.2" y="-1" width="28" height="28" relative="1" as="geometry" />
        </mxCell>
        <mxCell id="edge-5" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=#007CBD;dashed=1;fontFamily=Helvetica;" edge="1" source="svc-iam" target="svc-gateway">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="badge-5" parent="edge-5" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#007CBD;fontColor=#FFFFFF;fontSize=11;fontStyle=1;fontFamily=Helvetica;" value="5" vertex="1" connectable="0">
          <mxGeometry x="-0.5" y="-1" width="28" height="28" relative="1" as="geometry" />
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
