Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_agent-online-evals-shadow-canary

Online evals, shadow traffic and canaries for LLM changes

15 COMPONENTS · 21 FLOWS · UPDATED 2026-11-21
GITHUB README / PR PREVIEW CARD
[![Online evals, shadow traffic and canaries for LLM changes — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_agent-online-evals-shadow-canary/opengraph-image)](https://archos.sageideas.dev/d/dgm_agent-online-evals-shadow-canary)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_agent-online-evals-shadow-canary)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_agent-online-evals-shadow-canary" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Online evals, shadow traffic and canaries for LLM changes — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0[("Web Client")]
  judge_1["LLM-as-a-judge"]
  flags_2[("Feature flag service")]
  runtime_3[("Agent orchestration runtime")]
  pdp_4["Policy decision point (PDP)"]
  live_5["Inference server"]
  cand_6["Inference server"]
  queue_7[("Message queue")]
  controller_8["Progressive delivery controller"]
  secrets_9[("Secrets manager")]
  eval_10[("Evaluation service")]
  tsdb_11[("Time-series database (TSDB)")]
  alerting_12[("Alerting")]
  dlq_13[("Dead-letter queue (DLQ)")]
  capacity_14["Capacity Estimate"]
  client_0 -->|"1. Asks with JWT · HTTPS"| runtime_3
  runtime_3 -->|"2a. Calls live (mTLS) · HTTP/2"| live_5
  runtime_3 -->|"2b. Calls canary (mTLS) · HTTP/2"| cand_6
  live_5 -->|"3a. Returns answer · HTTP/2"| runtime_3
  cand_6 -->|"3b. Returns answer · HTTP/2"| runtime_3
  runtime_3 -->|"4a. Relays answer · HTTPS"| client_0
  runtime_3 -.->|"4b. Samples answer · TCP"| queue_7
  queue_7 -.->|"5. Delivers · TCP"| eval_10
  eval_10 -->|"6. Replays (mTLS) · HTTP/2"| cand_6
  cand_6 -->|"7. Returns answer · HTTP/2"| eval_10
  eval_10 -->|"8. Bearer token · HTTPS"| judge_1
  judge_1 -->|"9. Returns grade · HTTPS"| eval_10
  eval_10 -.->|"10. Exports scores (OTLP) · OTLP"| tsdb_11
  tsdb_11 -->|"11. Returns series · HTTP"| controller_8
  controller_8 -->|"12. Sets share (mTLS) · HTTP/2"| flags_2
  flags_2 -->|"Pushes (mTLS) · HTTP/2"| runtime_3
  controller_8 -->|"Asks policy (mTLS) · HTTP/2"| pdp_4
  pdp_4 -->|"Decision · HTTP/2"| controller_8
  secrets_9 -->|"Supplies judge key · HTTPS"| eval_10
  queue_7 -->|"Parks failed samples · TCP"| dlq_13
  alerting_12 -->|"Queries series · HTTP"| tsdb_11

COMPONENT STACK (14)

  • Web ClientSTATEFUL
    User who asks the agent a question
  • LLM-as-a-judgeSTATELESS
    Vendor model that grades answers, outside us
  • Feature flag serviceSTATEFUL
    Holds canary share and kill switch
  • Agent orchestration runtimeSTATEFUL
    Picks live or canary per user, samples answers
  • Policy decision point (PDP)STATELESS
    Allows or denies a share change
  • Inference serverSTATELESS
    Serves the live version to most users
  • Inference serverSTATELESS
    Candidate: canary users and shadow replays
  • Message queueSTATEFUL
    Buffers sampled answers
  • Progressive delivery controllerSTATELESS
    Raises, holds or cuts the canary share
  • Secrets managerSTATEFUL
    Holds the vendor judge key
  • Evaluation serviceSTATEFUL
    Replays, grades and exports per-arm scores
  • Time-series database (TSDB)STATEFUL
    Stores errors, latency and judge scores by arm
  • AlertingSTATEFUL
    Pages on-call on backlog, errors or silence
  • Dead-letter queue (DLQ)STATEFUL
    Samples that failed three times

REQUEST & DATA FLOW (21)

  1. Web Client → Agent orchestration runtime (Asks with JWT)[HTTPS]
  2. Agent orchestration runtime → Inference server (Calls live (mTLS))[HTTP/2]
  3. Agent orchestration runtime → Inference server (Calls canary (mTLS))[HTTP/2]
  4. Inference server → Agent orchestration runtime (Returns answer)[HTTP/2]
  5. Inference server → Agent orchestration runtime (Returns answer)[HTTP/2]
  6. Agent orchestration runtime → Web Client (Relays answer)[HTTPS]
  7. Agent orchestration runtime → Message queue (Samples answer)[TCP]
  8. Message queue → Evaluation service (Delivers)[TCP]
  9. Evaluation service → Inference server (Replays (mTLS))[HTTP/2]
  10. Inference server → Evaluation service (Returns answer)[HTTP/2]
  11. Evaluation service → LLM-as-a-judge (Bearer token)[HTTPS]
  12. LLM-as-a-judge → Evaluation service (Returns grade)[HTTPS]
  13. Evaluation service → Time-series database (TSDB) (Exports scores (OTLP))[OTLP]
  14. Time-series database (TSDB) → Progressive delivery controller (Returns series)[HTTP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →