Skip to content

AX Studio: a desktop app for AX #543

Closed

Description

@rakyll

The hardest part of trying AX is getting a cluster to run it on. Before running a single task, you need three layers working together:

  1. Kubernetes: a kind cluster, plus a local container registry connected to it.
  2. Agent Substrate: cloned and checked out at the version in AX's go.mod, built from source, pushed to the registry and installed.
  3. AX: ax, ax-server and ax-task-runner built from source, the server and runner images built and pushed, and the control plane deployed with a pool of gVisor workers.

Once the cluster is up, using AX is still all CLI and YAML, and could be a barrier for early developers:

  • Writing tasks means writing YAML by hand. A useful task usually needs a Task, a Workspace (repos, files, MCP servers) and often a Model and secrets, all with matching names.
  • There's no overall view. ax get tasks lists tasks one per line. It can't show what's running across an atespace, which workspaces tasks use, or a task's logs and conditions side by side.

Proposal

Build AX Studio, a desktop app for macOS, Windows and Linux that takes you from nothing to running tasks, and lets you watch and manage them. A prototype exists at https://github.com/rakyll/ax-studio.

AX Studio should live in its own repo. It can then be released on its own schedule.

Features

  • Clusters: create a local AX cluster from a name and a worker count, or install AX on an existing cluster. Each cluster shows the health of each layer (Kubernetes, Agent Substrate, AX), so you can see which one is broken. Setup shows progress step by step, and the new cluster is ready to use without changing your current context.
  • Activity: a sortable table of the atespace's tasks, with running tasks on top. You can resume, suspend or delete tasks, inspect their conditions and follow their logs. A second table lists workspaces (repos, MCP servers, files, and the tasks using each), and you can delete them.
  • Designer: builds a Task, plus an optional Workspace and Model, with a form or raw YAML, shows the manifest, and creates them. It comes with templates for common runners (Gemini, OpenAI, Claude, GitHub Actions).
  • Terminal: interactive shells into running tasks, in tabs that stay connected while you use the rest of the app.
Clusters Clusters Activity Activity
Map Map Designer Designer
Task logs Task logs

Related AX changes

  • Terminal support in the process API (PTY issue): needed for proper interactive shells, including window resizing.
  • Session IDs on tasks (session issue): would let Activity and Map group the tasks of one run, and clean them up together.

Open questions

  • Dependencies: ideally, once AX Studio is installed, it needs nothing else on a laptop to create a cluster and run tasks. What does it take to get there?
  • Distribution: code signing and notarization for macOS, signing for Windows, and potentially auto-update.
  • Remote clusters: should cluster management cover only local clusters, or remote ones too?

Not in scope (for now)

  • Replacing the CLI: AX Studio is a companion to ax, not a replacement.
  • Multi-user or hosted (web) use.

Activity

  1. added
    devx
    on Nov 1, 2026
  2. janetkuo commented on Nov 2, 2026

    @janetkuo
    Member

    I noticed #526 (ax local start / status / stop) was closed as a duplicate of this issue. Headless environments (remote SSH boxes, Cloudtops/Codespaces, CI, coding agents, etc.) still need a non-GUI way to bootstrap and health-check a local cluster. How about keeping cluster lifecycle in the ax CLI (#526), and have AX Studio call it?

  3. rakyll commented on Nov 2, 2026

    @rakyll
    MemberAuthor

    What about providing a headless installer for kind+Substrate that we can leverage in the Studio?

  4. YoyinZyc commented on Nov 2, 2026

    @YoyinZyc
    Collaborator

    The headless installer could cover the kind cluster setup and substrate installation. Where should the installer liver? in the substrate repo?

    And I think we still need the ax installation on the cluster which involves prebuilt ax-server, ax-task-runner images and maybe a lightweight ax install in ax repo?

  5. dimetron commented on Nov 3, 2026

    @dimetron

    It should also detect other local clusters like k3s, rancher desktop, orbstack, clusters via Tailscale, quick add clusters via ssh.

  6. janetkuo commented on Nov 5, 2026

    @janetkuo
    Member

    The headless installer could cover the kind cluster setup and substrate installation. Where should the installer liver? in the substrate repo?

    yes, we could leverage https://github.com/agent-substrate/substrate/tree/main/cmd/ate-setup, or whatever installer substrate provides

    And I think we still need the ax installation on the cluster which involves prebuilt ax-server, ax-task-runner images and maybe a lightweight ax install in ax repo?

    +1 to a lightweight ax install here

  7. added 3 commits that reference this issue on Nov 8, 2026
  8. rakyll commented on Nov 21, 2026

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

Metadata

Metadata

Assignees

Labels

devx

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions