5 Recipe: choose between minimal, redteam-ai, full and headless-agent
| Field | Value |
|---|---|
| Tool | kailash (profiles, image matrix) |
| Section | Getting started |
| Level | easy |
| Time | ~10 min (a read + one download decision) |
| Layer/Category | CLASSIC (profile system) |
| Tags | getting-started, profile, images, decision |
5.1 Problem
The release names twelve download targets: profiles × formats × architectures. Pick once, correctly, and by role. The set must carry enough tooling for the work. The set must not carry gigabytes that never run. No desktop belongs on a box that only an agent touches. Choosing a profile IS choosing the image. Make the choice a decision, not a guess.
5.2 Solution
Match the role to the profile. The image-matrix table then names the exact artefact and its size budget:
| Profile | Carries | Choose it when |
|---|---|---|
minimal |
the CORE substrate — kernel, base userland, hardening, safety defaults, desktop, CLI & menu engines; no tool categories enabled (categories are added declaratively later) | learning the system, building a hardened base, or enabling a known exact set |
redteam-ai |
the AI red-team lab scope — ATTACK core plus its OPS/DEFENCE pairings | the cookbook’s scanning and pair recipes, or LLM red-team engagements |
full |
the complete live catalogue (“kali-everything” lab scope) | the live demonstrator, or every category present for exploration |
headless-agent |
base + CLI only, no desktop; the qcow2 grows at first boot | an automation host or an agent-operated box (O-7 grants apply) |
The budget table (from the declared build matrix — every artefact’s budget is enforced by construction):
Target (nix build .#<ref>) |
Profile | System | Budget |
|---|---|---|---|
kailash-images-qemu-minimal / -iso-minimal |
minimal | x86_64 | ≤4 GB |
kailash-images-qemu-redteam-ai / -iso-redteam-ai |
redteam-ai | x86_64 | ≤8 GB |
kailash-images-qemu-full / -iso-full |
full | x86_64 | ≤10 GB |
kailash-images-qemu-headless-agent / -iso-headless-agent |
headless-agent | x86_64 | ≤1.5 GB |
kailash-images-…-aarch64-minimal (qemu + iso) |
minimal | aarch64 | ≤4 GB |
kailash-images-…-aarch64-headless-agent (qemu + iso) |
headless-agent | aarch64 | ≤1.5 GB |
Which profile for which cookbook section:
| Cookbook section | Fits profile | Why |
|---|---|---|
| Scanning | redteam-ai |
the profile carries the a-02 scanner stack (garak…) |
| Attack–defence pairs | redteam-ai |
the pair thesis uses the OPS target + ATTACK probe (pair recipes over non-shipped postures read the module per release) |
| Ops | redteam-ai or full |
serving (o-04/o-02) ships with the lab scope |
| Administrator | any — minimal is the simplest start |
admin recipes act on the base system, not a category |
On the booted system, confirm the choice the release declares:
kailash profile listExpected output shape (one row per profile, TAB-separated):
<name> <layers-summary> <description>
5.3 Discussion
- The profile is baked into the image name: a release asset reads
kailash-<tag>-kailash-<profile>.<ext>. The profile pick happens at download, not at boot (or pull the matching flake ref). That is why this recipe is a download-time decision, not a post-boot one. - Categories give finer precision: between
redteam-aiandfull, prefer the former unless the complete catalogue is the goal. Anything narrower comes as a declarative category enablement + rebuild (see Enable the first category). The category modules are the same modules the profiles use. - Data packs are never part of the choice: wordlists, SDR and other corpora use opt-in
kailash-data.*derivations. The packs stay excluded from every default image by construction. No profile carries them, and no profile choice can pull them in (see Refresh wordlists and data packs). - Safety posture is identical across profiles: the double-key lab-mode gate and the
requires-targetrefusals are properties of the manifest rows and the base safety module. The posture never depends on the chosen profile —fullis not “more dangerous”, only “more present”. - The aarch64 picture: the arm slice carries the arch strategy (x86 hosted builds, local arm builds on Apple Silicon).
redteam-ai/fullaarch64 rows land with the KA-36 slice-2 sweep. Check the release’s own artefact table before planning an arm lab. headless-agentgrows: the qcow2 budget is the boot-time floor. The store grows as the agent enables categories and rebuilds. Budget the host disk, not only the download.
5.4 See also
- Boot a verified release image — the download + verification walk for the picked image
- First profile and first run — the on-system confirmation side of the same decision
- Enable the first category — grow beyond the image’s default set
- Refresh wordlists and data packs — the opt-in data lane no profile carries
- Guide profiles chapter: https://docs.kailash.tools/admin/profiles.html
- The image matrix + budgets (canonical): https://github.com/kailash-os/kailash-os/blob/master/docs/guide/images.md
Recipe provenance. The profile table (four profiles, one sentence each) is the guide’s profiles chapter verbatim-in-meaning; the budget table is the declared images/kailash-images-table.nix matrix (budgets MB: 4096/8192/10240/1536; aarch64 rows per the KA-36 note) — both verified 2026-10-14. The kailash profile list row shape (≤name≤TAB≤layers≤TAB≤description≤) is the landed CLI contract (kailash-packages#52 + the KA-17.2 profiles.json stub at the packages repo main); a worked boot-and-list transcript: PENDING (upkeep lane) — the release notes’ asset table is the per-release authority on which rows shipped.