Skip to main content
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
[![Durable agent runtime: checkpoint, resume, sandbox, long-running tasks — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_agent-durable-runtime-checkpoint-resume/opengraph-image)](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_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    Long-running task
  • API gatewaySTATELESS
    Idempotency key ingress
  • Workflow orchestratorSTATEFUL
    Durable state machine
  • PostgreSQLSTATEFUL
    Checkpointed step log
  • GuardrailsSTATELESS
    Sandboxed tool + HITL
  • OpenTelemetry CollectorSTATELESS
    Replay & cost telemetry
  • Client applicationSTATEFUL
    Resumed zero-dup run

REQUEST & DATA FLOW (6)

  1. Client application → API gateway (Starts job)[HTTPS]
  2. API gateway → Workflow orchestrator (Runs step)[gRPC]
  3. Workflow orchestrator → PostgreSQL (Saves state)[SQL]
  4. PostgreSQL → Guardrails (Execs safe)[HTTP/2]
  5. Guardrails → Client application (Completes)[HTTPS]
  6. API gateway → OpenTelemetry Collector (Tracks SLA)[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →