ARCHOS 525 BLUEPRINT · /d/dgm_sec-agent-sandbox-code-execution
Sandboxing for agent code execution and egress isolation
7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_sec-agent-sandbox-code-execution) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_sec-agent-sandbox-code-execution)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_sec-agent-sandbox-code-execution" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Sandboxing for agent code execution and egress isolation — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
src_0[("Client application")]
n0_1["Guardrails"]
n1_2["Container runtime"]
n2_3["Service mesh"]
n3_4[("Audit log")]
ctrl_5["OpenTelemetry Collector"]
sink_6[("Client application")]
src_0 -->|"1. Stages code · HTTPS"| n0_1
n0_1 -->|"2. Isolates VM · TCP"| n1_2
n1_2 -->|"3. Blocks net · HTTPS"| n2_3
n2_3 -->|"4. Wipes state · TCP"| n3_4
n3_4 -->|"5. Clean output · HTTPS"| sink_6
n1_2 -->|"Kills fork · OTLP"| ctrl_5COMPONENT STACK (7)
- Client applicationSTATEFULUntrusted LLM code
- GuardrailsSTATELESSValidates tool payload
- Container runtimeSTATELESSFirecracker / gVisor VM
- Service meshSTATELESSDefault-deny egress proxy
- Audit logSTATEFULDestroys ephemeral VM
- OpenTelemetry CollectorSTATELESSSyscall & cgroup traps
- Client applicationSTATEFULSafe stdout artifact
REQUEST & DATA FLOW (6)
- Client application → Guardrails (Stages code)[HTTPS]
- Guardrails → Container runtime (Isolates VM)[TCP]
- Container runtime → Service mesh (Blocks net)[HTTPS]
- Service mesh → Audit log (Wipes state)[TCP]
- Audit log → Client application (Clean output)[HTTPS]
- Container runtime → OpenTelemetry Collector (Kills fork)[OTLP]