> This page is for Building secure agent workspaces with NVIDIA OpenShell Reference Architecture.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/reference-architectures/llms.txt.

# Where Secure Agent Workspace Fits

**Table 2: Where Secure Agent Workspace Fits**

| Need                                                                             | Right home                                     | Why                                                                                                                                                                                |
| -------------------------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Day-to-day non-autonomous development                                            | Local endpoint                                 | Lowest latency, full editor control, fully offline-capable.                                                                                                                        |
| OSS / public-data work needing wide public-internet reach                        | **Secure Agent Workspace - public profile**    | No corporate-network or private-data access; public egress follows the approved profile policy.                                                                                    |
| Higher-autonomy agentic dev with internal-service dependencies and long sessions | **Secure Agent Workspace - corporate profile** | Approved autonomy substrate; allowlisted internal reach; persistent personal workspace.                                                                                            |
| Hosting a service for other users to consume                                     | Service-hosting platform                       | Production multi-user service hosting is a separate responsibility; a service may invoke governed workspaces. Public/corporate profiles describe workspace data and access policy. |

The corporate vs public split maps onto the Capability Risk Model (the "Rule of Three" / lethal trifecta) — the observation that an agent becomes dangerous when it combines access to private data, exposure to untrusted content, and the ability to communicate externally. For an autonomous agent the last two are a single channel: an outbound "read" is also an exfiltration path, so untrusted-content ingress and the exfiltration route are one leg. **This design therefore tracks three compounding capabilities: (a) access to internal data or secrets, (b) nondeterministic autonomy, and (c) external data access (read/write).** Autonomy (b) is the whole point of an agent, so the practical rule becomes: keep internal and external data access apart — or, when they must combine, bound the external leg with hard controls. The two profiles apply that rule differently:

* Corporate profile — intentionally accepts the mix. Internal-service work needs internal data (a) and some external reach (c) under autonomy (b), so the corporate profile cannot defang the trifecta by removing a leg. It instead bounds leg (c) to the narrowest defensible surface — an egress allowlist, brokered network path, credential proxy, and human review on writes — and relies on these hard, deterministic controls, exactly as the Capability Risk Model prescribes when the legs cannot be separated.

* Public profile — separates approved public-data work from internal data and corporate access. This reduces exposure of enterprise data only while private data and credentials remain excluded; external abuse and integrity risks still require controls.

Bounding a leg reduces but does not eliminate risk: it constrains the exfiltration channel without by itself stopping other harmful actions — destructive writes, DoS on internal systems, hallucinations. Those are addressed by the write-review gate, runtime sandbox, and signed policy elsewhere in this design.

Profile selection starts from data classification. Which data classes an agent may handle determines whether it belongs in the corporate profile (allowlisted internal reach) or the public profile (no access to private data). A published data-classification policy is therefore a precondition to turning autonomous agents on — it is the input every downstream control resolves against: where data may travel (the egress allowlist and routed inference) and which reads and writes require human review.

**Regulated profile.** Shorthand for a workload under data-residency or sovereignty constraints — data that cannot leave the host, and a host operator that sits outside the workload's trust boundary. **It is a constraint on where data and credentials may reside, not a claim of conformance to any specific regime;** mapping it to a given legal or contractual obligation is the enterprise's decision.

## Three Timescales of Sandbox Lifecycle

Different workloads need different execution lifetimes. A logical workspace and its governed state may outlive a user session or execution instance; the selected profile must state which lifecycle options it implements.

**Table 3: Three Timescales of Sandbox Lifecycle**

| Timescale                                                                       | Home in Secure Agent Workspace                                                                                                                                                   | Example workloads                                                                                  |
| ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| **Long-running (days / weeks)** — persistent filesystem, persistent agent state | Managed workstation with governed persistent state                                                                                                                               | Always-on personal assistant, long alpha-research loop, multi-day refactor                         |
| **Per-session (minutes / hours)** — ephemeral filesystem reset between sessions | Runtime session with explicit session-state reset, where implemented. For example, [NVIDIA OpenShell](https://build.nvidia.com/openshell) sandbox inside the managed workstation | Coding agent run, document-drafting task, triage burst                                             |
| **Per-command (ms / s)** — clean state on each tool call                        | Profile-specific per-command execution, where implemented. For example, [NVIDIA OpenShell](https://build.nvidia.com/openshell) Drivers per-call ephemeral pod                    | High-trust tool execution (untrusted code review, exfil-risky operations), red-team / eval harness |

User or principal, workspace and logical-agent identities, together with signed-policy and audit context, span these lifetimes. Short-lived runtime authority must remain bound to those identities and the active task; the selected implementation must define and validate issuance, renewal and rebinding. Each governed call must enforce the current delegation. This does not imply a fresh or single-use provider credential for every call.