NawGate System Architecture

NawGate System Architecture An architecture diagram generated by Archify. Human principals · owner / reviewer · Architecture component · User A / B / C Human principals owner / reviewer User A / B / C React Web UI · Playground + evidence · Architecture component · DAG / approval / audit React Web UI Playground + evidence DAG / approval / audit Fastify API · trusted session edge · Architecture component · backend identity Fastify API trusted session edge backend identity Agent + DAG control · solo or same-owner Team · Architecture component · dependency-ready layers Agent + DAG control solo or same-owner Team dependency-ready layers Run boundary · MiddlewareRunner · Architecture component · short-lived identity Run boundary MiddlewareRunner short-lived identity Codex Runtime · local process / container · Architecture component · agentctl client Codex Runtime local process / container agentctl client RuntimeGateway · policy enforcement point · Trusted protected-action boundary · fail closed + idempotent RuntimeGateway policy enforcement point fail closed + idempotent Protected actions · resources + destinations · Trusted protected-action boundary · registered side effects Protected actions resources + destinations registered side effects Policy + authority · bouncer-v5 / risk-v1 · Trusted protected-action boundary · grants + approvals Policy + authority bouncer-v5 / risk-v1 grants + approvals State + evidence · JsonStore / audit / replay · Architecture component · SHA-256 chain + DLP State + evidence JsonStore / audit / replay SHA-256 chain + DLP Agent workspace · files + Codex session · Architecture component · no protected payloads Agent workspace files + Codex session no protected payloads Model provider · Ark / OpenAI-compatible · Architecture component · Responses API Model provider Ark / OpenAI-compatible Responses API browser session API owned Agent solo / DAG Run identity Responses API project I/O agentctl evaluate trusted facts final recheck persist + audit Trusted protected-action boundary Legend Frontend Backend Database Cloud Security External