Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions enterprise/custom-sandbox-images/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,25 @@ output, and test harness your agents need. Instead of spending minutes
provisioning a workspace on every run, your agents start on the actual task
immediately.

## From Image to Conversation

Later versions of OpenHands Enterprise also let you manage these configurations, including CPU,
memory, storage, and idle timeout, from `Super Admin Dashboard > Sandbox Spec`, without `kubectl` or
an admin password. One example end to end:

1. Build and push the image. See
[Building a Custom Image](/enterprise/custom-sandbox-images/building-custom-images).
2. On `Super Admin Dashboard > Sandbox Spec`,
[create a spec](/enterprise/sandbox-specs#create-a-sandbox-spec) that references the image.
3. A new spec is public by default. To restrict it to specific organizations,
[grant access through Org Permissions](/enterprise/sandbox-specs#grant-access-with-org-permissions).
4. Select the spec in an [Agent Profile](/enterprise/agent-profiles#choose-a-sandbox-spec), for a
conversation or for an automation that launches with the same profile.

<Note>
Later versions of OpenHands Enterprise also let you manage these same
configurations, including CPU, memory, storage, and idle timeout, from
`Super Admin Dashboard > Sandbox Spec`, without `kubectl` or an admin
password. See [Sandbox Specs](/enterprise/sandbox-specs).
An automation's sandbox uses its Agent Profile's spec only once your deployment also runs an
Automation release that includes this fix. See
[How Users and Automations Select a Sandbox](/enterprise/sandbox-specs#how-users-and-automations-select-a-sandbox).
</Note>

## How Sandbox Pools Work
Expand Down
8 changes: 4 additions & 4 deletions enterprise/custom-sandbox-images/using-custom-images.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ the configuration list for 60 seconds).

## Per-User Selection

Choose an image for a member's conversations and automations in an
[Agent Profile](/enterprise/agent-profiles)'s `Sandbox spec` field. See
[Sandbox Specs](/enterprise/sandbox-specs#how-users-and-automations-select-a-sandbox) for the
resolution order, and
Choose an image for a member's conversations in an [Agent Profile](/enterprise/agent-profiles)'s
`Sandbox spec` field. See
[How Users and Automations Select a Sandbox](/enterprise/sandbox-specs#how-users-and-automations-select-a-sandbox)
for the resolution order, including when an automation reaches the same profile, and
[Grant Access with Org Permissions](/enterprise/sandbox-specs#grant-access-with-org-permissions) to
restrict a configuration to specific organizations.

Expand Down
4 changes: 4 additions & 0 deletions enterprise/sandbox-specs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ for `POST /api/v1/sandboxes`, on every sandbox backend:
A member or automation can only resolve to a spec their organization can access; an explicit request
for a spec outside that access fails instead of silently falling back to another one.

An automation reaches step 2 only once your deployment also runs an Automation release that includes
this fix, in addition to Enterprise server `1.105.0` or later. Until then, an automation's sandbox
starts on the organization or deployment default, and only the conversation itself uses the profile.

- **In an Agent Profile**: each profile has its own `Sandbox spec` field, next to its other settings
on `Settings > Agent Profiles`. Leave it on `Deployment default` to use the resolution order above;
a profile never inherits a spec from another profile. This is the main way a member controls which
Expand Down
Loading