Skip to content

Agent Space: create and use OpenShell agents from the User Dashboard (MVP) #24030

Open

Description

@Firewall

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.enabled on 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 /sandbox and no repository.
    • The dashboard writes the DevWorkspace with workload-kind: openshell, the project, the selected provider and the digest-pinned image.
1-create-agent 1b-create-agent-harness-dropdown
  • 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.
2-agent-list
  • 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.
3-agent-session
  • Overview: repository, harness, sandbox name, image, policy (read-only, admin-owned), creation time.
4-agent-overview
  • Events: DevWorkspace and OpenShell events.
5-agent-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 Stop and 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

  1. added
    kind/task
    on Nov 23, 2026
  2. added
    status/need-triage
    on Nov 23, 2026
  3. added
    severity/P1
    and removed
    status/need-triage
    on Nov 23, 2026
  4. ibuziuk commented on Nov 23, 2026

    @ibuziuk
    Member

    Regarding the sample, I would just call it "Universal Developer Agent"

  5. Firewall commented on Nov 23, 2026

    @Firewall
    ContributorAuthor

    Regarding the sample, I would just call it "Universal Developer Agent"

    @ibuziuk Yea agreed

  6. svor commented on Nov 24, 2026

    @svor
    Contributor

    @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

    Screenshot 2026-11-24 at 18 48 34
  7. Firewall commented on Nov 25, 2026

    @Firewall
    ContributorAuthor

    @svor The idea was to keep it consistent with the Workspace list page, but I don't have a strong opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/dashboardkind/taskseverity/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions