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
[](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_5COMPONENT STACK (7)
- Client applicationSTATEFULUser invokes agent
- API gatewaySTATELESSVerifies user + agent ID
- Secrets managerSTATEFULOBO scoped short JWT
- GuardrailsSTATELESSTool allowlist + HITL
- Audit logSTATEFULLogs actor + delegator
- OpenTelemetry CollectorSTATELESSScope-escalation alert
- Client applicationSTATEFULNo confused deputy
REQUEST & DATA FLOW (6)
- Client application → API gateway (Auths user)[HTTPS]
- API gateway → Secrets manager (Mints OBO)[HTTPS]
- Secrets manager → Guardrails (Checks scope)[HTTP/2]
- Guardrails → Audit log (Logs dual-ID)[TCP]
- Audit log → Client application (Least priv)[HTTPS]
- Guardrails → OpenTelemetry Collector (Policy deny)[OTLP]