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
[](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_5COMPONENT STACK (6)
- API CallerSTATELESSRun ID + Goal
- Graph Turn EngineSTATELESSBounded step loop + budget
- Context CompactorSTATELESSPrunes tool blobs + memory
- Checkpoint StoreSTATEFULPersists state every step
- LLM & Tool DispatchSTATELESSParallel calls + HITL gate
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- API Caller → Graph Turn Engine (Start turn)[gRPC]
- Graph Turn Engine → Context Compactor (Pack)[RAM]
- Graph Turn Engine → Checkpoint Store (Save step)[SQL]
- Context Compactor → LLM & Tool Dispatch (Dispatch)[HTTPS]
- Checkpoint Store → LLM & Tool Dispatch (Sync)[Control]
- LLM & Tool Dispatch → Downstream & OTel (Emit /)[OTLP/API]