Skip to content

About

An agentic distro with OpenClaw, llmman, Docker Sandboxes and Docker Engine pre-installed

Resources

Stars

54 stars

Watchers

0 watching

Forks

Repository files navigation

AgenticLinux logo

AgenticLinux

A Linux desktop built for working with AI agents. Everything is there on first boot: the claude, codex, opencode, openclaw and goose agents, herdr to run them side by side, CodexBar to keep an eye on their usage limits, the ChatGPT (with Codex), OpenCode and Goose desktop apps, Google Chrome, llmman to run models locally or connect any agent to any provider, Docker Engine (rootful and rootless) and Docker Sandboxes, OpenShell and Kata Containers to run agents in isolation, QEMU with KVM for full virtual machines, nvkectl to run GPU Kubernetes clusters (and agenticlinux-k8s for a single-node one on your own machine), GPU runtimes for Vulkan, ROCm and NVIDIA/CUDA, and a full developer toolset.

AgenticLinux is a bootc image: the whole OS ships as a container, so updates are atomic and rollback is one command. It is built from Fedora 45 (or Fedora 44) packages on the fedora-ostree-desktops images, or from CentOS Stream 10 packages (with EPEL) on the centos-bootc image, and available for x86_64 and aarch64.

OpenClaw's web Control UI on the AgenticLinux KDE desktop, asked to check the machine's health, turn on automatic OS updates and reclaim Docker disk (click for the video)

Quick start

  1. Download the ISO for your desktop and architecture from the latest release, boot it and install as usual.

  2. Add yourself to the docker group, then log out and back in (or use rootless Docker instead):

    sudo usermod -aG docker "$USER"
  3. Run an agent on a local model, or on any hosted provider:

    llmman launch claude --model qwen3.8
    llmman launch opencode --provider openrouter --model qwen/qwen3-coder

Each variant is an image tag, docker.io/ericcurtin044/agenticlinux:<tag>. The plain desktop name is the default and is Fedora 45. The fedora45- and fedora44- tags name the release explicitly: a fedora44- tag stays on Fedora 44 whatever the default becomes. To stay on Fedora 44, switch to its variant:

sudo bootc switch docker.io/ericcurtin044/agenticlinux:fedora44-kde
Desktop Fedora 45 (the default) Fedora 44
KDE Plasma kde, fedora45-kde fedora44-kde
GNOME gnome, fedora45-gnome fedora44-gnome
Sway sway, fedora45-sway fedora44-sway
COSMIC cosmic, fedora45-cosmic fedora44-cosmic
Xfce xfce, fedora45-xfce fedora44-xfce
Budgie budgie, fedora45-budgie fedora44-budgie
no desktop base, fedora45-base fedora44-base

CentOS Stream 10, with EPEL, has two desktops and a base image:

Desktop CentOS Stream 10
KDE Plasma centos-kde
GNOME centos-gnome
no desktop centos-base

The 16k- variants are the Fedora 45 variants with a 16 KiB-page kernel, for Apple Silicon Macs (see 16k kernels):

Desktop 16k, Fedora 45
KDE Plasma 16k-kde, 16k-fedora45-kde
GNOME 16k-gnome, 16k-fedora45-gnome
Sway 16k-sway, 16k-fedora45-sway
COSMIC 16k-cosmic, 16k-fedora45-cosmic
Xfce 16k-xfce, 16k-fedora45-xfce
Budgie 16k-budgie, 16k-fedora45-budgie
no desktop 16k-base, 16k-fedora45-base

The 64k- variants are the same with a 64 KiB-page kernel, for the NVIDIA DGX Spark and other Arm servers (see 64k kernels):

Desktop 64k, Fedora 45
KDE Plasma 64k-kde, 64k-fedora45-kde
GNOME 64k-gnome, 64k-fedora45-gnome
Sway 64k-sway, 64k-fedora45-sway
COSMIC 64k-cosmic, 64k-fedora45-cosmic
Xfce 64k-xfce, 64k-fedora45-xfce
Budgie 64k-budgie, 64k-fedora45-budgie
no desktop 64k-base, 64k-fedora45-base

The variants carry the same packages on both distributions, so the list is what CentOS Stream 10, EPEL 10 and RPM Fusion have: GNOME and KDE Plasma are the desktops that exist there, and Kata Containers and the Kubernetes node components are on Fedora only. CentOS Stream's kernel tracks the next RHEL 10 minor release.

Signing in to the agents

On a local model, through llmman launch, the agents need no account. Otherwise sign in once per agent:

  • claude: log in in the browser on first run, or set ANTHROPIC_API_KEY.
  • codex: codex login, or printenv OPENAI_API_KEY | codex login --with-api-key.
  • opencode: /connect in its TUI.
  • openclaw: openclaw onboard.
  • goose: goose configure.
  • llmman: export the provider's key (OPENROUTER_API_KEY, ...) before llmman launch --provider ...; llmman providers shows which are set.

The ChatGPT app asks you to sign in when it first starts. Credentials stay in your home directory, which updates leave alone.

Desktop apps

The desktop apps of the agents that publish an RPM are installed from it, and start from the applications menu or as chatgpt, opencode-desktop and goose-desktop:

  • ChatGPT: OpenAI's one desktop app, which is also the Codex app (the "Codex" mode inside it). Its Linux build is a preview.
  • OpenCode: relocated from /opt to /usr/lib so it is part of the image rather than of the machine's first install.
  • Goose: its RPM installs under /usr/lib and carries the goose CLI, which /usr/bin/goose links to, so the CLI and the app are always the same version.

CodexBar shows the agents' usage limits and spend in the tray, or with codexbar usage in a terminal. It starts at login (see its Settings); GNOME needs a tray extension for the icon.

The apps live in the read-only /usr, so nothing in them can update itself in place: they are updated with the image, like everything else.

Docker

Two daemons, with separate images and containers:

  • Rootful: the system docker.service, for members of the docker group. It is the CLI's default context and has the NVIDIA runtime (--gpus all).

  • Rootless: a daemon per user, without root privileges. Set it up once (add --force if you are in the docker group):

    dockerd-rootless-setuptool.sh install

    This starts it as a systemd user service and switches the CLI to its rootless context. Switch back with docker context use default. To keep it running after logout, run sudo loginctl enable-linger "$USER".

Sandboxes

  • Docker Sandboxes (sbx) runs an agent in a microVM with its own Docker daemon and network, sharing only the project directory. Sign in with sbx login, then sbx run claude in a project directory. See Docker's documentation.

  • OpenShell runs an agent under a policy for its files, system calls and network access. The gateway is a systemd user service, off until you start it:

    systemctl --user enable --now openshell-gateway
    openshell gateway add --local https://127.0.0.1:17670
    openshell sandbox create -- claude

    For rootless Podman also run systemctl --user enable --now podman.socket. See OpenShell's documentation.

  • Kata Containers (Fedora variants) runs each container in its own lightweight VM, through containerd-shim-kata-v2 for containerd, CRI-O and Kubernetes (not set up for Docker). Its initrd is built at boot, for the running kernel. kata-runtime check tells whether the machine can run it.

  • nvkectl is the CLI of NVIDIA Kubernetes Engine (a preview), which creates GPU Kubernetes clusters on bare metal. NVIDIA publishes no binary, so the image builds the newest release. The tools it drives (nerdctl, kind, helm, kubectl, clusterctl) are installed too, at the versions NVKE pins; see its installation guide.

  • Kubernetes (Fedora variants) is a single-node GPU cluster on your own machine: Fedora's Kubernetes 1.36 node components (the line NVKE pins), kubelet, kubeadm and crictl, beside kubectl and helm. The kubelet is off until you create the cluster:

    sudo agenticlinux-k8s up      # kubeadm, flannel, then the NVIDIA GPU Operator
    agenticlinux-k8s status       # the node, the gpu-operator pods, allocatable GPUs
    sudo agenticlinux-k8s down    # kubeadm reset and clean-up; asks first, --yes skips

    up needs the NVIDIA driver loaded (nvidia-smi works), refuses a host that already runs kubeadm, and takes a few minutes. It enables containerd's CRI (in /etc/containerd/config.toml, only if that is still the packaged default), installs flannel and GPU Operator v26.7.3 (NVKE's version, without the driver and toolkit, which the image has), and lets the node run workloads. The kubeconfig goes to ~/.kube/config, or ~/.kube/agenticlinux-k8s.conf if you have one already; then the kubectl commands below need KUBECONFIG=~/.kube/agenticlinux-k8s.conf. Once status shows a GPU allocatable, ask for one:

    kubectl apply -f - <<EOF
    apiVersion: v1
    kind: Pod
    metadata:
      name: gpu-test
    spec:
      restartPolicy: Never
      containers:
      - name: cuda
        image: nvidia/cuda:12.9.2-base-ubuntu24.04
        command: ["nvidia-smi"]
        resources:
          limits:
            nvidia.com/gpu: 1
    EOF
    kubectl logs gpu-test
    kubectl delete pod gpu-test

    This is for one machine; NVKE (nvkectl) provisions multi-node clusters and is not replaced by it. CentOS Stream variants have neither the Kubernetes packages nor agenticlinux-k8s.

Never sleeps

The machine never suspends, hibernates or sleeps, so agents keep running around the clock: closing the lid or sitting idle does nothing (the screen may still turn off). A critically low battery shuts the machine down instead.

  • Drop-ins in /usr/lib/systemd/logind.conf.d and sleep.conf.d (10-agenticlinux-never-sleep.conf) ignore the lid and idle action and refuse suspend and hibernation.
  • sleep, suspend, hibernate, hybrid-sleep and suspend-then-hibernate .target are masked.
  • KDE and GNOME (and Budgie) default to no idle sleep.

To undo it, do both systemd steps, then the desktop settings, and reboot:

# 1. replace the drop-ins: a file of the same name in /etc wins
sudo mkdir -p /etc/systemd/logind.conf.d /etc/systemd/sleep.conf.d
sudo ln -s /dev/null /etc/systemd/logind.conf.d/10-agenticlinux-never-sleep.conf
sudo ln -s /dev/null /etc/systemd/sleep.conf.d/10-agenticlinux-never-sleep.conf
# 2. unmask the targets
sudo systemctl unmask sleep.target suspend.target hibernate.target \
                      hybrid-sleep.target suspend-then-hibernate.target

Then in KDE's System Settings, Energy Saving, set the suspend and lid actions (per power state, and "At critical level" under Advanced Power Settings). GNOME and Budgie use Settings, Power, Automatic Suspend: set an action and a nonzero timeout, which the image sets to nothing and 0.

Install

The ISO is a network installer preset to pull the matching image from Docker Hub, so the install needs a network connection; disk, user and locale are chosen in the installer as usual, with plain xfs partitions as the default.

Or switch an existing bootc system:

sudo bootc switch docker.io/ericcurtin044/agenticlinux:kde

The ISOs are named for the variant (agenticlinux-kde-x86_64.iso), and the default desktops' are Fedora 45. The Fedora 44 ones are agenticlinux-fedora44-kde-x86_64.iso and so on. The 16k and 64k ones (agenticlinux-16k-kde-aarch64.iso) are in the latest release too, added when their separate workflows finish.

Each ISO has a small cloud-init qcow2 of the same name (agenticlinux-kde-x86_64.qcow2), if its build succeeded, for a VM host that seeds cloud-init. With vmmbox (newer than 0.1.41) the desktop is the version, base by default:

vmmbox run agenticlinux bash          # or agenticlinux:kde, agenticlinux:fedora44-gnome

