Skip to content
Work IQ Dev Tools are in preview (v0.12.2). Commands and APIs may change before 1.0. See the installation guide.

Host vs extensions

When you type wiqd agent create or wiqd agent provision, two different layers are at work. Understanding the split helps you predict where a command lives, what tool you need installed, and where to look when something goes wrong.

The host is the wiqd binary you install. It owns:

  • The command-line surface — parsing flags, picking subcommands, printing help.
  • Global concerns — authentication, configuration, telemetry, output formatting (--json), the spinner, the banner.
  • A small set of core commands that work without any extensions: version, config, auth, update, doctor, docs, feedback, install, uninstall, ext.
  • One agent-specific core command: wiqd agent validate (static mode) and its sibling wiqd agent lsp. These ship with the host because manifest validation must work offline.

The host is intentionally generic. It has no built-in knowledge of ATK, Work IQ, or the eval suite.

Every other command — wiqd agent create, wiqd agent provision, wiqd agent monitor, wiqd agent eval — is contributed by an extension. An extension is a package that ships:

  • A manifest describing the commands it adds, the options each one accepts, how to render the result, and what to validate after the upstream tool runs.
  • Optionally, transform scripts that shape data flowing between you and the upstream tool.
  • Doctor health checks that wiqd doctor aggregates.
  • Optionally, Copilot skills and a VS Code companion.

Work IQ Dev Tools ship with seven extensions out of the box (see Provided Extensions). You don’t install them separately — they come with wiqd. Both the ATK and in-process core backends are installed and registered; plugin-core-engine selects one, so the unselected backend is hidden rather than absent.

Take wiqd agent provision --env local:

  1. The host parses the flags and looks up agent.provision in its command tree.
  2. It finds that the command belongs to the Agents Toolkit extension.
  3. It resolves the upstream atk binary (env var override, then bundled, then PATH).
  4. It runs preflight checks declared by the extension.
  5. It spawns atk with the right arguments, plus its non-interactive flag so Work IQ Dev Tools own the prompt experience.
  6. After atk exits, the host validates the filesystem postconditions the extension declared.
  7. It renders a clean success/failure message — or maps the upstream error to something human-readable.

The same shape applies to every extension command. Exit code plus filesystem postconditions are the source of truth — Work IQ Dev Tools never try to guess success from upstream stdout text.

  • If a command is failing, check the relevant upstream tool first (atk --version, workiq --version). wiqd doctor aggregates these.
  • If you want to know exactly what Work IQ Dev Tools are doing, run with --verbose — the raw upstream output goes to stderr.
  • If you need to script around Work IQ Dev Tools, use --json — it’s stable across extensions and the host wraps everything in the same envelope.
  • If a command you expect isn’t there, run wiqd ext list to confirm the right extension is loaded.