Haldwani Times
Haldwani Times
Technology

hal0ai 1.8.4

hal0ai 1.8.4
Photo / Illustration: Haldwani Times Editorial Desk

Skip to main content Switch to mobile version hal0ai 1.8.4 Open-source home AI inference platform

pip install hal0ai==1.8.4 Copy PIP instructions

Open-source home AI inference platform

Stop running models from a chat tab.

hal0.dev · Install · Docs · Benchmarks · Roadmap · Discord

hal0 turns a Linux box — ideally a Ryzen AI Max+ 395 with 128 GB of unified memory — into a private, OpenAI-compatible inference appliance. Chat, completions, embeddings, reranking, transcription, speech and image generation all answer on one :8080/v1 surface, on hardware you own, with no per-token bill.

Every inference workload runs as its own podman container under a hal0-slot@.service unit. hal0-api on :8080 is the sole control plane — it owns slot state machines, dispatches /v1/* requests to the right slot port, and serves the dashboard. No shared inference daemon; no extra process to babysit.

curl -fsSL https://hal0.dev/install.sh | sudo bash New to hal0? Start with the Beginner's guide: a plain-language walkthrough from install to your first model, slots, profiles, agents and memory.

v1.8.4 is the current stable release (2026-11-29), a fix release on 1.8.0. The 1.8 line adds the agent bridge, Open WebUI's tools and shared memory, an installer component checklist, an opt-in rootless podman box, slot tune overrides, the optional halogen and xdna runners, an NPU tab and memory v3 (Hindsight 1.2.0, one Memory area, two banks, a guarded embedder switch), and it makes the Operator Board the Hermes kanban. It updates with an ordinary hal0 update from any 1.5.0 or later box; a 1.3.x or 1.4.x box steps through 1.5.0 first. Read the 1.8.0 Breaking and Migrations notes in CHANGELOG.md before you take it: hal0 agent upgrade is now sudo hal0 update component pi, approval decisions need a signed-in session or root, a slot file that still carries tuning keys refuses to launch (and hal0 update exits 2 naming it), schema migration 015 drops the retired model tuning after writing a backup, the memory embedder changes only through hal0 memory embedder switch, and an existing memory store stays on its banks until hal0 memory migrate fold-in moves it. Coming from 1.8.1 or earlier, read Upgrading to 1.8.2 as well: a box whose Open WebUI has been used needs a backup of /var/lib/hal0/openwebui before the update. Upgrading to 1.8.3 lists the llama-server flags to replace in your own profiles. Upgrading to 1.8.4 lists the slot and installer requests it now refuses. The project has followed semver since v1.0.0; a minor release's Breaking notes flag behaviour changes an operator or a script may notice. Upgrades start at 1.5.0; on anything older, read Upgrading from an older release first.

The installer is the whole setup. There is no separate setup program to run afterwards. On a terminal, install.sh shows a component checklist, asks where models should live and optionally takes a Hugging Face token. It seeds the curated slots, downloads the small hal0 brain steward model and starts the API. When it finishes, open the dashboard and assign models to slots.

If you know Ollama / llama.cpp / Open WebUI / LocalAI, hal0 adds…

Pick a channel with HAL0_CHANNEL (stable is the default; preview and nightly are the other two):

Pre-flight — systemd, Python 3.12–3.14, x86_64, a container runtime (podman preferred, auto-installed), GPU/NPU device visibility, disk space, free ports.

Code + venv — a versioned tree under /usr/lib/hal0/ with a current symlink and a shared venv.

Config — /etc/hal0/ with hal0.toml, profiles.toml (your own profiles; the seeded ones live in code), the ten curated slot seeds (agent, brain, coder, embed, flm, img, memory, qwen3tts, rerank, tts), and api.env. Only brain gets a model by default.

Hardware probe — writes /etc/hal0/hardware.json and prints the detected backends.

Brain steward model — pulls the curated lfm2.5-2.6b (LiquidAI LFM2.5-2.6B-Q8_0, ~2.87 GB, 131k context) and binds it to the brain slot, so the dashboard's steward chat and its tool calls work out of the box. On an interactive terminal only, it then offers the larger Qwen3.8 27B agent model (about 18.5 GB, size printed first, default No).

Starter image model — on a box with a ROCm lane for ComfyUI, and on an interactive terminal only, it offers the image models the API can render, each with the GB it still has to download and the pick recommended for this box's RAM (default: skip). The first model that lands becomes the img model and starts the slot; ComfyUI creates its model tree under the model store.

Service start — enables and starts hal0-api + hal0.target, the Hindsight memory engine, OpenWebUI on :3001, and the bundled Hermes agent, unless you skipped them (on a terminal a component checklist comes first; see the knobs below). Hermes builds its own immutable release under /var/lib/hal0/hermes/releases/ on a uv-managed CPython 3.14, so that step needs network access on a first install. hal0 itself needs Python 3.12-3.14; the Hindsight engine venv accepts 3.11-3.14.

Full step list and the complete env-var table: installer/README.md.

Common install knobs

Proxmox VE, one line

bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hal0ai/hal0/main/scripts/proxmox-ve/hal0.sh)" Creates a privileged Ubuntu 26.04 LXC, forwards the host's AMD GPU and NPU nodes when it has any, and runs the standard bootstrap inside it. Pass UNPRIVILEGED=1 for the narrower container. --advanced opens whiptail prompts; every parameter has an env-var override (CTID, RAM_MB, STORAGE, …). See scripts/proxmox-ve/README.md.

Bare metal is the default and what the one-liner does: bare-metal install.

Unprivileged LXC or Incus. hal0 ships no OCI appliance image: an unprivileged system container is the one wrapper, because the slots need systemd and nested podman (ADR-0050). Follow Proxmox or Incus; an unprivileged container passes the GPU and NPU nodes through too, and the Proxmox script still defaults to privileged.

A rootless podman box (opt-in, new in 1.8.0). curl -fsSL https://hal0.dev/install.sh | sudo bash -s -- --box runs the unchanged installer inside one rootless podman container under a dedicated hal0box user, with the host's hal0 command turned into a thin shim. Manage it with sudo hal0 box status|start|stop|logs|exec|rebuild. It has not been run on a true bare-metal AMD host yet; read Install in a rootless podman box before choosing it. hal0 update never moves an existing install into a box.

hal0 uninstall # prompts before deleting config + model data hal0 uninstall --purge # also wipe /etc/hal0, /var/lib/hal0, the hal0 user and images On a box install the host command is sudo hal0 uninstall (it keeps the box's data unless you pass --purge).

The dashboard is at http://:8080, the API at http://:8080/v1. Assign models from the dashboard, or from the shell:

hal0 model pull / # resumable, disk-preflighted hal0 slot load agent --model # bind a model and start the container hal0 status # system + slot summary hal0 chat --brain # terminal REPL against the steward Then point any OpenAI-compatible client at the box:

curl http://:8080/v1/chat/completions \ -H 'Content-Type: application/json' \ -d '{"model":"","messages":[{"role":"user","content":"hello"}]}' hal0 model pull streams from Hugging Face into the model registry — a disk-space preflight fails fast before a multi-GB pull, and an interrupted pull resumes via HTTP Range instead of restarting from zero. New to all of this? The Beginner's guide walks through the same steps in plain language.

The agent bridge. hal0 bridge add|list|revoke|rotate|scopes|runs admits a remote coding agent with a revocable hal0bk_ key bound to its name. The hal0-agents MCP server delegates runs to the bundled Hermes agent, hal0-memory shares memory, and hal0-admin is there only with --scope admin. ADR-0043.

Open WebUI with hal0's tools and shared memory. Every chat gets the memory and Hermes delegate tools through a managed openwebui bridge client, and the hal0_hindsight_rag Filter adds shared Hindsight chunks to Open WebUI's own RAG sources (opt-in). ADR-0049.

An installer component checklist. --no-owui, --no-comfyui, --no-hermes, --no-pi, --no-memory, --no-brain-model, --no-agents and --bare; an interactive fresh install shows a six-row checklist.

An opt-in rootless podman box. install.sh --box builds a systemd box under a dedicated hal0box user and runs the unchanged installer in it; sudo hal0 box status|start|stop|logs|exec|rebuild and sudo hal0 uninstall manage it. Bare metal stays the default. ADR-0051. The Proxmox and Incus guides cover an unprivileged LXC, which ADR-0050 makes the one container wrapper (no OCI appliance).

A per-model catalog for external providers. An upstream such as OpenRouter or OpenAI keeps one row per model, and only the models you enable route; /v1/models lists them as /. hal0 upstream models|enable|disable|refresh|probe, the matching MCP tools and /api/upstreams/{name}/models manage the rows, and an existing upstream converts to rows once its provider answers. See Connect external providers.

Slot tune overrides. A sparse [tune] table on a slot for context, thinking, reasoning effort and budget, vision and speculation, inherited from the profile when absent. ADR-0045.

The Operator Board is the Hermes kanban. /api/board/* is a live, audited proxy to the Hermes kanban plugin; hal0 keeps no board of its own. ADR-0046.

halogen, an optional external-image runner for Qwen3.8-Flash-Next on Strix Halo, pinned by digest. ADR-0047. See Run Flash-Next on halogen.

Memory v3. The Hindsight engine moves to 1.2.0; the dashboard has one Memory area (Health, Facts, Knowledge, Operations, Agents); a new install keeps memory in hal0:shared and hal0:private, and hal0 memory migrate fold-in moves an existing store there; hal0 memory embedder switch is the one way to change the embedder; coding agents write through /api/memory/compat; and hal0 decides when knowledge pages refresh. ADR-0058, ADR-0060. See Fold in memory banks.

An NPU tab and the optional xdna runner. Slots → NPU (shown when the box has an NPU or a slot lives on it) has the FLM and GGML lanes with live activity, Models and Engines & profiles; xdna runs plain GGUF models on the AMD XDNA2 NPU beside FLM, time-sliced on the shared hardware. Models → FLM lists the FastFlowLM catalogue and removes a downloaded model. ADR-0057, ADR-0059. See Run the NPU.

A new Overview page and a Models page with one catalog shell. The dashboard opens on an operator's briefing: what the box is doing, what needs you, who is working and how it performed (ADR-0044). Models has Inference Models, Image / ComfyUI, Providers, FLM and Profiles tabs.

Typed profile reasoning knobs, narrowable model and capability lists, and approval decisions that need a session or root (ADR-0048).

The dock. The console footer is now the dock: a GPU segment with the arbiter's headline, detail and the buttons that fit (click it for the gpu tab with every action and a facts grid), the slots and services pips, the update chip, a two-row ticker and a +N badge for events that arrived while it was closed. Expanded, the events tab merges journal lines with activity actions behind stream, severity, source, slot and search filters, with an export of the activity trail. The Image Gen pane's GPU status line, the top image-mode banner, the Engine tab's GPU device card and the Slots page's Activity sidebar are gone; the dock works on phones. ADR-0042.

The slot rail. On the Inference tab, every slot grouped by device with its state dot, device chip, tok/s or state, model and loaded memory; an N / M ready count that matches the dock's; a row flashes when an event for that slot lands.

ComfyUI's editor on the LAN, http://:8188, announced over mDNS; [network].comfyui_listen = "loopback" fences it again. ADR-0041.

ComfyUI runs as the hal0 account inside the img container, not as root: the slot's unit carries User=: and the sudo wrapper accepts exactly that identity, so a custom node or workflow writes the data root as hal0 and an escape lands on hal0, not uid 0. The models mount moved to /opt/hal0-models; a data root hal0 created needs nothing, one laid down under another account needs a one-time chgrp/chmod (#3066).

Upgrades start at 1.5.0. A 1.3.x or 1.4.x box runs the 1.5.0 installer in place first; hal0 update prints the command and stops.

Fixes from the 1.7 fix wave: image downloads from the current Hugging Face repos; a random image seed a browser holds exactly; render progress behind an HTTP proxy; a clean 502 when ComfyUI sends back text that cannot be serialised; hal0 update no longer claims no slots need a restart; a stopped Open WebUI stays stopped when its image upgrades; the Services page and resumed downloads no longer stall the API; approval cards show which resource a gated call acts on; hal0 doctor names a gateway remedy that works when the unit is masked.

An image-model catalog. hal0 comfyui models list|install|remove, the Image Gen tab's Models view and /api/comfyui/models install catalog models with resumable, sha256-checked downloads and remove them again. Image models leave the LLM registry (hal0 model pull no longer takes them), and /v1/images/generations renders every installed catalog model the API can render plus your own SDXL and SD 1.5 checkpoints, at the model's own size and step count unless the request or the slot's [image] table names others.

A fit check before you install or render. Every catalog model carries a memory fit for this box, the GPU pool and RAM judged at the size you pick. A render that cannot fit answers 422 image.wont_fit before any slot unloads. Memory figures come from one owner (ADR-0039), which reads a capped LXC guest's RAM limit and shows other guests on a shared GPU.

Image mode only while an image renders. Every GPU LLM slot unloads for a render and reloads about 10 seconds after the last one. A chat that arrives mid-render waits up to 120 seconds instead of failing, and a slot still loading, or one whose unload fails, never stays on the GPU beside ComfyUI.

Open WebUI images through /v1. Open WebUI's image engine points at hal0's /v1/images/generations with the box's client key, so its images get the same model, defaults and GPU switch as any other client.

The Image Gen tab: Generate, Models and Engine. A GPU status line says what the GPU is doing and what a render costs chat; Generate follows the switch phase by phase and the render step by step; Models shows install state and fit meters; Engine operates the ComfyUI container and shows its GPU gate.

ComfyUI's GPU gate has its own token, never the admin key, so images keep working with hal0 auth require on. Run hal0 slot restart img once after updating.

Hermes v0.22.4 on Python 3.14. The bundled agent moves from 0.19.0 to v0.22.4 (4d043038). Every build (install, reprovision --repair, update) produces an immutable release under /var/lib/hal0/hermes/releases/, health-checked before the current symlink flips, with a flip-back to previous if the re-check fails. See Hermes, the bundled agent.

Hermes profiles in Open WebUI. hal0 registers one pinned upstream per Hermes profile, so hermes-agent and one model per profile appear in the Open WebUI picker and in /v1/models for any OpenAI-compatible client.

Every profile gets hal0's tools and memory. hal0-admin and hal0-memory are written into each named profile as that profile's identity, with shared memory unless the profile sets hal0: {memory_private: true}.

Auth revocation. Rotating a key closes open WebSockets with code 4401 and ends SSE streams; an expired session ends its streams too.

Python 3.14 in CI. Pull requests run 3.12 and 3.14; the Hindsight engine installs on 3.14 without --ignore-requires-python.

Agent chat proxy removed. /api/agents/{id}/events, /submit and /session/* return 404; chat with Hermes happens in Hermes's own dashboard or through /v1.

Memory engine on a local slot or an upstream model. Pick it under Engine model on Settings -> Data -> Memory (also on the agents Memory tab) or run hal0 memory graph enable --model ; --local returns to the local extraction slot. hindsight-api always calls the virtual id hal0/memory, which hal0 resolves per call, so switching needs no engine restart. An Engine running row names the provider and model the engine really loads and flags an override from /etc/hal0/hindsight-llm.env. The bank description under the picker in the Memory workspace is editable in place, and bank ids may contain dots (coding-agent::ultrareview-1.4).

Terminal off stays off for Hermes side agents. With the terminal disabled hal0 also writes terminal.backend: hal0-terminal-off into the Hermes config and every wired profile, so terminal and process_manage leave every schema, including the gateway's preview-restart agent. A docker or ssh backend you chose is restored when you turn the terminal back on. Hermes logs Unknown TERMINAL_ENV 'hal0-terminal-off' every 30 s on such a box; that line is expected.

Hermes gateway awareness. From Hermes v0.22.3 the gateway owns chat for non-default profiles and hermes chat; with the unit stopped they report gateway inaccessible. Run sudo systemctl enable --now hermes-gateway. New hal0 doctor all rows: Hermes gateway unit (fails when the unit file is missing or an unmanaged gateway run --idle-exit runs) and API journal read; the hermes-api row warns instead of failing when you turned the gateway off.

sudo hal0 update component pi (sudo hal0 agent upgrade pi in 1.6.0) reruns the pinned pi installer and redeploys hal0's two extensions, leaving your own extensions, provider, model and theme alone.

Upgrade floor is 1.4.0. A 1.3.x box steps through 1.5.0 first, then updates again. See Upgrading from an older release.

Speculative decoding drafters. A model can carry a drafter file (DFlash, EAGLE-3, LiLiCorr) that proposes tokens the main model checks in one pass. Add from Hugging Face lists companion drafters and fit-checks the pair before anything downloads; from a shell, hal0 model pull --draft does the same. The profile speculation field (auto, off, ngram) replaces mtp. See Speculative decoding: drafters.

Per-lane device pinning. The slot passes --device to llama-server (ROCm0, Vulkan0, CUDA0 or none).

Runner images on llama.cpp b11716 for standard, cpu and cuda.

Add from Hugging Face lists quants, not files, and the model pickers are compact.

Breaking changes, migrations and known issues for every release are in CHANGELOG.md.

Point your editor at your own box. Aim any OpenAI-compatible client at http://:8080/v1 — Claude Code, Cline, Continue, an SDK, a cron job. A dedicated coder slot can serve your editor while the agent slot serves chat, each on its own container, model and flag set.

Retrieval grounded on your data. Embeddings and reranking are first-class slots, not an afterthought: /v1/embeddings and /v1/rerank run on the same box as chat, and the bundled Hindsight memory engine turns conversations into recallable facts behind an MCP server.

Speech and images on the same control plane. Transcription (/v1/audio/transcriptions), speech (/v1/audio/speech) and image generation (/v1/images/generations, /v1/images/edits) are the same API, the same auth posture, the same dashboard — no second stack to operate.

Not another llama-server wrapper. Every workload is a real systemd-managed slot with a typed lifecycle, persisted state (/var/lib/hal0/slots//state.json), SSE status streaming, per-slot journald logs and a GPU arbiter that keeps image generation from stealing the iGPU out from under a streaming completion.

Strix Halo native, but not Strix-Halo-only. The probe is UMA-aware on Strix Halo and falls back to portable parsers (/proc/cpuinfo, /proc/meminfo, lspci) everywhere else. platform on /api/hardware resolves to one of strix-halo, wsl2, lxc, proxmox-kvm, kvm, bare-metal-{nvidia,amd,intel}-gpu or bare-metal-cpu-only, and the dashboard only labels memory "unified" when it actually is. Slot-fit warnings size against the real unified pool, not a BAR carve-out.

NPU multi-role via the FLM trio. On Strix Halo with FastFlowLM installed, a single FLM process inside the hal0-runner-flm container hosts chat + transcription + embedding concurrently on one AMDXDNA hardware context — ~2 GB NPU memory, gemma3:1b at ~38.6 tok/s + Whisper-V3-Turbo + Embedding-Gemma all coresident. hal0 exposes this as one seeded flm slot (chat-first) whose [npu] table — or the dashboard's NPU drawer — toggles ASR and embed on the running flm serve. The host-side FLM .deb is installed for device-sanity probes only; inference runs in the container. See docs/concepts/strix-halo.mdx.

Faster replies, same answers. Pair a model with a drafter and hal0 fit-checks it before download, reports a drafter the runner image is too old for instead of failing the launch, and shows the acceptance rate per slot.

An agent that lives on the box. The hal0-brain steward drives the platform from the dashboard's top bar, and Hermes/Pi install as real services prewired to the local API and MCP servers.

Reliability bar. Atomic env-file writes. Schema-validated TOML. Structured error envelopes ({"error":{"code":"slot.not_ready",...}}). Cosign-verified self-update with one-flag rollback. Priority-ordered concurrency with active-inference protection — a serving slot cannot be evicted out from under a streaming request. Privileged operations run through an allow-listed root seam, never a free-form shell.

Numbers below are from the public leaderboard at hal0.dev/benchmarks — 26 models measured end to end on the reference box (AMD Ryzen AI Max+ 395, Radeon 8060S iGPU, 128 GB LPDDR5X, ROCm 7.2.4), rocm lane, decode and prefill throughput plus TTFT, speculative accept rate, memory, watts and temperature per run.

Concurrency and non-LLM lanes, same box:

Benchmarking is a first-class subsystem, not a spreadsheet: hal0 bench plan|run|results|eval|bundle|upload drives llama-bench/llama-server under a record schema with a dedup identity key, an in-dashboard Benchmarks page (roster / runs / evals / run-queue), and regression journaling. Results never leave the box on their own — hal0 bench bundle writes a content-addressed, host-redacted archive you can attach anywhere, and hal0 bench upload publishes one only when you type it. See docs/reference/model-roster-benchmark.mdx.

OpenAI-compatible /v1/* API — chat, completions, embeddings, rerank, audio transcriptions, audio speech, image generations, image edits, models. Drop-in for any OpenAI SDK; point your client at http://localhost:8080/v1 and go.

Slots — each named target carries a type (llm | embedding | reranking | transcription | tts | image), a device (gpu-rocm | gpu-vulkan | gpu-cuda | cpu | npu), a model, plus autoload, an eviction priority and an optional default. Ten curated slots (agent, brain, coder, embed, flm, img, memory, qwen3tts, rerank, tts) are seeded into /etc/hal0/slots/.toml on install and each gates on its own runtime validation at load time — the flm NPU slot simply stays grey without FastFlowLM hardware. Add your own with hal0 slot create NAME --type TYPE --model MODEL. A deliberate hal0 slot delete is tombstoned, so re-running the installer never resurrects it.

Profile owns the tune — a profile is the whole launch tune (llama-server flags, context window, thinking default, vision, speculation); the model holds only facts about its file and the slot holds placement (device, layers, threads, port) plus which model and profile it uses (ADR-0029). A slot can override a few fields in a sparse [tune] table (context, thinking, reasoning effort and budget, vision, speculation; ADR-0045).

Container runtime — every slot runs as its own podman container under hal0-slot@.service, bound to a loopback port (8081–8099 + fixed seeds). hal0-api on :8080 is the only control plane. See docs/concepts/architecture.mdx.

Hardware-aware probe — detects GPU / NPU / unified memory, writes /etc/hal0/hardware.json, and surfaces VRAM/RAM fit warnings inline in the slot form and during install.

Dispatcher — registry-aware routing, single-flight, cold-cache prefetch, and upstream fallback (OpenRouter, Anthropic, OpenAI, Google AI Studio, Ollama, custom OpenAI-shaped endpoints). A remote provider serves only the models you enable on it, requested as / or a bare id. Mix local + remote per-model in one config.

Dashboard — React 19 + Vite UI for slot/model management, hardware-aware configuration, live logs, system health and a built-in chat page (popout window + reasoning toggle). SSE-backed status and log tail; a Journal panel streams per-slot container logs from journald. Live telemetry — Power & Thermal (GPU clock/temp/power) and per-slot throughput — is on by default. The Overview page is the operator's briefing, the Slots page has Inference, Image Gen, NPU (when the box has one), Endpoints, Runner Images and Stacks tabs, and the Models page has Inference Models, Image / ComfyUI, Providers, FLM and Profiles tabs. The Image-Gen tab has Generate, Models and Engine sub-tabs: it generates, installs image models with a fit meter for this box, shows what a render costs chat, and operates the ComfyUI container. The top bar's Chat | Image toggle holds image mode (pinning the iGPU for generation, with a confirm) and stops it (with a confirm before it drops a running render); the status and the other controls are in the dock.

The dock — one status strip on every page: GPU/image-mode state and controls, slot and service health, downloads, and the live journal + activity feed

Slot rail — every slot's state beside the Inference pane

Memory area — one top-level Memory page (Health, Facts, Knowledge, Operations, Agents) over the bundled Hindsight engine, shown while memory is enabled. New installs keep memory in the hal0:shared and hal0:private banks.

Operator Board — the Hermes kanban, reached from the sidebar Services zone (or ⌘B); /api/board/* is a live proxy to it and needs Hermes installed.

AI Capabilities page — one settings surface for TTS, STT, embeddings, reranking, image generation and the NPU, with per-panel probe-failure surfacing instead of a silent grey Save.

Stacks — declarative, runtime-switchable model/slot layouts. A StackConfig is planned into a change set, applied atomically (with rollback) and converged against the live slot set; drift is detected by content hash. Stacks export/import via a checksummed .hal0stack.json envelope, and a live config can be snapshotted back into a Stack.

OmniRouter (8 tools) — generate_image, edit_image, text_to_speech, transcribe_audio, analyze_image (vision), embed_text, rerank_documents, route_to_chat. Dispatched client-side from any chat slot whose model carries the tool-calling label, and filtered per request — a tool only appears in the prompt if its target slot is enabled and its model carries the required labels.

Image generation, day one — POST /v1/images/generations via ComfyUI in the img slot container (ROCm), from a catalog of image models you install from the dashboard, hal0 comfyui models install or the installer. The installer seeds the img slot; the ComfyUI provider creates its model tree under the model store when the slot starts.

Atomic self-update with rollback — hal0 update --channel stable|preview|nightly. Cosign-verified tarballs swap a /usr/lib/hal0/current symlink; --rollback reverts. Staging happens in a root-only directory with the authenticated digest pinned to the very file object the archive is extracted from.

Agents, MCP, and the brain steward

hal0 ships three MCP servers and two bundled agents. The MCP servers (/mcp/admin for slot / model / capability / config / hardware / log admin, /mcp/memory for Hindsight-backed long-term memory, /mcp/agents — the hal0-agents server — for delegating runs to Hermes) are reachable by any MCP-speaking client — Claude Code, RAG services, your own scripts. /mcp/admin is ADMIN-tier; /mcp/memory is CLIENT-tier as of 1.0, so a memory-only agent does not need the platform-admin key; /mcp/agents takes a bridge client key from hal0 bridge add (or the admin key). The bundled agents are Hermes-Agent (service shape, via the hal0-owned hermes wrapper — hal0-hermes remains a back-compat symlink — connecting to hal0-api at HAL0_INFERENCE_BASE=http://127.0.0.1:8080) and pi (CLI shape, from @earendil-works/pi-coding-agent on npm), and both can be installed side by side. Install either with hal0 agent install . Destructive MCP calls (model_pull, slot_delete, config_write, …) gate through a header bell + inbox modal in the dashboard, with CLI parity via hal0 agent approvals {list,approve,deny} (deciding needs sudo or a signed-in session; a bare API key gets 403 auth.forbidden, ADR-0048).

The hal0-brain steward is a third, built-in persona wired to the dashboard's top-bar agent chat — no install step. It drives the platform through the full hal0-admin catalog (models, slots, stacks, profiles, settings, upstreams, benchmarks) under a per-persona tool policy: tools_allowed hides tools, require_approval tightens them, and a POLICY_NO_LOOSEN floor keeps destructive and secret-bearing tools (*_delete, config_write, provider_credential_write) always gated — no persona edit can disarm them. Gated calls pause the turn for inline approve/deny. A [brain_chat] config gives operators a hard kill switch, a read-only mode, loop-budget knobs and a slot override (run the steward on any slot, e.g. hal0/npu) from Settings → Agent Chat. The seeded brain model is a native tool-caller, so the steward executes its own calls on the brain slot out of the box. Binding a larger model to the agent slot is the optional upgrade path: [brain_chat] tool_model (default hal0/agent) runs tool rounds there while chat stays on the brain slot, so a runner that cannot emit parseable tool calls reroutes instead of failing the turn. Set it to off, none or disabled to route tool turns nowhere.

Hermes, the bundled agent

Hermes is the service-shape agent: it runs as hal0-agent@hermes.service under the unprivileged hal0 user, pinned to one reviewed upstream commit (v0.23.3, caafe538), and talks to hal0-api for inference, tools and memory. hal0 agent install hermes installs it.

Immutable releases. Each build (install, reprovision --repair, update) lands in /var/lib/hal0/hermes/releases//, runs on a uv-managed CPython 3.14, and is checked (imports, hermes --help, an MCP probe) before current flips. Activation stops the agent and gateway, switches, migrates the Hermes config and restarts; a failed re-check flips back to previous with config.yaml restored. Sessions are kept (sessions.auto_prune: false).

Updates are vetted commits. hal0 update component hermes --target <40-hex sha> accepts only a commit listed in VETTED_HERMES_REFS; version strings are refused. The override stays until --clear-override.

Profiles show up in Open WebUI. hal0 registers one pinned, read-only upstream per profile that has an API key: hermes for the default profile and hermes. for the rest. /v1/models lists hermes-agent plus one model id per served profile, so Open WebUI, Cline or a curl call can pick one. The request body is forwarded untouched, streaming or not, and a Hermes model never falls back to a slot: if the upstream is down you get dispatch.upstream_unavailable (502).

hal0 tools and memory in every profile. hal0 writes the hal0-admin and hal0-memory MCP servers into each named profile, with shared memory by default. Opt a profile out with hal0: {wire_mcp: false}.

Approvals in the dashboard. Gated tool calls from any profile land in the dashboard inbox, same as the other agents.

The Operator Board. The Hermes kanban is the Operator Board (ADR-0046); hal0 doctor all has hermes-kanban, hermes-dashboard-token and hermes-session-token-pin rows for it.

Delegation. [hermes] delegation_slot in /etc/hal0/agents/hermes.toml picks the slot that delegate_task children run on (default agent).

Desktop pairing. hal0 agent dashboard-token hermes prints the dashboard session token, which is minted once per install, so a Hermes Desktop remote pairing survives restarts.

Doctor rows. hal0 doctor all checks hermes-api (upstream registration), hermes_profiles_mcp, hermes_generation, hermes_delegation_slot and hal0_linger.

Tip for Open WebUI: set its task model to a plain slot model so chat titles and tags do not spend agent turns. Setup details are in docs/guides/open-webui.mdx.

See docs/concepts/agents.mdx, docs/reference/mcp-tools.mdx and docs/guides/run-agents.mdx.

Each capability runs in its own container, supervised by hal0-slot@.service. Two things compose to launch a slot: the runner image (slot-owned — binary plus the optional image_pin; each runner's image is pinned in manifest.json) supplies the engine, and the profile in the catalog supplies the bench-tuned flag bundle. Profiles are device-agnostic tune templates; they no longer carry an image.

A device also has a default profile it resolves to when a slot names none — gpu-rocm, gpu-vulkan and gpu-cuda resolve to chat, cpu to cpu-chat, npu to flm. The seeded slots override that where it matters: agent ships on agent, coder on coding, brain on brain, memory on memory, embed on embedding, rerank on reranking, flm on flm, tts on kokoro, qwen3tts on qwen3-tts and img on comfyui.

The seeded profile catalog is virtual — it lives in code (SEED_PROFILES) and is overlaid on every load, so a re-tuned seed reaches every install on upgrade instead of being frozen by a stale on-disk copy. /etc/hal0/profiles.toml is for your profiles: chat, agent, utility, memory, coding, brain, embedding, reranking, cpu-chat, flm, kokoro, moonshine, qwen3-tts, comfyui, halogen and xdna are immutable seeds you clone under a new name to customize. A profile may also name its own runner (halogen and xdna do); every other seed leaves the runner to the slot's binary.

voice.stt switches Moonshine (CPU) ⇄ FLM's whisper-v3:turbo (NPU) and voice.tts switches Kokoro (CPU) ⇄ Qwen3-TTS (GPU) without reconfiguring the slot. There is no GPU STT engine — a GPU device resolves to none rather than silently borrowing a chat profile.

Every seeded chat profile requests -fa auto, so Flash Attention is probed at startup and falls back cleanly when it cannot be scheduled on its layer's device. A model with a measured win from forcing it can set -fa on in its own defaults.extra_args.

The NPU path is opt-in: the installer places a FastFlowLM .deb on the host (SHA-pinned per distro — Ubuntu 24.04/25.10/26.04 and Debian 13) for device-sanity probes (flm validate); inference runs inside the hal0-runner-flm container. With FLM present the installer seeds the flm slot, and the NPU trio activates once flm validate passes. The optional xdna runner runs plain GGUF models on the same NPU instead of FLM's curated list; the two share the hardware, and the NPU tab asks before it swaps one for the other (Run the NPU).

Speculative decoding: drafters

A drafter is a small file that proposes the next few tokens so the main model can verify them in one pass: same output, faster replies. It pairs with one model, the way a vision projector does.

Get one. In the dashboard, Add from Hugging Face lists companion drafters (-LiLiCorr, -DFlash, -DFlash2, -DSpark, -EAGLE3, -draft) and checks the fit from the two file headers before anything downloads. From a shell:

hal0 model pull --draft [--draft-repo ] hal0 model add --draft hal0 model set --draft # none unpairs

Choose when it runs. The profile's speculation is auto (a paired drafter if the runner image can run it, else the model's own MTP heads, else nothing), off, or ngram (llama.cpp n-gram lookup, no extra file).

No crash on a mismatch. A drafter the runner image is too old for (LiLiCorr needs llama.cpp b11669 or newer) is reported on the slot instead of failing the launch, and each slot reports its draft acceptance rate.

What to expect. On one Strix Halo box, a 74B-A9B MoE model paired with its LiLiCorr drafter decoded about 1.6x faster with identical output. Speedup depends on the model, the drafter and the prompt, and a drafter that predicts poorly gains little. The slot's acceptance rate tells you whether a pairing is paying off.

Details: Drafters and Speculation in profiles.

For the container-runtime operator reference — service layout, slot TOML fields, profiles, GPU arbiter and day-2 commands — see docs/concepts/architecture.mdx and docs/guides/manage-slots.mdx.

Linux + systemd is the only hard requirement (installer/lib/preflight.sh, preflight_systemd). macOS and Windows are not in scope for v1.

hal0 status # system + slot summary hal0 slot list # every slot, state, port, bound model hal0 slot load agent --model # bind + start hal0 slot unload agent # stop without unbinding hal0 slot restart agent hal0 model list # the registry hal0 update --check # is there anything newer? Services and logs:

systemctl status hal0-api systemctl list-units 'hal0-slot@*' journalctl -fu hal0-api journalctl -fu 'hal0-slot@*' systemctl restart hal0-slot@agent # restart a wedged slot container Auth posture

hal0 ships built-in login, sessions and a deny-by-default route classifier, with three tiers — anon → client → admin. There is no per-user account system: a browser session is always admin-equivalent, and programmatic callers use Authorization: Bearer (or ?api_key= for WebSocket upgrades) against an admin or client key.

Auth ships off by default. A fresh v1.0 install is trusted-LAN-open — the right posture for a homelab appliance — until an operator turns enforcement on:

hal0 auth rotate admin # mint an admin key into /etc/hal0/api.env hal0 auth require on # enforce; takes effect on the next request hal0 auth status # show the current posture hal0 does not terminate TLS or manage a user directory. If it is reachable from anything you don't physically control, front it with a reverse proxy that owns TLS — Traefik, nginx, Cloudflare Tunnel. Note that the optional OpenWebUI companion is a second listener on :3001 that this auth model does not cover. See docs/operate/auth.mdx and docs/concepts/security.mdx.

Proxmox integration (optional)

If hal0 runs inside a Proxmox LXC, the container only sees its own cgroup slice of memory — other tenants, ZFS ARC and the host kernel draw from the same physical DIMMs as GPU GTT but are invisible from inside. To surface that, give hal0 a read-only PVEAuditor API token: PUT /api/settings/proxmox (with host, user, token_name, token_value, optional port and verify_ssl) or write /etc/hal0/proxmox.json yourself. POST /api/settings/proxmox/test checks a candidate without saving it. The unified-memory bar then swaps to the physical host's DIMM total and adds a muted "Proxmox host" segment for other-tenant + kernel pressure. The token is sensitive, stored 0600, and never echoed back by the API. Bare-metal and VM installs leave it off. The dashboard has no settings panel for it today.

Start here: hal0 doctor

hal0 doctor with no subcommand re-runs the installer's own pre-flight battery against the live host (systemd, Python, container runtime, GPU/NPU device visibility, disk, ports) and exits with the script's own status code, so it composes: hal0 doctor && hal0 status.

hal0 doctor # re-run installer pre-flight hal0 doctor --plain # ASCII-only output (for logs / CI) hal0 doctor --ports "8080 3001" # override the port-collision check list hal0 doctor all is the one to reach for when something is wrong but you don't know where. It is strictly read-only and rolls every surface up into one verdict:

hal0 doctor all # human table hal0 doctor all --json # same rows as JSON It composes the doctor verify report card (API, runners, DNS, capability slots, memory, OpenWebUI, Hermes) with auth posture, secret-file modes, model-store integrity, pending migrations, bound slot ports, the hal0.target boot anchor, the MCP mount probes and the privileged sudo seams. Exit codes: 0 clean, 1 an actionable failure, 2 critical (API unreachable, or zero healthy runners). Every failing row names the follow-up command.

Those follow-ups, and what each one is for:

--json on perms and models implies audit-only — --fix is ignored under it. Both emit stable Diagnosis JSON (HAL0-PERMS-*, HAL0-MODEL-*) so you can gate a script on a specific finding.

Two more read-only evidence commands:

hal0 system-info # host / GPU / NPU / runtime evidence hal0 ports # port claims across the box Install troubleshooting

✗ pre-flight failed: port 8080 is already in use. Find the squatter with lsof -i :8080, then either stop it or move hal0:

HAL0_PORT=9090 sudo bash installer/install.sh After changing the port, update /etc/hal0/api.env and /etc/hal0/openwebui.env to match, then systemctl restart hal0-api hal0-openwebui.

✗ pre-flight failed: less than 20GB free in /var/lib — free space or redirect model pulls to a bigger disk:

sudo bash installer/install.sh --models-dir=/mnt/large-disk/hal0-models The installer records this under [models].pull_root in /etc/hal0/hal0.toml, so subsequent hal0 model pull calls honor it too.

Python too old. hal0 needs 3.12–3.14. Let the installer provision one: HAL0_PY_AUTOINSTALL=1 (installs python3.12), or point it at an interpreter you already have with HAL0_PYTHON=/usr/bin/python3.12. The Hindsight engine venv takes 3.11–3.14; with none present the installer skips it for that run and names HAL0_HINDSIGHT_PYTHON. Hermes does not use hal0's interpreter: from 1.6.0 it gets its own uv-managed 3.14 (override with HAL0_HERMES_PYTHON).

No container runtime. install.sh sets HAL0_CONTAINER_REQUIRED=1 and auto-installs podman via the detected package manager — if that is not possible it hard-fails with the exact one-liner for your distro. A box that finishes without a runtime would have every slot dead, which is why this one is fatal during install and only a warning under hal0 doctor.

GPU/NPU devices not visible inside an LXC. Pre-flight prints the exact Proxmox dev0/gid fix. CPU-only is a valid install and never blocks.

The hermes step failed on a fresh box. First-boot installs can lose the dpkg lock race to unattended-upgrades (#1584). The step degrades gracefully — re-run it afterwards:

hal0 agent install hermes From 1.6.0 the Hermes build also needs network access (it fetches a managed Python and the pinned release); offline, it refuses and leaves the live release running. hal0 doctor all names the failing Hermes row (hermes-api, hermes_profiles_mcp, hermes_generation, hal0_linger, hermes-gateway-unit).

hal0 doctor: AMDXDNA NPU detected but FastFlowLM not installed. The host-side sanity probe wants the FLM .deb. If you installed on a non-NPU host and later added the hardware, re-run installer/install.sh to pick up the prerequisite. If flm validate fails because libxrt-npu2 is unavailable from your apt sources, the NPU container slot still works — it bundles its own XRT runtime.

systemctl status hal0-slot@ journalctl -u hal0-slot@ -n 60 hal0 doctor profiles # dangling profile ref? un-pulled image? Usual causes: the runner image hasn't been pulled yet (the first load blocks on a multi-GB pull — watch the journal), the model named in /etc/hal0/slots/.toml isn't in the registry (hal0 model list), or the GPU is held for img: the dispatcher returns 503 gpu.image_mode while a pin holds image mode (unpin it, or switch to inference with force), when ComfyUI's queue cannot be read, or after a request has waited 120 seconds for the GPU. Without a pin, image mode ends about 10 seconds after the last render, and a request for a GPU slot waits for that instead.

Something bound the port but nothing answers on it. That is usually a stale netavark DNAT rule left by a container that died badly:

hal0 doctor ports # audit hal0 doctor ports --fix # prune the stale rules Update troubleshooting

hal0 update # check + apply if newer hal0 update --check # check only, apply nothing hal0 update -y # skip the confirmation prompt hal0 update --channel preview # persist a channel, then check hal0 update --target 1.0.0 # require the manifest to match exactly hal0 update --rollback # restore the previous tree hal0 update --restart-slots # bounce only slots still on the old launch command The CLI is a thin client over /api/updates/* — the swap happens in the daemon, so the same code path runs whether you update from the shell or the dashboard. After a successful apply the daemon try-restarts hal0-api itself.

hal0 supports upgrades from >=; this box is on (system.update_upgrade_path_unsupported) — the box is below the upgrade floor. See Upgrading from an older release.

Something is wedged after an update. Roll the tree back, then look:

hal0 update --rollback hal0 doctor all Rollback restores the previous tree from /var/lib/hal0/hal0.previous. Config and state are not rewound — schema migrations are forward-only. Treat rollback as a way to get serving again quickly, not as an undo.

Slots still running the pre-update launch command. By design, an update never bounces a slot on its own. Converge them when you're ready:

hal0 update --restart-slots Filing a bug

hal0 doctor bundle Writes a new ./hal0-doctor-bundle---/ directory and prints its path. It holds system, config, diagnostics and logs, with every config dump redacted (SECRET / TOKEN / PASSWORD / API_KEY / PRIVATE_KEY / ENCRYPTION_KEY / SALT-named keys). It is read-only and never uploads anything: tar czf it and attach it yourself. Exit 1 means some probe commands failed — see commands.tsv inside. --out

must name a new directory or an empty one you own.

The bundle is private: the directory is 0700 and every file in it 0600. One made with sudo is owned by root, so archive it with sudo tar czf, or sudo chown -R "$USER" it first.

Upgrading from an older release

Upgrades to 1.7.0 start at 1.4.0; the releases after 1.7.0 start at 1.5.0. hal0 update on an older box stops before it downloads anything, and re-running the installer over an older install stops before it changes anything. A box on 1.3.x or 1.4.x steps through 1.5.0 by running the 1.5.0 installer in place, which keeps /etc/hal0 and /var/lib/hal0, then updates again. hal0 update --target cannot make that hop: it only pins the version the channel serves now, not an older release.

Or reinstall from scratch with sudo bash installer/uninstall.sh --purge, which deletes /etc/hal0 and /var/lib/hal0, models included, followed by the normal one-liner.

1.8.0 follows the same hal0 update path from any 1.x box at 1.5.0 or later. Before you take it:

A 1.3.x or 1.4.x box steps through 1.5.0 first. hal0 update stops before it downloads anything and prints the installer command for 1.5.0; run that, then update again.

Fix any slot file that still carries tuning keys. Such a slot now refuses to start with slot.unconverted (422), hal0 update lists the file and exits 2, and hal0 doctor profiles fails on it. Delete the keys from the slot file, put their values on a profile (hal0 profile create), and name it with profile = ""; hal0 config validate confirms the file loads. hal0 profile migrate is removed.

An existing install stays as it is. The rootless podman box is an opt-in for a fresh install (install.sh --box); hal0 update never moves an install into a box, and there is no converter yet.

Approvals need a session or root. Script decisions with a signed-in session (POST /api/auth/login) or sudo hal0 agent approvals approve|deny ; a bare API key gets 403 auth.forbidden.

hal0 agent upgrade is now sudo hal0 update component pi. A plain hal0 update never re-pins Pi, and Pi's hal0-memory server is refused (403 bridge.client_name_reserved) until you run it once.

hal0 mcp add and hal0 mcp remove are gone. Use hal0 mcp install and hal0 mcp uninstall.

Point coding agents at /api/memory/compat. Mint a key with hal0 bridge add --scope memory, then run hal0 memory agents install --bridge-key-file ; the Memory area's Agents tab shows the steps.

The board needs Hermes. Cards in the old hal0 board migrate into the Hermes kanban at the first board request (or export to board-legacy-export-.json when Hermes is not installed). Unset HERMES_SESSION_TOKEN in /etc/hal0/api.env.

A pre-015 backup is written. Schema migration 015 drops the retired model tuning; when any of it holds a value, hal0 first writes /var/lib/hal0/backups/hal0-pre-015-.db. Rollback to 1.7.x still works.

The memory engine moves to Hindsight 1.2.0. The upgrade copies .pg0 to .pg0.pre-1.0.0 and needs 1.5 times its size free.

An existing memory store keeps its banks and embedder. Nothing moves until you run sudo hal0 memory migrate fold-in --apply (dry run without --apply); hal0 memory embedder switch is a separate, optional step. Saving a different embedder in hal0.toml no longer changes it.

Behind a reverse proxy, set HAL0_OPENWEBUI_PUBLIC_URL and HAL0_COMFYUI_PUBLIC_URL in /etc/hal0/api.env; the dashboard no longer links :3001 and :8188.

1.7.1 follows the same hal0 update path from any 1.x box at 1.5.0 or later. Before you take it:

Run hal0 slot restart img once for the LAN editor. The running ComfyUI container keeps the loopback bind it started with, so http://:8188 is refused from other machines until the engine restarts. If you want the editor fenced to the box, set [network].comfyui_listen = "loopback" in /etc/hal0/hal0.toml first.

The GPU's controls moved to the dock. Hold, keep, unpin and stop image mode live in the dock's GPU segment and gpu tab on every page; the Engine tab keeps Restart engine and Logs. The Activity sidebar's records are in the dock's events tab.

ComfyUI drops to the hal0 account. The same hal0 slot restart img switches the running container to the hal0 identity. If the ComfyUI data root (/var/lib/hal0/models/comfyui by default) was laid down by hand under another account or on a share, make its output, input, user and custom_nodes directories writable by hal0 first, as root: chgrp -R

&& chmod -R g+ws . A data root hal0 created is already hal0:hal0 2775; until the fix, a render fails at SaveImage with Permission denied and hal0-api logs comfyui.data_dir_not_writable with the command.

1.7.0 follows the same hal0 update path from any 1.x box at 1.4.0 or later. Before you take it:

Run hal0 slot restart img once after the update. hal0 update does not restart slots, and the running ComfyUI container keeps the 1.6.x GPU gate until it restarts. That gate lets a prompt through when hal0-api is unreachable or refuses it (as it does with auth enforcement on), so an editor prompt can render next to the LLM slots.

Install image models from the catalog. hal0 comfyui models list shows what is installed, the GB still to download and the pick recommended for this box; hal0 comfyui orchestrate-models and the image ids in hal0 model pull are gone, and the GGUF image models SD-Turbo-GGUF and Flux-2-Klein-9B-GGUF cannot be installed again.

Image mode no longer holds for an hour. [image].idle_restore_minutes is removed from slot files on update; pin image mode from the Image Gen tab or the API to hold the GPU for ComfyUI's editor.

Toggle the Discovery card once on the Services page if the box announced services before: that clears ComfyUI's old mDNS announcement.

1.6.0 follows the same hal0 update path from any 1.x box at 1.4.0 or later. Four things to know before you take it:

Hermes rebuilds once, with a short outage. The first update builds a Hermes v0.22.4 release on a uv-managed Python 3.14 next to the live 0.19.0 one, stops the agent and gateway, switches, and restarts. A box that cannot reach the network refuses the build and stays on 0.19.0. hal0 update also regenerates the gateway unit and enables systemd linger for the hal0 user.

Run one repair if hermes-agent is missing from Open WebUI. On a box where Hermes was installed before 1.6.0, run sudo hal0 agent reprovision hermes --repair once so the default profile's API key is mirrored and hermes-agent appears in the picker. hal0 doctor reports this on the hermes-api row.

Rolling back to 1.5.x leaves the Hermes build failing (Hermes Python must be exactly 3.12) until you update forward again. Do not edit /etc/hal0/hermes-python.env to 3.12 on 1.5.x.

Profile chat needs the gateway. With Hermes v0.22.4 a chat opened for a non-default profile (such as hal0-brain) in Hermes's dashboard, and the hermes chat CLI, attach to hermes-gateway.service and report gateway inaccessible while it is stopped. Run sudo systemctl enable --now hermes-gateway. Once v0.22.4 is live, hal0 update component hermes --target d923a5eb... is refused as a downgrade.

The agent chat proxy is gone: /api/agents/{id}/events, /submit and /session/* return 404.

Migrations left to you

Everything else — schema migrations, the config-load repairs, and the runner-system conversion (hal0 runner-images migrate, which archives every file it changes under /var/lib/hal0/backups/ first; see Manage runner images) — runs itself. Full breaking-change, migration and known-issue detail is in CHANGELOG.md.

hal0/ ├── src/hal0/ # Python package (FastAPI API + capability layer + ContainerProvider + CLI) │ ├── providers/ # ContainerProvider, FLMProvider, ComfyUI, etc. │ ├── slots/ # slot manager, state machine, GpuArbiter │ ├── runners/ # RUNNER_IMAGES — the runner-image registry │ ├── bench/ # benchmark planner, runner, store, publish │ └── omni_router/ # client-side tool-calling loop + tool definitions ├── ui/ # React 19 + TypeScript + Vite + Tailwind 4 dashboard ├── installer/ # install.sh (writes /etc/hal0/, systemd units, hal0-api.service) │ ├── etc-hal0/ # curated slot seeds + operator profiles.toml │ └── systemd/ # hal0-agent@ template units ├── tests/ # pytest suite (α unit, γ release-gate, δ harness) │ └── release-validation/ # versioned RC validation kit (lanes, regressions, boxes) ├── docs/ # user docs (mirrored to hal0.dev/docs) + docs/adr/ The model catalog lives in the SQLite registry in /var/lib/hal0/hal0.db — the single source of truth for HuggingFace coordinates, SHA-256 digests and curated filenames. Per-leaf symlinks under the models directory redirect to a separate storage volume when one is in use.

Quick start (development)

# backend python -m venv .venv && source .venv/bin/activate pip install -e ".[dev]" hal0 serve --reload # frontend cd ui npm install npm run dev The API lives at http://127.0.0.1:8080, the dashboard at the Vite dev server URL (usually http://127.0.0.1:5173).

No dates — items are direction. The closer to the left, the closer to running on your box. Full version at hal0.dev/#roadmap.

Per-slot podman containers — every inference workload in its own hal0-slot@.service; ContainerProvider + the runner-image registry replaced the single-daemon model

hal0-brain steward — top-bar agent chat driving the hal0-admin catalog under a per-persona tool policy, pausing turns on gated tools for inline approve/deny

Profile-owned tuning (1.4) — a profile is the whole launch tune; the model holds file facts and the slot holds placement, with an optional sparse [tune] override on the slot (1.8)

Slot autoload + eviction priority — binding a model no longer implies a boot start, and pressure eviction orders by priority instead of an opt-in nobody set

Stacks — declarative model/slot layouts applied atomically with rollback, drift detection and a portable export envelope

In-dashboard benchmarks — the hal0.bench engine, /api/benchmarks, a Benchmarks page (roster / runs / evals / run-queue), shareable bundles and leaderboard publishing

Upstream model controls — external providers (OpenRouter, Anthropic, OpenAI, Google AI Studio, Ollama, custom) with reactive CRUD, a per-model catalog where only enabled models route, a probe, and an enabled kill switch across CLI, MCP and API (the dashboard adds, tests and lists them)

Companion services, one surface — Open WebUI, ComfyUI, Hermes and Hindsight from a dashboard Services page with mDNS discovery

FLM trio NPU packing — chat + ASR + embed coresident on one AMDXDNA hardware context, toggled from the slot TOML's [npu] table

GpuArbiter exclusive image mode — ComfyUI gets the iGPU to itself; LLM GPU slots pause and resume automatically

OmniRouter client-side tool-calling — 8 tools, dynamic per-request filtering, route_to_chat cross-slot delegation

GPU generalization — experimental CUDA and per-slot gpu_index pinning for multi-GPU hosts alongside the ROCm/Vulkan defaults

Built-in auth — three tiers, deny-by-default route classification, key rotation and enforcement toggling from CLI or dashboard

Privileged-seam hardening — the root wrapper allow-lists the content of every unit, drop-in and quadlet it writes; update staging is root-only with the verified digest pinned to the extraction handle

Installer-owned first-run provisioning — install.sh is the single entry point: curated slot seeds, brain steward pull, service start

One model catalog (the SQLite registry), slot-state Prometheus + EventBus journal, hal0 mcp CLI with two-way MCP, cosign-keyless self-update with rollback, bundled agents (Hermes-Agent / pi)

Speculative decoding drafters (1.5) — a model carries a drafter file (LiLiCorr, DFlash, EAGLE-3) and the profile's speculation field picks auto, off or ngram

Per-lane device pinning (1.5) — the slot passes --device so each lane lands on its own GPU backend

Hermes profiles as /v1 upstreams (1.6) — Open WebUI and any OpenAI-compatible client chat with each Hermes profile, with hal0's tools and memory wired into every one

Hermes release layout on Python 3.14 (1.6) — immutable, health-checked releases with automatic flip-back

Memory engine on any model (1.6) — the Hindsight engine runs on a local slot or an upstream model through the hal0/memory virtual id, switched without a restart

Image-model catalog (1.7) — image models install, fit-check and render from their own catalog, separate from the LLM registry

Image Gen workspace (1.7) — Generate, Models and Engine tabs; the GPU's state and controls live in the dock at the bottom of every page (1.7.1); image mode lasts only while an image renders

Agent bridge (1.8) — remote coding agents reach hal0-agents, hal0-memory and, when granted, hal0-admin with a revocable hal0bk_ key

Installer component checklist and rootless box (1.8) — skip any optional component, or opt in to one rootless podman box

Memory v3 (1.8) — one Memory area, two banks, a guarded embedder switch

NPU tab, xdna and halogen runners (1.8) — FLM and GGML lanes with live activity, plain GGUF on the XDNA2 NPU, and Qwen3.8-Flash-Next on Strix Halo

Operator Board on the Hermes kanban, slot tune overrides, new Overview page (1.8)

Federated memory — recall across local + remote sources behind one memory surface (the MCP-client side shipped in v0.9)

Loadout presets — curated model/slot presets you can flash onto a fresh install

AUR PKGBUILD & Ubuntu PPA — native distro packages on top of the install script; pacman and apt as first-class install paths

Multi-host federation — a slot mesh across LAN boxes — primary on the Strix Halo, embed on the workstation, all behind one /v1/* surface

Fine-tune & LoRA hot-swap — attach and rotate LoRAs against a warm base model without unloading the underlying weights

Per-model rate limits & budgets — cost-style accounting for local inference; cap a chatty agent without taking the whole box down

ChatOps adapters — Slack and Matrix bridges as extensions

Apache 2.0. See LICENSE.

Pull requests from outside contributors are welcome, and a maintainer reviews each one. For a large change, open an issue first. See CONTRIBUTING.md for the sign-off requirement, the test tiers and the review flow. For questions and general chat, join the hal0 Discord.

This project adheres to the Contributor Covenant code of conduct. To report a security vulnerability, see SECURITY.md.

Released: Nov 29, 2026

Author: hal0 contributors

Both files in this release have provenance metadata.

View provenance details

ai homeai inference llm openai-compatible

Development Status 5 - Production/Stable

Intended Audience End Users/Desktop

System Administrators

Operating System POSIX :: Linux

Programming Language Python :: 3.12

Topic Scientific/Engineering :: Artificial Intelligence

Release files for hal0ai 1.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Built distribution (wheel)

Total release size: 35.6 MB

Release files / hal0ai-1.8.4.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Release files / hal0ai-1.8.4-py3-none-any.whl

Security for hal0ai 1.8.4

Both files in this release have been uploaded with provenance metadata.

With provenance hal0ai-1.8.4.tar.gz Nov 29, 2026

With provenance hal0ai-1.8.4-py3-none-any.whl Nov 29, 2026

Attestation for hal0ai-1.8.4.tar.gz

Attestation for hal0ai-1.8.4-py3-none-any.whl

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Nov 29, 2026 2 release files Full provenance

Nov 28, 2026 2 release files Full provenance

Nov 27, 2026 2 release files Full provenance

Nov 20, 2026 2 release files Full provenance

Oct 27, 2026 2 release files Full provenance

Oct 26, 2026 2 release files Full provenance

Oct 24, 2026 2 release files Full provenance

Oct 23, 2026 2 release files Full provenance

Oct 19, 2026 2 release files Full provenance

Oct 16, 2026 2 release files Full provenance

Sep 16, 2026 2 release files Full provenance

Sep 3, 2026 2 release files Full provenance

Aug 31, 2026 2 release files Full provenance

Aug 30, 2026 2 release files Full provenance

Jul 25, 2026 2 release files Full provenance

Jul 13, 2026 2 release files Full provenance

"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.

© 2026 Python Software Foundation

Deployed from fc0d8e6

Source Attribution: This report incorporates information referenced or syndicated from Pypi.org. Read original coverage at Pypi.org.

More from Technology →
Haldwani Times
Haldwani Times Independent News & Editorial
Login
MARKETS & FINANCE
BRENT CRUDE: $78.40 -0.52% SENSEX: 81,450.20 +0.42% NIFTY 50: 24,820.15 +0.38% GOLD (24K): ₹74,500/10g -0.18% USD/INR: ₹95.54 +0.10%

ADMINISTRATIVE LEADERSHIP

Mr. Narendra Modi
Mr. Narendra Modi
Mr. Lt. Gen. Gurmit Singh
Mr. Lt. Gen. Gurmit Singh
Mr. Pushkar S. Dhami
Mr. Pushkar S. Dhami
Mr. Lalit M. Rayal
Mr. Lalit M. Rayal
Mr. Gajraj S. Bisht
Mr. Gajraj S. Bisht

Top Headlines & Breaking Stories

View All News →

Haldwani Times – Everything in Haldwani: News, Shops, Businesses & Services

Haldwani Times is the premier digital news and commercial discovery platform built specifically for the citizens, business owners, students, professionals, and visitors of Haldwani, Nainital district, and the wider Kumaon region of Devbhoomi Uttarakhand. As the economic gateway to the Kumaon Himalayas, Haldwani is a bustling metropolis connecting the plains of northern India with the scenic mountain districts of Nainital, Almora, Pithoragarh, Bageshwar, Champawat, and Udham Singh Nagar. Haldwani Times serves as the definitive digital heartbeat of the city, bringing breaking hyperlocal news, verified commercial directories, educational updates, healthcare guides, Mandi Bhav rates, and civic announcements onto a single unified, trusted platform.

The Definitive Source for Breaking Haldwani News & Civic Updates

Haldwani stands as one of the fastest-growing urban conglomerates and commercial engines in northern India. Positioned in the fertile Terai-Bhabhar belt at the foothills of the Shivalik range, the twin cities of Haldwani and Kathgodam form the administrative and logistical nerve center for the entire Kumaon division. With rapid urbanization, expanding commercial infrastructure, flourishing educational centers, and increasing inter-state transit, the demand for fast, fact-checked, and unbiased local journalism has never been greater. Haldwani Times delivers 24/7 comprehensive news coverage built on rigorous journalistic standards: - **Hyperlocal Civic News:** Real-time coverage of municipal corporation affairs, city drainage projects, traffic management blueprints, and road widening drives across Tikonia, Mukhani, Kusumkhera, Bareilly Road, and Rampur Road. - **Administrative Directives:** Official notifications from the District Magistrate (DM) Nainital, Senior Superintendent of Police (SSP), and state secretariat decisions affecting citizen welfare. - **Kumaon Weather & Disaster Alerts:** Timely mountain rainfall warnings, landslide advisories along NH-109 (Haldwani-Nainital Highway), and emergency bulletins during the monsoon and winter seasons. - **Education & Campus News:** Timely reports on Kumaon University examination schedules, Uttarakhand Board (UBSE) results, medical college admissions, and competitive coaching updates. - **Commercial & Market Trends:** Daily wholesale Mandi Bhav rates from Haldwani Subzi Mandi, real estate trends, retail market festivals, and local business openings. - **Cultural & Pahadi Heritage:** In-depth feature stories celebrating Kumaoni folk traditions, Aipan art, Nanda Devi festivals, and local community milestones.

Everything in Haldwani on One Unified Digital Ecosystem

Beyond traditional news reporting, Haldwani Times is engineered as an exhaustive local discovery engine. Historically, finding verified local business telephone numbers, emergency hospital contacts, specialized doctors, reliable plumbers, or trusted real estate consultants in Haldwani required asking neighbors or browsing outdated social media posts. Haldwani Times eliminates this friction by organizing every commercial, professional, and civic resource into searchable, verified categories. Whether you are a newly arrived resident in Kusumkhera looking for high-speed broadband providers, a parent searching for reputable CBSE schools near Kaladhungi Road, or a tourist seeking taxi rentals to Nainital, our portal delivers accurate, verified, and actionable information in seconds.

Local Shops, Retail Hubs & Traditional Bazaars in Haldwani

The retail commerce of Haldwani spans centuries-old traditional bazaars and modern commercial complexes: - **Bada Bazaar & Mangal Parao:** The historic retail heart of Haldwani, renowned for traditional Kumaoni wedding jewelry (Pauji, Guloband, Nath), brass utensils, ethnic handlooms, and wholesale clothing. - **Nainital Road & Tikonia Commercial Corridor:** Modern multi-brand retail showrooms, electronics stores, authorized smartphone service centers, branded footwear outlets, and international apparel stores. - **Bareilly Road & Rampur Road Trade Hubs:** Major agricultural machinery dealers, hardware and building material wholesalers, furniture manufacturing units, plywood distributors, and automobile showrooms. - **Subzi Mandi & Wholesale Grain Market:** One of the largest agricultural distribution centers in North India, supplying fresh vegetables, hill fruits (apples, peaches, plums), and organic Pahadi pulses (Gahat, Bhatt, Rajma) across northern states.

Healthcare Hub of Kumaon: Hospitals & Emergency Services

Haldwani serves as the premier medical lifeline for all six hill districts of Kumaon. Patients travel from Almora, Pithoragarh, Bageshwar, and Champawat to access specialized clinical treatments in Haldwani: - **Government Healthcare Institutions:** Dr. Susheela Tiwari Government Medical College & Hospital (STGH) and Base Hospital Haldwani provide tertiary trauma care, specialized super-specialties, pediatric ICUs, and 24/7 emergency response. - **Private Multi-Specialty Hospitals:** Advanced private medical centers specializing in cardiology, joint replacements, neurology, critical care, nephrology, and advanced laparoscopic surgeries. - **Diagnostic Centers & 24/7 Pharmacies:** Fully automated pathology laboratories, high-resolution MRI/CT scan centers, and round-the-clock emergency pharmacies clustered around Medical College Road, Kaladhungi Road, and Rampur Road.

Education, Colleges, Coaching Academies & Youth Development

Haldwani is the educational capital of the Kumaon region, home to thousands of ambitious students preparing for medical, engineering, defense, and civil services careers: - **Premier Degree Colleges:** Motiram Baburam Government Post Graduate College (MBPG College) and Women's Degree College providing extensive undergraduate and postgraduate humanities, commerce, and science programs. - **Competitive Coaching Ecosystem:** Highly reputed coaching academies for NEET UG, JEE Main & Advanced, UPSC Civil Services, UKPSC/UKSSSC, NDA, CDS, and Banking examinations along Kaladhungi Road and Tikonia. - **Affiliated Schooling Infrastructure:** Esteemed CBSE, ICSE, and Uttarakhand Board schools imparting value-based holistic education with modern sports and laboratory facilities.

Real Estate, Housing Colonies & Urban Expansion Trends

Driven by rapid infrastructure expansion and high quality of life, Haldwani's real estate market is expanding outward into organized residential colonies: - **Prime Residential Localities:** Highly sought-after residential sectors in Mukhani, Kusumkhera, Kaladhungi Road, Judge Farm, Daharia, and Bhotia Parao offering planned housing, green parks, and modern civic amenities. - **Commercial Property Investments:** Thriving commercial retail complexes, office spaces, and warehouse hubs developing rapidly along the proposed Haldwani Ring Road and transport corridors. - **Property Advisory & RERA Compliance:** In-depth real estate updates, circle rate revisions by the Nainital district administration, and buyer advisory guidelines for safe property acquisitions.

Strategic Transit Gateway, Tourism Routes & Kumaon Himalayan Connectivity

Haldwani-Kathgodam is the vital transit bridge connecting the plains of Delhi NCR and Uttar Pradesh with the hill stations of Uttarakhand: - **Kathgodam Railway Terminal:** Connecting Kumaon directly to New Delhi (Shatabdi Express, Ranikhet Express), Lucknow, Kolkata, Jammu, and Dehradun. - **ISBT Haldwani:** Operating round-the-clock interstate and mountain bus routes managed by Uttarakhand Transport Corporation (UTC) and private deluxe coaches. - **Pantnagar Airport (PGH):** Located just 26 km from Haldwani, offering scheduled domestic flights to New Delhi, Dehradun, Pithoragarh, and regional hubs. - **Himalayan Tourism Hub:** The primary staging point for journeys to Nainital (34 km), Bhimtal (30 km), Mukteshwar (72 km), Kainchi Dham (42 km), Almora (90 km), Ranikhet (80 km), and Jim Corbett National Park (55 km).

Gaula River Mining, Ecological Balance & The Bhabhar Economy

The Gaula River represents the undisputed economic and hydrological lifeline of Haldwani and the broader Nainital district. Originating from the Sattal-Bhimtal catchment in the lesser Himalayas, the river flows south past Kathgodam and Haldwani before merging into the Ramganga. For generations, the Gaula riverbed has provided the foundation for both regional agriculture and the construction economy across northern India: - **Regulated Minor Mineral Extraction:** During the open mining season (typically October to May), thousands of registered tractor-trolleys and heavy dumpers harvest riverbed gravel, sand, and boulders under strict surveillance by the Uttarakhand Forest Development Corporation and the Nainital district administration. - **Livelihood Support for Over 50,000 Families:** The Gaula mining economy directly and indirectly sustains vehicle owners, drivers, mechanics, diesel pump stations, roadside eateries, and local laborers, circulating over ₹500 crore into Haldwani's local markets annually. - **Environmental Safeguards & Flood Mitigation:** In strict adherence to High Court and National Green Tribunal (NGT) directives, scientific replenishment studies, satellite GPS tracking on transport vehicles, and seasonal mining bans during the monsoon protect the river's ecological balance and prevent bank erosion along low-lying residential sectors.

Culinary Landscape: From Traditional Kumaoni Rasoi to Modern Cafes

Haldwani's gastronomic scene reflects a delightful blend of rustic mountain traditions and cosmopolitan dining: - **Authentic Kumaoni Specialties:** Local restaurants and heritage dhabas serve traditional mountain delicacies cooked in iron vessels, including Bhatt ki Churkani (black soybean curry), Gahat ke Dubke (horsegram puree), Aloo ke Gutke tempered with wild Himalayan chives (Jamboo) and Jakhiya, and refreshing cucumber Raita flavored with freshly crushed mustard seeds. - **Traditional Confectioneries:** Historic sweet shops along Bada Bazaar and Nainital Road craft Almora's world-famous Bal Mithai (roasted caramelized khoya fudge coated in sugar balls) and Singaudi (sweetened khoya wrapped in wild Malu leaves). - **Vibrant Street Food & Cafe Culture:** As dusk falls, Tikonia and Nainital Road come alive with bustling street food stalls offering steaming Tibetan momos, spiced thukpa, Kathi rolls, and hot Masala Chai, alongside modern rooftop cafes serving specialty Italian coffees and continental snacks.

Cultural Festivals, Folk Heritage & The Aipan Art of Kumaon

Beyond commercial enterprise, Haldwani is the proud cultural showcase of Devbhoomi Uttarakhand: - **Aipan Folk Art Tradition:** The sacred geometrical floor and wall art handcrafted with red ochre (Geru) and white rice paste (Biswar) adorning thresholds, altars, and chowkis during auspicious ceremonies, now preserved through local women's self-help cooperatives. - **Classical Baithki & Khadi Holi:** Unique to Kumaon, musical celebrations starting as early as the month of Paush, featuring classical Hindustani ragas sung in community courtyards followed by energetic Chholiya dance performances during spring. - **Nanda Devi & Chholiya Heritage:** Grand annual fairs celebrating the patron deity Nanda Devi, accompanied by martial sword-and-shield Chholiya dancers whose rhythmic brass trumpets (Ransingha) and hurka drums resonate through the valley.

Public Amenities, Parks & Community Spaces in Haldwani

Urban lifestyle and recreational infrastructure in the city: - **Green Parks & Walking Tracks:** Walkway projects around Daharia, Judge Farm, and Awas Vikas providing lush recreational zones for families and seniors. - **Community Centers & Sports Grounds:** Multi-purpose auditoriums and grounds hosting cultural melas, badminton tournaments, and community celebrations. - **Gaula Barrage & Forest Trails:** Scenic river viewpoints and natural birdwatching areas attracting eco-tourists and local nature enthusiasts on weekends.

Frequently Asked Questions (FAQs)

How can I access live breaking news and weather alerts for Haldwani?

Haldwani Times operates a dedicated 24/7 hyperlocal newsroom providing real-time breaking bulletins, traffic alerts, and meteorological warnings. You can access live news directly from our homepage, subscribe to instant browser push notifications, or view categorical updates on Uttarakhand, Education, and Mandi Bhav. During monsoon and winter weather events, our correspondents provide live updates on NH-109 road blockages and emergency administrative orders issued by the Nainital District Magistrate.

Is Haldwani Times completely free to read for all visitors?

Yes, Haldwani Times offers completely unrestricted, open-access reading to all users without mandatory paywalls. Readers across Haldwani, Uttarakhand, and the global diaspora can freely browse all breaking news reports, investigative articles, business directory listings, and historical archives. Our public-interest mission ensures that essential civic information, emergency hospital directories, and educational circulars remain universally accessible to everyone at zero cost.

How can local business owners list their shop or service in the Haldwani directory?

Local merchants, medical practitioners, schools, and service professionals can register their business by navigating to our 'Business Directory' page and selecting 'Add Listing'. The registration process allows you to input your business name, address, contact numbers, operational hours, services offered, and high-resolution showroom photographs. Once submitted, our local verification team verifies the physical address within 24 hours to ensure high consumer trust and top ranking on Google.

Can I read Haldwani Times articles in Hindi as well as English?

Yes, Haldwani Times features a seamless, native bilingual reading experience tailored for our regional readership. With our one-click language toggle located prominently in the navigation bar, you can instantly switch between English and pure Hindi. Both versions feature carefully crafted editorial phrasing, accurate regional terminology, and culturally resonant storytelling to ensure maximum readability for students, families, and senior citizens alike.

How do I submit news tips, event notices, or press releases to the editorial team?

Our newsroom warmly welcomes verified news tips, community event notices, civic grievances, and official press releases from citizens and local organizations. You can submit your documents, photos, or video evidence directly to our central editorial desk at editorial@haldwanitimes.com or via our Help & Support page. Our senior editors review every submission for factual authenticity, multi-source verification, and public relevance prior to publication.

Where can visitors find authentic Kumaoni Bal Mithai and Singaudi in Haldwani?

Renowned traditional sweet houses clustered along Bada Bazaar, Mangal Parao, Kathgodam Station Road, and Nainital Road specialize in daily batches of authentic Bal Mithai and fragrant Singaudi prepared with pure mountain dairy khoya and natural ingredients.

What transportation options are available for traveling from Haldwani to Nainital and Bhimtal?

Continuous state transport buses (UTC), KMOU coaches, and registered taxi union sharing cabs operate 24/7 from the Haldwani Roadways Bus Station (near Tikonia) and Kathgodam Railway Station. Fares are regulated by the transport department, with mountain travel times ranging between 1 to 1.5 hours.