The qcow2 boots as a cloud image within a minute. A full disk would be 8-10 GB, so it stages the matching image from Docker Hub in the background instead, a few minutes (journalctl -u agenticlinux-stage). Once bootc status shows it staged, vmmbox stop agenticlinux and run it again to boot AgenticLinux. cloud/ builds it; /Users is a symlink into /var for vmmbox's macOS home mount.

The root filesystem (which holds /var, /home and /root) defaults to xfs for both bootc install and the ISO.

/tmp is not a tmpfs: it is /var/tmp mounted over it, so one directory on that filesystem, not limited by RAM. A build that leaves gigabytes there (a cargo target directory, a Go build cache) cannot fill memory and break everything else that writes to /tmp. Like a tmpfs it is emptied on shutdown and reboot (agenticlinux-clean-var-tmp.service), but not after a crash or power loss, and systemd-tmpfiles removes files older than 10 days while it runs. /var/tmp is the same directory: keep nothing there that must survive a reboot.

The images are not signed: pulling one, from the ISO or bootc switch, relies on Docker Hub over HTTPS.

Updates

The whole OS is one image, rebuilt every 4 hours and on every push to main; the variant's tag (kde) is the newest. /etc and /var (so your home directory) carry over between images.

bootc status                # running, staged and rollback images
sudo bootc upgrade          # fetch the newest image, boot into it next time
sudo bootc upgrade --apply  # the same, and reboot now
sudo bootc rollback         # boot the previous image next time; again to undo

/var is shared by both images, so a rollback does not undo changes to your data.

The default tags (kde, gnome, ...) moved from Fedora 44 to Fedora 45, so a machine that followed one is taken to Fedora 45 by its next bootc upgrade. To stay on Fedora 44, switch to its fedora44- tag first.

OpenClaw's state in ~/.openclaw can need migrating by a new release. Before its gateway starts, the image runs openclaw doctor --fix once per OpenClaw version, after backing up each database beside itself. A rollback leaves the migrated state, which the older release refuses: stop the gateway, put each database's newest *.pre-startup-migration-*.bak back in its place, and delete ~/.local/state/agenticlinux/openclaw-doctor-version.

A failed update rolls back by itself. The new image gets three boot attempts, and if it does not come up healthy the machine returns to the previous image and does not retry the bad one; see bootguard.

Every build is also tagged <variant>-<version>, the name of a release. The version is the build's, <default Fedora release>.<date>.<run>, for the Fedora 44 variants too. Switch to one to pin it, and back to the variant's tag to follow the newest:

sudo bootc switch docker.io/ericcurtin044/agenticlinux:kde-45.YYYYMMDD.N

Nothing updates on its own by default. bootc's timer checks an hour after boot and about every eight hours after that, and reboots as soon as it finds a new image:

sudo systemctl enable --now bootc-fetch-apply-updates.timer

16k kernels

The 16k- variants are named for the kernel's page size, not the hardware, so other 16 KiB machines can follow. Each is the variant without the prefix with its kernel swapped for kernel-16k and, for Apple Silicon, the Asahi project's platform packages (firmware, m1n1 and U-Boot updaters, asahi-bless to pick the boot volume, Mesa, audio). The branding is AgenticLinux's, as for every variant. aarch64 only.

There is no installer for Apple Silicon: the Asahi installer sets up m1n1 and U-Boot, so install an atomic Fedora Asahi Remix first (guide), then switch:

sudo bootc switch docker.io/ericcurtin044/agenticlinux:16k-kde

In a VM or on an aarch64 machine with UEFI, install from the 16k ISO instead.

/home and /var carry over and the previous image stays as the rollback, so check btrfs filesystem usage /sysroot first: the image adds about 15 GB for KDE Plasma (14 GB with no desktop), and compress=zstd:1 halves that. There is no NVIDIA driver, CUDA or ROCm; the GPU is Apple's. CI builds and smoke-tests these in a container only, as it has no Apple hardware to boot.

64k kernels

The 64k- variants are named for the kernel's page size too. Each is the variant without the prefix with its kernel swapped for one with 64 KiB pages, and the NVIDIA driver built for it. aarch64 only.

Fedora has no 64k kernel (its kernel.spec turns the variant off), so CI builds one from Fedora's kernel source with kernel64k.sh: Fedora's aarch64 configuration with the page-size options that Fedora's own RT 64k kernel has, and nothing else changed. CI builds it once per Fedora kernel version, not per variant. Its modules are signed with a key made for the build, not Fedora's, so Secure Boot has to be off, as for the NVIDIA module on every image.

From a running AgenticLinux, or any bootc system, switch and reboot:

sudo bootc switch docker.io/ericcurtin044/agenticlinux:64k-kde

Or install from the 64k ISO (see Install); the installer runs on 4 KiB pages and the installed system boots its 64k kernel.

/home and /var carry over and the previous image stays as the rollback. To build one yourself, name the kernel stage, which takes hours:

docker build --target chunked --build-arg VARIANT=64k-kde --build-arg KERNEL=kernel64k \
  --build-arg BASE=quay.io/fedora-ostree-desktops/kinoite:45 -o type=tar,dest=image.tar .

CI builds and smoke-tests these in a container only: no hosted runner has the hardware, or can boot an arm64 VM.

GPUs

  • Vulkan: Mesa drivers and vulkaninfo.
  • Apple Silicon: Mesa's Asahi drivers (OpenGL, Vulkan) on the 16k- variants.
  • ROCm (x86_64): HIP runtime, OpenCL, rocBLAS, hipBLAS, hipBLASLt, RCCL, rocminfo, rocm-smi. Containers get GPU access with --device /dev/kfd --device /dev/dri.
  • ROCm on CentOS Stream is EPEL's build: HIP, rocBLAS, hipBLAS, hipBLASLt, RCCL, rocminfo, rocm-smi; EPEL has no ROCm OpenCL.
  • NVIDIA: the RPM Fusion driver with the kernel module prebuilt for the image's kernel, CUDA driver libraries and nvidia-container-toolkit registered with Docker (docker run --gpus all ...). The module is unsigned, so disable Secure Boot or enroll your own MOK. nouveau is blacklisted via kernel arguments. On CentOS Stream the driver is RPM Fusion's EL10 build, the 580 series. On aarch64 the driver is best effort: when RPM Fusion's aarch64 build is broken the image is published without it (and with nouveau), see build.sh.

Building

packages.txt lists the RPMs, build.sh does the rest, and usr/ is copied over the image. nvkectl is built by the Dockerfile's nvkectl stage from the newest NVKE release tag; pin another with --build-arg NVKE_VERSION=v0.23.1. Each variant's base image is at the top of the Dockerfile; VARIANT must match its distribution and, for Fedora, its release. The published image is the chunked target, an OCI layout that Docker only loads with the containerd image store. Enable it in /etc/docker/daemon.json:

{"features": {"containerd-snapshotter": true}}

Then:

docker build --target chunked \
  --build-arg BASE=quay.io/fedora-ostree-desktops/kinoite:45 --build-arg VARIANT=fedora45-kde \
  -o type=tar,dest=image.tar .
docker load -i image.tar   # loads it as agenticlinux:fedora45-kde

The smoke test runs in a container of the image; it pulls a small local model and runs each agent on it, so it takes a while:

docker build -f test/Dockerfile --build-arg IMAGE=agenticlinux:kde -t agenticlinux:smoke .
docker run --rm agenticlinux:smoke smoke-vm

CI also boots each x86_64 image in qemu with test/smoke.sh, which covers what needs a real boot: Docker (rootful and rootless) and podman. build.yml publishes only if every variant passes on both architectures. A fork needs the DOCKER_HUB_USER variable, the DOCKER_HUB_PAT secret, and an assets release with the logo files, which build.sh downloads from REPO_URL.

About

An agentic distro with OpenClaw, llmman, Docker Sandboxes and Docker Engine pre-installed

Resources

Stars

54 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages