Skip to content

Autonomous Agent ReAct Loop & MCP Tool Sandbox Topology

Density:

Deconstructs the runtime execution topology of multi-agent LLM systems, isolating planner loops, context retrieval vectors, and Model Context Protocol (MCP) tool execution environments behind micro-VM boundaries.

๐Ÿ—บ๏ธ Architectural Data Flow & Component Topology

Section titled โ€œ๐Ÿ—บ๏ธ Architectural Data Flow & Component Topologyโ€
graph TD
COMP-AGT-01["COMP-AGT-01"] -->|"HTTPS / JSON REST (TLS 1.3 with Strict HSTS)"| COMP-AGT-02["COMP-AGT-02"]
COMP-AGT-02["COMP-AGT-02"] -->|"gRPC (mTLS SPIFFE/SPIRE)"| COMP-AGT-04["COMP-AGT-04"]
COMP-AGT-02["COMP-AGT-02"] -->|"HTTPS REST API (TLS 1.3 / Private Endpoint)"| COMP-AGT-03["COMP-AGT-03"]
COMP-AGT-02["COMP-AGT-02"] -->|"JSON-RPC over UNIX Socket / vsock (Local Kernel Namespace vsock)"| COMP-AGT-05["COMP-AGT-05"]
Component IDNameTierTech StackNetwork ExposureData Classification
COMP-AGT-01User Chat Gateway & GuardrailsIngress & EdgeFastAPI, Llama-Guard-3, WAFPUBLIC_INTERNETRESTRICTED_PII
COMP-AGT-02ReAct Planner OrchestratorApplication CorePython 3.12, LangGraph, Redis State StoreINTERNAL_MESHCONFIDENTIAL
COMP-AGT-03Frontier LLM Inference ServiceExternal Provider APIPrivate VPC Peering / gRPC mTLSINTERNAL_MESHCONFIDENTIAL
COMP-AGT-04Vector Retrieval Memory (RAG)Data TierQdrant Cluster, pgvector, AES-256-GCMINTERNAL_MESHCONFIDENTIAL
COMP-AGT-05MCP Tool Executor Micro-VMExecution SandboxFirecracker MicroVM, gVisor, Ephemeral OverlayFSISOLATED_COREINTERNAL
Flow IDSourceDestinationProtocolCrosses BoundaryEncryption Standard
FLOW-01COMP-AGT-01COMP-AGT-02HTTPS / JSON RESTYESTLS 1.3 with Strict HSTS
FLOW-02COMP-AGT-02COMP-AGT-04gRPCNOmTLS SPIFFE/SPIRE
FLOW-03COMP-AGT-02COMP-AGT-03HTTPS REST APIYESTLS 1.3 / Private Endpoint
FLOW-04COMP-AGT-02COMP-AGT-05JSON-RPC over UNIX Socket / vsockYESLocal Kernel Namespace vsock

SURF-01: Exposure 8.9/10

Entry Point: Public User Prompt Ingestion Endpoint

Identified Attack Vectors:

  • Indirect Prompt Injection (IPI)
  • Jailbreak through base64 unicode smuggling
  • Context overflow denial-of-service

SURF-02: Exposure 7.4/10

Entry Point: MCP Tool Invocation IPC Interface

Identified Attack Vectors:

  • Malicious parameter injection escaping shell sandbox
  • Server-Side Request Forgery via MCP tool parameters
  • Privilege escalation from microVM to host kernel

SURF-03: Exposure 6.8/10

Entry Point: Vector Database Document Indexing Pipeline

Identified Attack Vectors:

  • Adversarial document embedding poisoning
  • Unauthorized retrieval across multi-tenant partitions
Choke-Point IDLocationMitigation StrategyBlast Radius Containment Guarantee
CHK-01Between ReAct Planner and MCP Tool Sandbox (vsock boundary)Deterministic Schema Validation & Ephemeral Execution ContainerizationRestricts compromise strictly to a disposable microVM destroyed immediately post-execution.
CHK-02Between Ingress Edge and Planner Core (Llama-Guard Gateway)Dual-pass Semantic Policy Filter with Zero-Trust Output SynthesizerNeutralizes adversarial jailbreak sequences before reaching the core planner.