> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workspaces & Usage

> Create, start, stop, and destroy Wherobots workspaces from the Wherobots VS Code Extension. Manage costs and connect to remote kernels.

Public Preview

Manage the full lifecycle of Wherobots workspaces without leaving your editor.

The Wherobots VS Code Extension lets you create, start, stop, and dismiss workspaces from
the sidebar, and automatically connects your local Jupyter notebooks to
remote Wherobots compute with kernel selection.

## What is a workspace?

In the Wherobots VS Code Extension, a **workspace** provisions and manages
a [runtime](https://docs.wherobots.com/develop/runtimes.md) in Wherobots Cloud.

A [**runtime**](https://docs.wherobots.com/develop/runtimes.md) is a dedicated,
serverless computing cluster. When you create a workspace, you are starting a runtime
in the cloud that your local Jupyter notebooks can connect to and execute against.

> [!TIP]
>
> **Think of it this way:**
>
> * A **Runtime** is the remote compute cluster running in Wherobots Cloud.
> * A **Workspace** is the editor session that wraps that runtime, giving you a local interface to manage its lifecycle and connect notebooks to it.

Creating a workspace provisions a runtime. Stopping a workspace tears down, or destroys, that runtime
and halts further Spatial Unit consumption for that runtime.

Most importantly, the notebook files you create in your editor stay local on your machine -- the workspace
simply provides the bridge to remote compute.

> [!NOTE]
>
> A workspace in the Wherobots VS Code Extension is the local equivalent of a
> [Notebook Runtime](https://docs.wherobots.com/develop/notebook-management/notebook-instance-management.md) in the
> Wherobots Cloud web console. Both provision and connect to the same underlying runtimes.

> [!NOTE]
>
> **Organization Availability:** Available to all Wherobots Organization Editions (Professional, Innovation, and Enterprise).

> [card] [Installation & Setup](https://docs.wherobots.com/develop/agentic-tools.md)
>
> Install the Wherobots VS Code Extension for VS Code, Cursor, Windsurf, Kiro, and other editors. Set up your API key.

> [card] [Browse Your Data](https://docs.wherobots.com/develop/vscode-extension/integrate-your-data.md)
>
> Browse catalogs, schemas, and tables in the Data Hub sidebar. Use AI to create notebooks from your data.

> [card] [AI-Assisted Notebook Development](https://docs.wherobots.com/develop/vscode-extension/notebooks.md)
>
> Create Jupyter notebooks with AI assistance and connect those notebooks to remote Wherobots compute.

> [card] [Submit Job Runs](https://docs.wherobots.com/develop/vscode-extension/jobs.md)
>
> Submit Python scripts as Wherobots job runs directly from your editor, with configurable runtime, region, timeout, and arguments.

## Start a workspace

Starting a workspace provisions a runtime in Wherobots Cloud and makes its Jupyter kernels
available to your local notebooks. You choose the runtime size, region, and idle timeout
during creation -- these determine the compute resources allocated and where they run.

**1. Open the Command Palette**

To open the **Command Palette**, click the search bar at the top of your editor and type `>wherobots:`.

![Command Palette](https://mintcdn.com/wherobots/DMnWqML8c8j1wZKT/develop/vscode-extension/images/sign-in-oauth.png?fit=max\&auto=format\&n=DMnWqML8c8j1wZKT\&q=85\&s=c35c7d940895cdbc9766ba7bc4f0a5d1)

> [!TIP]
>
> You can also press <kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Mac, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Windows/Linux to open the **Command Palette**.

**2. Enter the command**

Type `Wherobots: Create Workspace`.

**3. Run the command**

Click <kbd>Enter</kbd> to run the command to create a new workspace.

**4. Choose a runtime**

1. Choose the runtime configuration for your workspace, including **Region**, **Runtime Size**, and **Idle Timeout**.
2. Click **Create & Start**.

![Create Workspace runtime configuration](https://mintcdn.com/wherobots/sQRlg2xOr4yRMlZ8/develop/vscode-extension/images/create-workspace.png?fit=max\&auto=format\&n=sQRlg2xOr4yRMlZ8\&q=85\&s=d20680c1fe3935e2dba80e20c2948e43)

Create Workspace runtime configuration in VS Code. The interface is similar in other editors.

**5. Wait for provisioning**

Wait for the workspace to provision. The extension displays status updates as the workspace starts.

Once the workspace is running, the runtime is active in Wherobots Cloud and the extension
automatically detects its available kernels. You can then
create and connect local Jupyter notebooks to the remote runtime for execution.

> [!NOTE]
>
> Workspace startup time varies by runtime size. Larger runtimes may take several minutes to provision.

## Destroy a workspace

Stopping a workspace tears down the runtime it provisioned in Wherobots Cloud, releasing all
compute resources and halting billing. Your local notebook files are unaffected -- only the
remote runtime is destroyed. You can start a new workspace at any time to provision a fresh runtime.

> [!TIP]
>
> As a general rule, always make sure to save any local notebook files before ceasing working.

To stop running workspaces:

**1. Open the Command Palette**

To open the **Command Palette**, click the search bar at the top of your editor and type `>wherobots:`.

![Command Palette](https://mintcdn.com/wherobots/DMnWqML8c8j1wZKT/develop/vscode-extension/images/sign-in-oauth.png?fit=max\&auto=format\&n=DMnWqML8c8j1wZKT\&q=85\&s=c35c7d940895cdbc9766ba7bc4f0a5d1)

> [!TIP]
>
> You can also press <kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Mac, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Windows/Linux to open the **Command Palette**.

**2. Open the Workspaces view**

Run `Wherobots: Focus on Workspaces View`.

**3. Find the workspace**

Find the workspace you want to destroy.

**4. Click the stop button**

To stop the workspace, do the following:

1. Hover over the running workspace you started and a square icon () will appear.
2. Click the square icon to stop the workspace.

   ![Stop (square) button icon](https://mintcdn.com/wherobots/sQRlg2xOr4yRMlZ8/develop/vscode-extension/images/square-icon.png?fit=max\&auto=format\&n=sQRlg2xOr4yRMlZ8\&q=85\&s=90d93da70f9bb7a09c4afec12d58c1d7)

   Stop button for a running workspace in VS Code. The interface is similar in other editors.

**5. Confirm stopping the workspace**

Confirm that you want to stop the workspace.
Stopping a workspace tears down the remote runtime and halts compute billing. You can start a new workspace later to provision a new runtime.

> [!TIP]
>
> As a general rule, always make sure to save any local notebook files before ceasing working.

## Restart a workspace

Restarting a workspace means stopping the current workspace and starting a new one with a
different runtime configuration. This is useful when your current workspace runtime is too small
for your notebook workload.

> [!NOTE]
>
> Restarting a workspace does not affect MCP server Chat queries. MCP queries
> run on their own compute, separate from your workspace. If MCP queries are stalling or timing
> out, see [MCP Server Usage Considerations](https://docs.wherobots.com/develop/mcp/mcp-server-usage.md#usage-considerations)
> for timeout and runtime configuration options for increasing the runtime allocated to MCP server Chat queries.

To restart a workspace:

**1. Stop the current workspace**

Follow the steps in [Destroy a workspace](#destroy-a-workspace) to stop the running workspace.

**2. Start a new workspace with the desired runtime**

Follow the steps in [Start a workspace](#start-a-workspace) to create a new workspace. When
choosing the runtime configuration, select the **Runtime Size** that matches your workload.

> [!TIP]
>
> See [Runtimes](https://docs.wherobots.com/develop/runtimes.md) for available sizes and guidance on choosing the right
> runtime for your workload.

## Other actions

The following actions are available for each workspace in the sidebar by right clicking on a running notebook workspace:

| Action | Description |
| - | - |
| **Connect Kernel** | Connect the selected running workspace to a notebook kernel |
| **Stop Workspace** | Stop a running or starting workspace |
| **Open in Browser** | Open the workspace in the Wherobots Cloud Console |
| **Open Spark UI** | Open the Spark UI for a running workspace (when available) |
| **Copy Jupyter URL** | Copy the workspace Jupyter endpoint |
| **Dismiss** | Hide a failed workspace entry from the sidebar |

You can also run `Wherobots: Refresh Workspaces` from the Command Palette to refresh the workspace list.

Stopping a workspace tears down its runtime in Wherobots Cloud, releasing compute resources and halting billing. Your local notebook files are preserved. You can start a new workspace later to provision a fresh runtime.

> [!TIP]
>
> As a general rule, always make sure to save any local notebook files before ceasing working.

You can also manage workspaces from the [Wherobots Cloud Console](https://cloud.wherobots.com).

## Cost considerations

Consider the following cost implications when using the Wherobots VS Code Extension:

* **Workspaces and kernels**: Each running workspace has a runtime provisioned in Wherobots Cloud that consumes [Spatial Units (SUs)](https://docs.wherobots.com/develop/runtimes.md#what-are-spatial-units) for as long as it is active. Stop workspaces when not in use to halt billing.
* **Job runs**: Billed based on runtime size and duration. See [Runtimes](https://docs.wherobots.com/develop/runtimes.md) for pricing details.
* **MCP server queries**: SQL Sessions started by MCP queries run on a Tiny runtime and terminate after 5 minutes of inactivity. See [MCP Server cost](https://docs.wherobots.com/develop/mcp/mcp-server-overview.md#cost).
* **Copilot usage**: AI interactions count toward your GitHub Copilot usage limits. See [Copilot Requests](https://docs.github.com/en/copilot/concepts/billing/copilot-requests) in the GitHub Documentation.

## Troubleshooting

If you encounter issues with the Wherobots VS Code Extension, try the following troubleshooting steps:

> [accordion] Extension commands not appearing
>
> * Verify the extension was installed successfully by checking the Extensions view for **Wherobots VS Code Extension**
> * Reload your editor (**Command Palette > Reload Window**)
> * Reinstall the extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=wherobots.wherobotsjobsubmit) or the [Open VSX Registry](https://open-vsx.org/extension/Wherobots/wherobotsjobsubmit) (for Cursor, Windsurf, Kiro, Positron, Antigravity, VS Codium, and other editors)

> [accordion] Cannot connect to remote kernel
>
> * Confirm the workspace status is running
> * Try `Wherobots: Refresh Workspaces` from the Command Palette and reconnect from the kernel picker
> * Ensure Jupyter integration is enabled: open `Wherobots: Open Settings` from the Command Palette and confirm `wherobotsjobsubmit.jupyterIntegrationEnabled` is true
> * Review the **Output** panel for connection error details

> [accordion] Job submission fails
>
> * Ensure the [Wherobots VS Code Extension is installed](https://docs.wherobots.com/develop/agentic-tools.md) and configured with your API key.
> * Check that the script path is valid and the file is accessible.
> * Review the **Output** panel for error details.
> * Confirm your Organization has sufficient Spatial Unit allocation.

> [accordion] MCP server Chat query stalled or timed out
>
> * If an MCP server Chat query runs for too long, it may appear stalled or time out, depending on the [query time limit](https://docs.wherobots.com/develop/mcp/mcp-server-overview.md#limits). For timeout configuration and MCP runtime settings, see [MCP Server Usage Considerations](https://docs.wherobots.com/develop/mcp/mcp-server-usage.md#usage-considerations).
> * If appropriate, review or increase the configured MCP timeout. You can also configure a larger MCP runtime via `mcpServerRuntimeId` in `Wherobots: Open Settings`.
> * Restarting the workspace with a larger **Runtime Size** does not change the runtime used for MCP server Chat queries.
> * For guidance on MCP runtime and timeout settings, see [Runtimes](https://docs.wherobots.com/develop/runtimes.md).

> [accordion] AI assistant not using MCP server tools
>
> * Ensure **Agent** mode is selected in the chat panel
> * Verify the MCP server is running (**Command Palette > MCP: List Servers**)
> * Confirm `wherobotsjobsubmit.mcpServerEnabled` is true: open `Wherobots: Open Settings` from the Command Palette to check
> * Check that your API key is valid and re-check optional MCP runtime/region/timeout settings
> * Start a new chat session if tools are not being discovered


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.