Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-agent-orchestrator

Agent Orchestration Runtime Internals (State Graph & Checkpoints)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Agent Orchestration Runtime Internals (State Graph & Checkpoints) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-agent-orchestrator/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-agent-orchestrator)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-agent-orchestrator)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-agent-orchestrator" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Agent Orchestration Runtime Internals (State Graph & Checkpoints) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["API Caller"]
  n1_1["Graph Turn Engine"]
  n2a_2["Context Compactor"]
  n2b_3[("Checkpoint Store")]
  n3_4["LLM & Tool Dispatch"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Start turn · gRPC"| n1_1
  n1_1 -->|"2a. Pack · RAM"| n2a_2
  n1_1 -.->|"2b. Save step · SQL"| n2b_3
  n2a_2 -->|"3a. Dispatch · HTTPS"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • API CallerSTATELESS
    Run ID + Goal
  • Graph Turn EngineSTATELESS
    Bounded step loop + budget
  • Context CompactorSTATELESS
    Prunes tool blobs + memory
  • Checkpoint StoreSTATEFUL
    Persists state every step
  • LLM & Tool DispatchSTATELESS
    Parallel calls + HITL gate
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. API Caller → Graph Turn Engine (Start turn)[gRPC]
  2. Graph Turn Engine → Context Compactor (Pack)[RAM]
  3. Graph Turn Engine → Checkpoint Store (Save step)[SQL]
  4. Context Compactor → LLM & Tool Dispatch (Dispatch)[HTTPS]
  5. Checkpoint Store → LLM & Tool Dispatch (Sync)[Control]
  6. LLM & Tool Dispatch → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →