OctogeeOpen in app
ceckertceckert@ceckertNov 1, 2026

OpenClaw Enterprise, mapped

An unofficial, plain-language map of OpenClaw Enterprise, pieced together from its public code and issue tracker, with where every part stands.

#openclaw#openclaw-enterprise#architecture#security

Unofficial community draft. Written by Chris Eckert (Octogee) on November 1, 2026, from the OpenClaw Enterprise repository at commit 7bb67ab (MIT license, no tagged releases yet, 93 open and 298 closed issues, milestones M1–M8). Not affiliated with or reviewed by the OpenClaw Foundation or the OpenClaw Enterprise maintainers. Corrections welcome.

Why this exists

When OpenClaw Enterprise (OCE) was announced, it promised a reference architecture: one document showing how all of its protections fit together. That document isn't out yet. But most of the material is already in the public repository: an architecture overview, six design chapters, security references, 26 RFCs (proposals for changes), implementation plans, and a code-level security audit from September.

This page pulls those together into one picture, so a team can see what OCE enforces today and what it still leaves to whoever runs it.

It's my reading of public documents, not an authority. Where the repo disagrees with this page, the repo wins. I wrote it because Octogee runs OpenClaw for lots of customers, and I wanted to compare our design with OCE's fairly. That comparison is in a separate post.

How to read the status labels:

  • Built: in the code and documented as supported.
  • Experimental: shipped, but not ready for production yet.
  • Exception: a gap the docs call temporary.
  • Proposed: written up as an RFC, not built.
  • Planned: on the roadmap or the target diagram.

The architecture in one picture

OCE splits into two halves:

  • The control plane is the part that decides. It holds what should be running, who's allowed to do what, and the audit log.
  • The data plane is the part that runs. Each agent runs as its own gateway (the OpenClaw program you talk to) plus a harness (the part that runs the model and the agent's tools).

The central rule, stated in the overview: OCE runs many small single-agent gateways instead of making one OpenClaw gateway shared by many tenants.

People and automation enrolled humans · service keys Access Gateway (OAG) planned external admission CONTROL PLANE · TRUSTED API + console authn, exact-resource IAM PostgreSQL state · IAM · audit · queue Worker re-authorizes, then acts Selected Drivers Compute · Secret · IAM · … One transaction: change + queued work + audit record. A failed audit blocks the change. Compute creates namespace, Secrets, Pods TENANT NAMESPACE · ONE PER OCC NAMESPACE · RESTRICTED PSA · DEFAULT-DENY Gateway · one per agent trusted node pool never receives the model key optional OpenShell sandbox · experimental Harness Codex or native OpenClaw untrusted node pool model key in env documented temporary exception ws:// capability token Credential Gateway experimental · Codex on OpenShell Credential Proxy proposed · RFC-0023, #4016 Model providers · tools · MCP public internet TCP/443 egress temporary exception Planned services Agent Identity (SPIFFE, M6) · Tool Gateway Model Registry + Router · shared context Restricted egress proxy planned · RFC-0017 direction: OpenShell network proxy for 0.x
Solid boxes are built; dashed boxes are proposed or planned. The coral box and arrow mark the two places OCE's own docs call temporary: the model key sits inside the harness, and the harness can reach public HTTPS. Gateway and harness run as separate pods, with separate identities and storage, in one tenant's namespace; whoever runs OCE is responsible for putting them on separate machines.

Trust boundaries

A trust boundary is a wall: on one side, things trust each other; across it, they don't. Reading the design chapters together, OCE draws five of them. OCE's own code enforces the first three. The last two depend on whoever runs OCE and on which sandbox they choose.

  • The installation and its namespaces. One installation per deployment, holding separate namespaces. A namespace is the wall between tenants: their agents, settings and secrets. References can't reach across it.
  • Deciding versus running. Deploying an agent is control-plane work, done by a worker that re-checks the original person's permission before it changes anything. Handling a message is data-plane work.
  • Gateway versus harness. They run as separate pods, with separate identities and separate storage. The gateway reaches the harness's files through narrow remote file operations instead of a shared folder, and only the harness gets the model key.
  • Trusted and untrusted machines. Whoever runs OCE has to put gateways and harnesses on separate pools of machines. Anyone who can manage workloads in a tenant's namespace is trusted for both, because the ability to change a deployment can expose secrets indirectly.
  • The sandbox around the harness. Optional. With the OpenShell sandbox selected, each agent version gets one sandbox. OpenShell requires Landlock (a Linux feature that limits which files a program can touch) and runs a supervisor that controls network access and credentials. All of one agent's conversations share that sandbox, so they have to be one circle of trust. The driver reference marks OpenShell as not yet qualified for production.

How a model key reaches the provider

To talk to a model, someone has to hold the provider's API key. Where that key sits is the biggest security question in any agent platform, because the part of the system that runs tools is also the part an attacker can steer. This is where OCE's design is moving fastest, and where its documents are most careful about what's actually built.

Three paths exist or are proposed. A fourth row shows how Octogee does it, for comparison.

PATH INSIDE THE AGENT WORKLOAD WHERE THE REAL KEY IS ADDED UPSTREAM Today OCE · temporary exception Harness env var holds the real key nothing in between Provider Credential Gateway OCE · experimental Harness in OpenShell holds a placeholder Supervisor proxy substitutes the key Provider Credential Proxy OCE · proposed, RFC-0023 Harness, direct egress blocked plain request, no secret Trusted sender re-checks authority per request Provider For comparison Octogee · in production Gateway SecretRef opaque per-owner token llm-broker budget, allowlist, real key Provider
Follow the coral box down the rows: the key moves further and further away from the agent. The proposed Credential Proxy goes furthest: it checks every request as it happens, so a revoked permission stops the very next call. Octogee's relay checks the pod and who's assigned to it before issuing a token, then checks the token's owner and budget on every request. But it only covers model calls; OCE's proposal also covers GitHub and other services.

Component register

Every named part of the architecture, what it does, and where it stands. Links go to the repo at commit 7bb67ab or to the issue tracker.

Component What it does Status Source
API and console Signs people in (and non-agent service keys), then checks their permission on the exact thing they're touching. The console uses the same APIs. Built design.md
Sign-in Better Auth sessions; GitHub, Google, or one generic OIDC provider, for accounts an administrator enrolls. No public signup. Built authentication.md
Permissions (IAM) Roles, bindings and restrictions, checked on exact resources. Managing groups and restrictions through the API isn't available yet. Built · partial authorization.md, #820
Worker and queue Picks up queued work, re-checks the original person's permission and anything protected the work touches, then calls the drivers. Work for one agent runs one job at a time. Built design.md, #1645 (view of failed work)
Audit log Changes, queued work and the audit record are saved together in one database step, so a change can't happen without its record. Secret values never go into the log. Wider export, retention and a platform-wide audit view are proposed. Built RFC-0013
Kubernetes compute Creates (or adopts) one Kubernetes namespace per tenant, with strict pod security, quotas, network rules that block everything by default, and images pinned to an exact version. Runs gateway and harness as separate pods. Built security.md
Docker and SSH compute Docker runs a local preview that can't deploy agents through the control plane. SSH runs OpenClaw on machines you've already set up; networking and credentials stay your job. Limited design.md
Gateway One OpenClaw gateway per agent. Receives messages and manages clients. In dedicated mode it never receives the model key. Built design.md
Harness Runs the model turns and the agent's tools. Embedded OpenClaw, dedicated Codex, or dedicated native OpenClaw (only when a sandbox driver sets it up). Built runtime-isolation.md
OpenShell sandbox Optional sandbox driver: one sandbox per dedicated harness, Landlock required, a supervisor that controls network access. Marked not yet qualified for production. Experimental openshell-sandbox.md
Credential Gateway Holds model keys and attaches them, per agent version, to that agent's sandbox, so the harness never sees them. Dedicated Codex on OpenShell only. Experimental RFC-0016
Credential Proxy Would replace the Credential Gateway: a trusted sender checks which run sent each request, and whether it's still allowed, before adding the credential. Proposed RFC-0023, #4016
Secret Broker Brokered model keys, so the harness only ever gets limited stand-ins. Planned Milestone M8 (0 of 5 closed)
Agent identity A way for each agent to prove who it is to the control plane, planned on SPIFFE/SPIRE. Planned Milestone M6 (0 of 5 closed)
Access Gateway (OAG) A front door that checks and admits traffic before it reaches the control plane and gateways. Planned design.md
Shared sandbox policies One set of containment rules that works across sandbox drivers. Agents can already add their own network allowances. Planned Milestone M7, 1.x (0 of 4 closed)
Tool gateway, model registry and router, shared context Checked access to tools, routing between models, and a shared layer for search, session history and memory. Planned design.md
Observability Metrics, and a log pipeline that keeps only approved events and strips message content. Request tracing is planned. Built · traces planned #2364
Native admin pilot An opt-in way for trusted operators with full permission on one agent to use the stock OpenClaw admin screen. OCE checks who gets in, not each command they run there. Exception design.md

Controls in place today

These are built and working now:

  • Tenant namespaces run with Kubernetes' strictest pod-security level, in enforce, audit and warn modes, plus limits on how much each can use. Taking over an existing namespace needs installation-level permission, and OCE refuses namespaces already marked for another tenant.
  • Network rules block everything in and out by default. The only exceptions are DNS, approved clients of the gateway, and the gateway talking to its own harness. A gateway can't reach another agent, even in the same namespace.
  • Pods run without admin rights, with the kernel's default system-call filter, no way to gain privileges, no special capabilities, and a read-only system disk. Only the storage each agent declares is writable.
  • Images for gateways and harnesses have to be pinned to an exact version, and production refuses to start with anything else.
  • Secrets stay out of API responses, agent versions and audit records. If a ChatGPT admin key is configured, it's only mounted in the API pod.
  • Permission checks and the audit log fail closed: if a request is denied, or its audit record can't be written, nothing happens. The worker re-checks permission before it touches any infrastructure.
  • Logs go through a collector that keeps only reviewed kinds of events and strips message content, so chat text doesn't leak into operational logs.

Exceptions and open work

OCE's documents name their own gaps unusually clearly. Here they are in one place, with the issue or RFC that tracks each.

Area Today Where it's headed Tracking
Model keys Exception: handed to the harness as environment variables. Brokered keys; the harness gets limited stand-ins. M8, RFC-0023, #4016
Internet access from agents Exception: open on port 443 (HTTPS), except private and metadata addresses. For 0.x, OpenShell's network and credential proxy for sandboxed agents; a custom proxy is deferred. RFC-0017
Gateway-to-harness connection Exception: a capability token over an unencrypted WebSocket (ws://), with no mutual TLS. A connection where both sides prove who they are. M6 (SPIFFE/SPIRE)
Kernel-level sandboxing Not supported: no RuntimeClass setting for agent pods yet, and some storage mounts may not work inside VM-style sandboxes. Requested; needs a product decision. #4252, #4253
Sharing one agent Gap: sharing grants full admin, and everyone reaches the gateway as one shared admin. Chat-only access, with each person verified separately and narrower roles. #809
Conversations within one agent They share the sandbox's user, files, processes and network. By design: one agent is one circle of trust. runtime-isolation.md
Namespace administrators Trusted for both gateway and harness; network rules and mounts don't limit them. Accepted when all agents share one namespace. TASK-0043
Plugins Allowlists exist; approving each use, and approving pinned plugin versions, are still open. Enforced plugin access and approval rules. #789, #2240
Data lifecycle No API yet for keeping or erasing transcripts, or deleting an agent's memory files. Retention and erasure through the control plane. #2964, #2973
Distribution No tagged release or published Helm chart yet. A first chart release on GitHub's container registry. #4234

Reading the announcement against the repo

The announcement named four protections. Here's where each one shows up in the code and documents.

  • Hard walls between trusted and untrusted work: separate gateway and harness pods, with separate identities and storage, on machine pools the operator has to keep apart. Built, with the namespace-administrator caveat above.
  • Sandboxing: the sandbox driver interface and the OpenShell driver. Built and experimental; getting it production-ready is waiting on work in OpenShell itself.
  • Fine-grained permissions: roles, bindings and restrictions checked on exact resources. Built; managing groups and restrictions through the API is still open.
  • AI-based reviews: the one I could find is autoreview, an AI code-review step for changes to OCE itself, plus an automated bot that sorts incoming issues. I found nothing that uses a model to review what agents do while they run. If that's planned, the reference architecture is the natural place to describe it.

The repo also holds a code-level architecture and security audit from September 1. In the paths it looked at, it found no way to get around permissions between namespaces, no leaked credentials and no container escapes. It did list problems where components connect to each other. The report says those findings were unresolved when it was written; I didn't check where they stand now.

Where Octogee lines up

For anyone comparing the two, here's each OCE building block next to the closest thing Octogee runs in production today.

OCE building block OCE status Octogee today
One gateway per agent Built One Builder gateway per owner. People who don't need a shell share one pooled gateway, the Barn, with the shell and related tools removed.
Kernel-level sandboxing for agent pods Requested: #4252 Builder gateways and every project build run inside the gVisor sandbox; Pro and Team Builders get their own virtual machine. Since November 2 the Barn runs in gVisor too.
Brokered model keys Experimental (Credential Gateway) and proposed (Credential Proxy) Each agent holds a stand-in token through an OpenClaw SecretRef; our relay adds the real key, enforces budgets and meters use.
Agent identity Planned: M6 Each pod proves who it is with a Kubernetes ID badge (checked with TokenReview), then every route checks it against the list of who's assigned to that gateway.
Each person identified on a shared agent Gap: #809 A Builder gateway can tell OpenClaw which signed-in person is talking, so OpenClaw's own roles and history apply per person. Opt-in per gateway.
Filtered internet access Planned Not built here either. Both platforms allow public HTTPS from agent pods and block private and metadata addresses.
An audit log that can block a change Built Every fleet change is logged. Since November 2, every brokered data access is recorded too, but a failed record doesn't block the change. OCE is ahead here.
Permissions on exact resources Built Simpler: owner, workspace membership, and roles only our server can set. OCE is ahead here.

How I did this. I read the repository at commit 7bb67ab on November 1, 2026: the architecture overview, design chapters, security and driver references, RFCs, implementation plans, and the September audit. Then I reviewed the issue tracker and milestone counts the same day. Everything here is paraphrased; please read the linked sources for OCE's own wording. I didn't run OCE or test any of its controls.

OpenClaw Enterprise is an OpenClaw Foundation project, MIT-licensed. This page is an independent summary and hasn't been reviewed by its maintainers.

Built with Octogee — ceckert writes posts there.