Skip to content

Rename the default image launcher from ax-harness to ax-launcher #711

Done

Description

@rakyll

The runner starts an image's launcher at DefaultLauncherPath = "/usr/local/bin/ax-harness" (runner/launcher.go:54) when a task has a goal and no spec.commands. runner.Config.LauncherPath can override it, but nothing outside tests sets it, so every agent image has to ship its entry point at that exact path.

"Harness" doesn't say what the file is for. AX's own code and docs already call it the launcher (launcherCommand, markLauncherDone, "launcher contract"). Images then end up naming their real binary after the agent and adding an ax-harness symlink just to satisfy the runner. For example, the Gemini API Managed Agents image in agentexecutor/images ships ax-antigravity plus an ax-harness link.

ax-runner would be a poor replacement name: it is already AX's runner binary. It is DefaultGuestCommand = "/usr/local/bin/ax-runner" (internal/substrate/client.go:196), and the runner volume mounts it at /opt/ax/ax-runner. An image launcher at that path would be started as the runner itself when no runner volume is mounted.

Proposal:

  • Rename DefaultLauncherPath to /usr/local/bin/ax-launcher.
  • Update the references in internal/substrate/client.go:399, internal/install/axdeploy/deploy.go:55 and the docs.
  • Decide on a migration path for existing images. For example, fall back to /usr/local/bin/ax-harness for one release if ax-launcher is missing.

Activity

  1. added this to the v0.4.0 milestone on Nov 23, 2026
  2. added a commit that references this issue on Nov 23, 2026
    0a329c8
  3. self-assigned this
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions