Repository navigation
Description
Is your task related to a problem? Please describe
Part of #24024. Follows the UI work in #23949 and #23964.
#24024 lets a DevWorkspace run as an OpenShell sandbox when the devfile sets controller.devfile.io/workload-kind: openshell. Users have no UI to create those workspaces, pick the agent that runs in them, or work with that agent once the sandbox is up. This task covers the User Dashboard side.
Describe the solution you'd like
An "OpenShell agent" in Agent Space is a DevWorkspace with workload-kind: openshell. The dashboard creates it and opens the agent's own terminal UI. It does not build a new chat UI, in line with #23949.
- Navigation: show Agent Space only when OpenShell is enabled on the cluster. The gate could reuse
spec.agentSandbox.enabledon the CheCluster. A masthead button switches between Agent Space and Workspaces. - Create: laid out like the Create Workspace page:
- Harness dropdown: Claude Code, Codex, Gemini CLI, OpenCode, Kiro CLI. Only harnesses whose OpenShell provider the admin has published are offered.
- Import from Git: a Git repo URL field with Create & Open. The repository is cloned inside the sandbox on launch.
- Select a Sample: one tile, Universal Developer Agent Image. It creates an agent with an empty
/sandboxand no repository. - The dashboard writes the DevWorkspace with
workload-kind: openshell, the project, the selected provider and the digest-pinned image.
- List: all OpenShell agents in the user's namespace, with status (Starting, Running, Stopped, Failed), repository, harness and age. Each row has an Open link, which starts a stopped agent first, and a kebab menu with Start, Stop and Delete.
- Details: a compact header with status and actions, plus four tabs:
- Agent: the harness TUI in a full-height terminal, exec'd inside the sandbox.
- Overview: repository, harness, sandbox name, image, policy (read-only, admin-owned), creation time.
- Events: DevWorkspace and OpenShell events.
- Terminal: a shell in the sandbox.
- Terminal relay: the dashboard backend proxies a WebSocket to the OpenShell SDK's interactive
Exec(PTY), authorised with the user's token. The Agent and Terminal tabs use it. - Lifecycle: Start, Stop and Delete with a confirmation dialog. Stop maps to OpenShell
Stopand keeps/sandbox. - Status updates: watch the DevWorkspaces so status changes show without a reload.
Describe alternatives you've considered
No response
Additional context
Clickable prototype with a mock backend. The terminal relay runs the real CLIs on the local host, not in a sandbox:
https://github.com/Firewall/che-dashboard/tree/prototype/openshell-agent-space (see agent-space/README.md)
Activity
ibuziuk commentedon Nov 23, 2026
Regarding the sample, I would just call it "Universal Developer Agent"
Firewall commentedon Nov 23, 2026
@ibuziuk Yea agreed
svor commentedon Nov 24, 2026
@Firewall do I understand correctly that these 2 actions are the same? If yes, maybe we can remove the column with Open to avoid duplication
Firewall commentedon Nov 25, 2026
@svor The idea was to keep it consistent with the
Workspacelist page, but I don't have a strong opinion.