Skip to content

Welcome Wizard Internals

Jackson Sá edited this page Oct 21, 2026 · 1 revision

The wizard is the cockpit opened with --welcome (Welcome.tsx). What the user sees is described in the Welcome Wizard page; this is how it works.

When it opens

/etc/xdg/autostart/agentux-welcome.desktop runs agentux-setup autostart, which exits for system accounts, on the live ISO, or when ~/.local/state/agentux/welcome.done exists. Otherwise it waits for the desktop's own first-login setup (COSMIC Initial Setup; wait-desktop-setup) and execs agentux-cockpit --welcome. Finishing or skipping writes the marker (finish); reset removes it.

The flow follows the profile

profiles.ts defines the profiles — Workstation, Agent Node, Command Server, Executive, Complete, Custom — each with what it is for, who uses it, what runs on the machine, how it works with the others and what it needs, plus which later steps apply. Welcome.tsx builds the step list from the chosen profile.

  1. Profile (ProfileStep): moving on runs agentux-setup profile <id>, which records the choice (agentux profile); nothing is downloaded.
  2. Command (RoleStep), for roles that use AgentUX Command: Workstations and Agent Nodes paste an enrollment token (auxe1_…) and the server URL; agentux-setup node enroll passes the token on stdin to aux node enroll and starts agentux-gateway. Command Servers get a checklist; Executives, which server to follow.
  3. Agents (AgentsStep): the status of the CLIs agentux-os's first-login service installs (agentux-setup status), Sign in per CLI (signin), and a retry of the first-login install (retry-first-login).
  4. Tools & SDKs (ToolsStep): the catalog; installs run as one batch in a transient user unit (start), with states and logs under ~/.local/state/agentux/setup/. plan prints the exact commands.
  5. Git & SSH (GitStep): git, ssh-key, signin github.
  6. Done (DoneStep): a summary and the penguin tour.

Steps 3–5 appear only for profiles that run agents on a desktop.

Without a system

npm run dev, then http://localhost:1420/?view=welcome runs the wizard on MockSetupClient (&speed=3 hurries it, &fail=dbeaver,first-login shows failures). Welcome.test.tsx covers the flow per profile.

Clone this wiki locally