ARCHOS 525 BLUEPRINT · /d/dgm_agent-durable-runtime-checkpoint-resume
Durable agent runtime: checkpoint, resume, sandbox, long-running tasks
7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_agent-durable-runtime-checkpoint-resume) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_agent-durable-runtime-checkpoint-resume)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_agent-durable-runtime-checkpoint-resume" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Durable agent runtime: checkpoint, resume, sandbox, long-running tasks — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
src_0[("Client application")]
n0_1["API gateway"]
n1_2[("Workflow orchestrator")]
n2_3[("PostgreSQL")]
n3_4["Guardrails"]
ctrl_5["OpenTelemetry Collector"]
sink_6[("Client application")]
src_0 -->|"1. Starts job · HTTPS"| n0_1
n0_1 -->|"2. Runs step · gRPC"| n1_2
n1_2 -->|"3. Saves state · SQL"| n2_3
n2_3 -->|"4. Execs safe · HTTP/2"| n3_4
n3_4 -->|"5. Completes · HTTPS"| sink_6
n0_1 -->|"Tracks SLA · OTLP"| ctrl_5COMPONENT STACK (7)
- Client applicationSTATEFULLong-running task
- API gatewaySTATELESSIdempotency key ingress
- Workflow orchestratorSTATEFULDurable state machine
- PostgreSQLSTATEFULCheckpointed step log
- GuardrailsSTATELESSSandboxed tool + HITL
- OpenTelemetry CollectorSTATELESSReplay & cost telemetry
- Client applicationSTATEFULResumed zero-dup run
REQUEST & DATA FLOW (6)
- Client application → API gateway (Starts job)[HTTPS]
- API gateway → Workflow orchestrator (Runs step)[gRPC]
- Workflow orchestrator → PostgreSQL (Saves state)[SQL]
- PostgreSQL → Guardrails (Execs safe)[HTTP/2]
- Guardrails → Client application (Completes)[HTTPS]
- API gateway → OpenTelemetry Collector (Tracks SLA)[OTLP]