Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_sec-agent-identity-and-least-privilege-tools

Agent identity, delegation and least-privilege tool access

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![Agent identity, delegation and least-privilege tool access — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_sec-agent-identity-and-least-privilege-tools/opengraph-image)](https://archos.sageideas.dev/d/dgm_sec-agent-identity-and-least-privilege-tools)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_sec-agent-identity-and-least-privilege-tools)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_sec-agent-identity-and-least-privilege-tools" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Agent identity, delegation and least-privilege tool access — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  src_0[("Client application")]
  n0_1["API gateway"]
  n1_2[("Secrets manager")]
  n2_3["Guardrails"]
  n3_4[("Audit log")]
  ctrl_5["OpenTelemetry Collector"]
  sink_6[("Client application")]
  src_0 -->|"1. Auths user · HTTPS"| n0_1
  n0_1 -->|"2. Mints OBO · HTTPS"| n1_2
  n1_2 -->|"3. Checks scope · HTTP/2"| n2_3
  n2_3 -->|"4. Logs dual-ID · TCP"| n3_4
  n3_4 -->|"5. Least priv · HTTPS"| sink_6
  n2_3 -->|"Policy deny · OTLP"| ctrl_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    User invokes agent
  • API gatewaySTATELESS
    Verifies user + agent ID
  • Secrets managerSTATEFUL
    OBO scoped short JWT
  • GuardrailsSTATELESS
    Tool allowlist + HITL
  • Audit logSTATEFUL
    Logs actor + delegator
  • OpenTelemetry CollectorSTATELESS
    Scope-escalation alert
  • Client applicationSTATEFUL
    No confused deputy

REQUEST & DATA FLOW (6)

  1. Client application → API gateway (Auths user)[HTTPS]
  2. API gateway → Secrets manager (Mints OBO)[HTTPS]
  3. Secrets manager → Guardrails (Checks scope)[HTTP/2]
  4. Guardrails → Audit log (Logs dual-ID)[TCP]
  5. Audit log → Client application (Least priv)[HTTPS]
  6. Guardrails → OpenTelemetry Collector (Policy deny)[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →