/workspace, and returning local changes requires an explicit conflict-checked transfer.
Estimated time: 10 minutes. By the end, you will connect DSH to Blaxel, move one session into an isolated sandbox, verify remote tool execution, and return a generated file to your original worktree.
The session keeps one DSH host and routes only execution tools through the plugin:
Prerequisites
- A Blaxel account and workspace
- Node.js
22.19.0or newer; Node.js 22 and 24 are verified - DeepSeek Harness
0.1.1-rc.2with thedshcommand available pnpmavailable on yourPATHfor DSH profile plugin management- A model-provider credential configured for your DSH session
- A local directory inside a Git worktree
Create a sample Git workspace
Create a sample Git workspace
Run the following commands if you want an empty, deterministic workspace for this tutorial:Open
dsh-blaxel-tutorial as your DSH workspace in step 4.1. Install the plugin
Install the Blaxel plugin and its native helpers into the DSH Web profile:2. Connect your Blaxel account
Open Settings > Blaxel, then select Sign in to Blaxel.- Complete the Blaxel authorization in the browser.
- Select the workspace that will contain your sandboxes.
- Select Verify connection.
bl login also appear in the workspace selector.
For CI or a managed host, start DSH with
BL_WORKSPACE and BL_API_KEY. Authentication supplied through environment variables is read-only in Settings.3. Choose sandbox defaults
Settings loads the images, memory sizes, regions, and maximum lifetimes available to the connected workspace.
Save the defaults you want to use. Existing sandbox sessions keep their current resources.
4. Move a session into a sandbox
Open a Git-backed workspace in DSH and create or select a session.- Select Open on Blaxel for an empty session
- Select Move to Blaxel for a session with conversation history
- Wait for the current turn to finish before moving a running session
/workspace, and binds the existing DSH session to remote filesystem and subprocess providers. The conversation, title, sidebar row, and selected page do not change.
5. Verify sandbox execution
Confirm that the session has a container marker in the DSH sidebar and a Running on Blaxel strip above the composer. The strip links to the exact sandbox in Blaxel Console. Send the following prompt to create a small proof file:/workspace. The assistant response can vary, but the Bash result and file contents must both be visible.
The working path starts with /workspace. A successful Bash command and file read prove that the session tools are routed to Blaxel. A successful assistant response without tool output does not prove sandbox execution.
6. Move changes back to local
Open Settings > Blaxel, find the running sandbox, and select Return to local.- Wait for active DSH turns and owned sandbox processes to finish.
- Review the changed-file count.
- Confirm the transfer.
- Verify that
blaxel-proof.txtexists in the original local worktree.
7. Recover or discard a sandbox
Restarting DSH reconnects each persisted session binding to its existing sandbox. If the Blaxel browser session expired, open Settings > Blaxel and select Reconnect account for the bound workspace. Select Discard only when you do not need the remote changes. Discarding deletes the sandbox binding without deleting the DSH conversation or changing another session. You have completed the round trip when:- The same DSH session and conversation remain selected
- The proof command reports a path beginning with
/workspace blaxel-proof.txtexists in the original local worktree after the transfer- The transferred sandbox no longer appears as running in Settings
Troubleshooting
Resources
DeepSeek Harness Blaxel plugin
Review the plugin source, complete guide, security model, and verification evidence.
DeepSeek Harness
Install DSH and review its current developer-preview documentation.
Blaxel sandboxes
Learn how Blaxel sandboxes provide isolated, resumable compute environments.
Sandbox expiration policies
Configure sandbox lifetime and automatic deletion policies.
