# Launch and agent usage [Back to the README](../README.md) ## Install Apple Silicon M1+ and macOS 26.2 or later are required. ```bash brew install beamivalice/tap/sushi # or the release binary (ad-hoc signed; curl does not quarantine it): curl -L https://github.com/beamivalice/sushi/releases/latest/download/sushi-bin-macos-arm64.tar.gz | tar xz ``` The release tarball also holds `sushibar`, a menu bar item for the server: run `sushibar [--port N]` and it detaches from the terminal. The title is the live generation speed in tok/s while a request generates (the icon alone when idle), beside a menu bar icon that is filled while a server answers. Its menu opens on a status card (model, memory, generation speed, prompt speed and GPU numbers, a five-minute generation-speed graph) and then starts or stops the server on the watched port (asking first for one it did not start; Start loads again the model the server last had, and with none known the card links to the Models page; a Stop that has not taken after 15 s offers Force Stop), switches the port (the default port first, then the ports you added by typing one; hover an added port and click its x to forget it; a server on a port you never added is not listed; the choice is remembered; `--port` wins, then the default port, `server.port` in Settings, 12345 unless changed), opens the dashboard, chat, Models and Settings pages (⌘1-⌘4), and ends with a row of three buttons: Log (a window that follows the watched server's log live, with Find and a "New lines" button when you scrolled up), Update (Check, which shows Checking… and then Up to date, Retry or an orange Update while the menu stays open; with a model loaded it asks before restarting the server; Homebrew installs get an Upgrade button that copies `brew upgrade sushi`; a running sushibar never blocks `sushi update` and restarts itself on the new version) and Quit (⌘Q; servers it started keep running, hold ⌥ for Quit & Stop). The card says why a server is stopped, hung, locked or unable to start, an orange dot on the icon marks a server that does not answer, wants a key, lost its port or exited on its own, and a note in the menu opens the log. A server started with `--api-key` or `--api-key-env` is read with its own key. sushibar polls every second while a request runs or the menu is open, and every 5 s (10 s with no server) otherwise. A browser download is quarantined: clear it with `xattr -dr com.apple.quarantine sushi-macos-arm64`. GPU memory and the largest context per Mac: [README, Memory](../README.md#memory). ## `sushi pull` and `sushi list` `sushi pull ` downloads a pack into `~/.sushi/models/beamster/`, where `sushi serve` and `sushi run` find it by name. `` is a short name (`qwen3.8-flash-next[:tag]`, `mimo-v2.6-flash`, `glm-5.3-flash[:tag]`, `deepseek-v4.1-flash`) or `beamster/`; packs from any other org are refused. A rerun downloads only what is missing or changed, so it finishes an interrupted pull; until then the folder holds `.pull-incomplete`. A private repo pulls after `hf auth login` or with `HF_TOKEN`. A peer that accepts and never answers cannot hold a pull: every request a pull makes is bounded, and a bound that fires names the step it stopped. A file is kept by content, never by size: a finished pull leaves `.sushi-pull.json` (repo, Hugging Face commit, and each file's size and checksum: sha256 for a large file, the git blob id for a small one; every file but the small text ones below also carries the inode and mtime it had when its checksum passed) and the next pull skips a file only when the repo lists the same checksum and the file still stats as it did. That record seals the folder: sushi loads it with no content read, and refuses it (naming the file) once a sealed file is replaced or removed, until `sushi pull` hashes it again; a record sushi cannot read, or one from a newer sushi, refuses it the same way. A hand edit of `config.json`, `generation_config.json`, the tokenizer (`tokenizer*.json`), `special_tokens_map.json`, the chat template (`chat_template*`, `*.jinja`) or a `.md`/`.txt` file never refuses a load. A folder with an older (v1) record is hashed once on its next pull, which then seals it. A folder without the manifest (an older sushi, a copy by hand) is hashed once (`checking N files already on disk…`) and only the files that differ download. Each download is checked against its checksum before it is put in place; a mismatch deletes the partial and fails naming the file. A `.partial` resumes only under its `.partial.oid` key (the checksum and size it was started for); a partial with another key, or none, is deleted and the file starts from zero. A file the repo lists without a content id has no key, so its partial is deleted too and the pull logs that it restarted the file. A file the last manifest listed that the repo no longer has is removed (a case-only rename names the same file on a case-insensitive volume, so it is kept); nothing else in the folder is touched. `sushi run` still uses a present local copy without contacting Hugging Face. `run ` looks in the org layout (`~/.sushi/models/beamster/`) and the flat layout (`~/.sushi/models/`, `hf download --local-dir`) only; a folder with no record (a hand copy, `hf download`, an older pull) counts when it has its `config.json`, every weights file its index names (else a `.safetensors`) and no `.partial` of a file it needs. A pull or download fills the folder that already holds the repo, in either layout, even one that cannot load: the marker `.pull-incomplete` carries the repo being pulled, so a stopped update resumes where it began. `sushi list` shows each pack's size, whether it is downloaded and whether this Mac meets its tier, and marks the one it recommends. Supported models downloaded via `hf` into `$HF_HUB_CACHE` / `$HF_HOME/hub` / `$XDG_CACHE_HOME/huggingface/hub` / `~/.cache/huggingface/hub` are not scanned silently by default, and can be opted into read-only via `--hf-cache` (on `sushi serve`, `sushi list`, or `sushi run`), the **Hugging Face Hub cache** toggle in WebUI Settings / Models (`server.hf_cache` in `~/.sushi/model-settings.json`), or directly via `--model-dir ` (`~/.sushi/models` takes precedence on a repeated repo id). A local folder that cannot load (a pull that did not finish, a sealed file since replaced) reads `partial` or `changed` in the TYPE column, with the line that says what to do. A Mac's tier is its installed RAM in whole GB. Below a pack's tier it reads `may stream (--ssd-budget-gb)`: it may still run streamed ([Choosing a pack and streaming](usage-streaming.md)), with no promise. | pack | runs in memory from | recommended from | |---|---:|---:| | Qwen3.8-Flash-Next-Sushi-2bpw | 48 GB | 32 GB (streamed) | | Qwen3.8-Flash-Next-Sushi-STQ-2.75bpw | 64 GB | 64 GB | | Qwen3.8-Flash-Next-Sushi-4bpw | 96 GB | 96 GB | | GLM-5.3-Flash-Sushi-2bpw | 96 GB | 96 GB | | GLM-5.3-Flash-Sushi-2.4bpw | 128 GB | 128 GB | | MiMo-V2.6-Flash-Sushi-2.3bpw | 128 GB | 128 GB | | DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw | 96 GB (experts streamed) | 96 GB | | DeepSeek-V4.1-Flash-1017-Sushi-STQ-2.7bpw | 64 GB (experts streamed; resident from 256 GB) | 256 GB | | Hy4-Flash-Sushi-STQ-2.25bpw | 64 GB | 48 GB (streamed) | | Hy4-Flash-Sushi-STQ-4bpw | 96 GB | 96 GB | Sizes are the whole download; a Qwen pack's n-gram table, DeepSeek's 189 GiB of Engram tables and Hy4-Flash's Engram tables stay on the SSD and are never loaded. Offline, `sushi list` shows only the models on disk. A pack carries a revision in `config.json` (`pack_revision.id`; a pack without it is revision 1.0). When Hugging Face publishes a higher revision of a pack you have downloaded, `sushi list` prints, under its row, `update available: 2.0 (you have 1.0) — sushi pull deepseek-v4.1-flash`. Nothing is printed when the pack is current, when its repo is not known (a folder that is neither a catalog pack nor pulled by `sushi pull`) or when Hugging Face cannot be reached or answers 404 (a private repo needs `HF_TOKEN`). The server asks the same once after a model loads and then once a day (each answer is kept in `~/.sushi/pack-update-check.json`, so a restart inside a day asks nothing), unless `--no-update-check` or the Settings page's pack check is off. ### Downloading from the web page The web page's **Models** tab (Cmd+3) does the same in the browser: its **Available** list (`/downloads`) shows every Sushi pack published on Hugging Face (the ones this build knows, and any newer public `-Sushi-` repo of `beamster`) with its size, marks the pack `sushi list` recommends for this Mac's memory, says "Needs N GB" for one above it (still downloadable, after a confirm), and shows which are downloaded, partly downloaded or have an update. Download saves into the models folder shown on the Models tab (`--model-dir` when given, else `server.models_dir`, else `~/.sushi/models`) under `beamster/`, after checking the free space: a pack that would leave less than a twentieth of the disk (at least 4 GiB) is refused, one that leaves under a tenth free warns. That check bills the listed bytes less the files already in the folder, a linked shard at its target's size, so a pack whose shards are linked from another drive needs nothing. Update replaces a downloaded pack in its own folder, after you unload it. A running download shows a progress bar, the file in flight, speed and time left. Stop keeps what is downloaded: Resume continues from it, also after the server restarts. A finished pack appears in the Installed list at once (Open takes you there), ready to load. A small dot on the Models tab marks a pack (or an update) this browser has not listed before; under `--no-update-check` the page asks Hugging Face only while the list is open. From another machine a download needs the server's `--api-key`. Downloads use `sushi pull`'s checks; a pack is never deleted from the page. ## Recommended launch Every GPU limit below is set together with the two user-wire limits, always, at the same value in bytes (N MB becomes N × 1,048,576 bytes); otherwise macOS keeps capping what sushi may wire at its lower default and prefill slows with no error. All three reset at reboot: ```bash sudo sysctl iogpu.wired_limit_mb= vm.global_user_wire_limit= vm.user_wire_limit= ``` The standard N is the Mac's RAM in MB less 4096 (45056 on a 48 GB Mac). A model's page in the dashboard shows the three limits as they are now and this command with that N, ready to copy. sushi reads the GPU limit when it starts, so restart it after running the command; the page says so while the two differ. **48 GB Mac, Qwen Sushi-2bpw** (limit 43000) ```bash sushi pull qwen3.8-flash-next:2bpw sushi serve --model ~/.sushi/models/beamster/Qwen3.8-Flash-Next-Sushi-2bpw \ --mtp --kv-quant 8 --mtp-head-kv-quant --qwen-gdn 16 --ctx-size 131072 \ --max-tokens 32000 --prefix-cache-disk 20GB --temp 1 ``` **64 GB Mac, Qwen Sushi-STQ-2.75bpw** (limit 59000; above it macOS runs out of memory first and the kernel panics) ```bash sushi pull qwen3.8-flash-next:2.75bpw # 8-bit KV, the default quality sushi serve --model ~/.sushi/models/beamster/Qwen3.8-Flash-Next-Sushi-STQ-2.75bpw \ --mtp --kv-quant 8 --mtp-head-kv-quant --qwen-gdn 16 --ctx-size 250000 \ --max-tokens 32000 --prefix-cache-disk 20GB --temp 1 # or 4-bit KV for 1.8 times the context: --kv-quant 4 --ctx-size 450000 --max-tokens 64000 ``` The 32 to 64 GB Qwen recipes pass `--qwen-gdn 16`: a bf16 recurrent state halves every cache checkpoint (about 54 MB each). 96 GB and up keep the f32 default. Context is set explicitly because auto-context reads free memory. **96 GB+ Mac, Qwen Sushi-4bpw** (limit 90000 on 96 GB, 120000 on 128 GB) ```bash sushi pull qwen3.8-flash-next:4bpw sushi serve --model ~/.sushi/models/beamster/Qwen3.8-Flash-Next-Sushi-4bpw \ --mtp --kv-quant 8 --mtp-head-kv-quant --ctx-size 500000 --prefill-chunk-max 2048 \ --max-tokens 64000 --prefix-cache-disk 20GB --temp 1 ``` **DFlash2 on Qwen (opt-in).** MTP stays the default. `--drafter ` loads Inco.ai's [DFlash2 assistant](https://huggingface.co/incoai/Qwen3.8-Flash-Next-DFlash2) (Apache-2.0, 1.2 GB); rounds verify between `--drafter-min-depth` (2) and `--drafter-max-depth` (8) rows, and greedy output equals MTP's byte for byte. Speed per pack and context: [qwen4-perf](qwen4-perf.md#dflash2). **128 GB Mac, MiMo-V2.6-Flash-Sushi-2.3bpw** (limit 120000). Unsupported: it still loads, but from 1.5.1 releases do not test, benchmark or tune it; 1.5.0 is the last release that supports it. ```bash sushi pull mimo-v2.6-flash sushi serve --model ~/.sushi/models/beamster/MiMo-V2.6-Flash-Sushi-2.3bpw --ctx-size 1048576 ``` MTP, 8-bit KV and thinking are on by default. **96 GB Mac, GLM-5.3-Flash-Sushi-2bpw** (limit 90000) and **128 GB Mac, GLM-5.3-Flash-Sushi-2.4bpw** (limit 120000) ```bash sushi pull glm-5.3-flash:2bpw # or glm-5.3-flash for 2.4bpw sushi serve --model ~/.sushi/models/beamster/GLM-5.3-Flash-Sushi-2bpw ``` Images, video, 8-bit KV and DFlash2 are on by default, and up to four requests decode together. Auto context on 2bpw is 512K at 8-bit KV, 300K with `--kv-quant 16`. The pack ships Inco.ai's [DFlash2 assistant](https://huggingface.co/incoai/GLM-5.3-Flash-DFlash2) under CC BY-NC-ND 4.0 (non-commercial, no derivatives); the smaller copy sushi builds from it in `dflash2/` on first load is a derivative, so keep it local. `--no-drafter` turns it off. **96 GB and 128 GB Macs, DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw** (limit 125000 on 128 GB, 93000 on 96 GB) ```bash sushi pull deepseek-v4.1-flash sushi serve --model ~/.sushi/models/beamster/DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw # pass --ssd-budget-gb to change the budget: 96 on a 128 GB Mac leaves memory to other apps ``` On a 128 GB Mac the 108 default needs the GPU limit raised (`sudo sysctl iogpu.wired_limit_mb=125000 vm.global_user_wire_limit=131072000000 vm.user_wire_limit=131072000000`, the limit the heading names); without it the default is 96, and it steps down further, saying so, when the Mac's limits cannot hold it. **256 GB Macs, DeepSeek-V4.1-Flash-1017-Sushi-STQ-2.7bpw**: KLD 0.0607 against 0.1525 for the 1.75bpw pack, and every routed expert resident at the RAM default (no SSD reads, no limit to raise). On 64 GB and 96 GB Macs it streams with `--expert-cache-bias`: [Running DeepSeek-V4.1-Flash on 64 GB and 96 GB Macs](dsv41-64gb-mac.md). ```bash sushi pull deepseek-v4.1-flash:2.7bpw sushi serve --model ~/.sushi/models/beamster/DeepSeek-V4.1-Flash-1017-Sushi-STQ-2.7bpw ``` **48 GB Mac, Hy4-Flash-Sushi-STQ-2.25bpw** (limit 44000; experts streamed within a 34 GB budget, a 200,000-token context; `--expert-cache-bias 0.2` favours the experts already in memory, which is lossy) ```bash sushi pull hy4-flash:2.25bpw sushi serve --model ~/.sushi/models/beamster/Hy4-Flash-Sushi-STQ-2.25bpw --ssd-budget-gb 34 \ --expert-cache-bias 0.2 --ctx-size 200000 ``` **64 GB Mac, Hy4-Flash-Sushi-STQ-2.25bpw** (sushi 1.8.1 or later, limit 60000, a 500,000-token context; with no budget flag the load holds all 512 experts per layer when 46.2 GB is free, tested at 33-35 tok/s decode and 495-552 tok/s prefill at 1-7K tokens on an M5 Pro, and otherwise streams at the largest budget that fits, 41 GB and 443 of 512 on a Mac with 45 GB free; `--no-vision --no-mtp` holds them all in 44.8 GB) ```bash sushi pull hy4-flash:2.25bpw sushi serve --model ~/.sushi/models/beamster/Hy4-Flash-Sushi-STQ-2.25bpw --ctx-size 500000 ``` **96 GB Mac, Hy4-Flash-Sushi-STQ-4bpw** (limit 92000; a 500,000-token context) ```bash sushi pull hy4-flash sushi serve --model ~/.sushi/models/beamster/Hy4-Flash-Sushi-STQ-4bpw --ctx-size 500000 ``` **128 GB Mac, Hy4-Flash-Sushi-STQ-4bpw** (limit 125000; the full 1,048,576-token context) ```bash sushi pull hy4-flash sushi serve --model ~/.sushi/models/beamster/Hy4-Flash-Sushi-STQ-4bpw --ctx-size 1048576 ``` DeepSeek serves a 1,000,000-token context and a 256,000-token budget for a request that omits `max_tokens`, as its authors recommend; `--ctx-size` and `--max-tokens` still override them. - **`--ssd-budget-gb` defaults to 80 on 96 GB Macs; 128 GB Macs default to 96, or 108 with `iogpu.wired_limit_mb` at 120000 or more (the recommended 125000); pass `--ssd-budget-gb` to change it.** 192 and 256 GB Macs load the pack fully resident by default, and a fully resident load serves up to 16 requests at once (8 on a Mac without matrix units) as rows of one decode forward, each its single-request output; a streamed load serves one at a time ([dsv41-arch](dsv41-arch.md)). Any other RAM size must pass it. The default steps down to the largest budget the Mac's limits hold beside a 1M request and an image encode, then to the largest the free RAM at the load holds (so it can be lower while other apps hold memory), and the load log says which limit bound it; a flag outranks `ssd_budget_gb` in `model-settings.json`, which outranks the default. The budget is everything the load keeps resident (trunk, DSpark, vision tower, workspace) plus the expert cache, which gets the rest; more budget means more expert slots and fewer SSD reads. Budget, the request's state (3.7 GB billed at 1M) and an image encode (1.6 GB) must fit under the GPU limit. | `--ssd-budget-gb` | expert slots a layer (of 384) | expert hits code / prose | decode 4k code / prose | decode 128k code / prose | prefill 8k window code / prose | |---|---:|---:|---:|---:|---:| | 80 | 182 | 96.5% / 99.2% | 44.7 / 44.5 | 36.6 / 39.4 | 760 / 547 | | 96 | 227 | 98.7% / 99.6% | 65.8 / 48.2 | 51.8 / 45.4 | 963 / 700 | | 108 | 260 | 99.6% / 99.9% | 76.6 / 49.3 | 63.7 / 43.5 | 1,024 / 821 | One `sushi bench` run each on an M5 Max 128 GB (DSpark on, one request); 108 is the [v1.4.0 bench](bench/v1.4.0/DeepSeek-V4.1-Flash-1017-Sushi-STQ-1.75bpw.md). - **Why the user wire limits always move with the GPU limit.** macOS caps the memory a process may wire at `vm.global_user_wire_limit` (116.8 GB by default on 128 GB) separately from `iogpu.wired_limit_mb`. A load past it slows prefill with no error (7% at a budget of 111 on 128 GB); the command above raises both, so it never binds. - **Smaller Macs** are plan numbers only, not measured: 32 GiB (48 slots) from a 48 GB Mac at limit 43000, 48 GiB (93 slots) from 64 GB at 59000. The floor is 17 GiB (16 with `--no-vision`). A shorter `--ctx-size` lowers the Mac a budget needs. - **Disk:** 332.1 GB, of which 189 GiB are Engram tables read a row at a time; the SSD prefix cache adds up to 20 GB. - **Context** runs to 1M tokens (890 B a token). One request decodes at a time; seen prompts restore from the SSD. - **DSpark** (the checkpoint's drafter) is on by default; `--no-mtp` turns it off. Greedy output is stable across round widths and identical between stream and non-stream. - **Thinking** is `high` by default; `reasoning_effort` `low`, `high` or `max`, or `off` / `enable_thinking: false`. - **Images** are on by default; `--no-vision` frees the 0.50 GB tower for the expert cache; `--vision-bf16` keeps the stored bf16 tower. - **Pair-major layout:** `sushi repack ` rewrites a pack-order pack in place into the layout the streaming engine reads fastest ([pack-format](pack-format.md#repack)). Stop any server using the pack first; it needs free disk of one shard plus 1 GiB, and repeating it after an interruption finishes the job. `--pack-revision ` also stamps the pack with a revision, `--shards ` narrows the stamping to some shards, `--unstamped ` leaves one (a symlink) out and `--check` only verifies ([pack-format](pack-format.md#pack-revision-writer)). - **`--drop-expert n`** (multiple of 8) skips the `n` least-used experts a layer, freeing 2.1–2.5 GB at 8 and 4.3–5.0 GB at 16. It is lossy: check it with `sushi kld compare` ([dsv41-arch](dsv41-arch.md#drop-expert)). - **`--ssd-prefetch ` (0..100, default 0 = off) turns on the expert prefetch of a streamed DeepSeek load and caps its SSD reads.** At load sushi measures how fast this Mac's SSD reads experts, and the reads a route waits for plus the ones the prefetch makes ahead of it together stay under `n` percent of that rate; the prefetch uses only what the waiting reads leave. 65 is the tuned cap; it pays on a fast SSD at a mid budget and nothing elsewhere. `ssd_prefetch` in `model-settings.json` sets it per model, and a flag outranks it. Other models refuse the flag. - **`--ds41-mlx-engine` runs DeepSeek-V4.1 on MLX instead of Sushi Cooler**, the engine sushi built for this Mac, which generates the same tokens with less processor power on an STQ pack. Cooler is on by default. Use the flag, or untick "Use Sushi's Cooler Engine instead of MLX" under DeepSeek 4.1 Inference on the model's settings (`ds41_cooler: false` in `model-settings.json`; the flag outranks it and locks the checkbox), if Cooler misbehaves, and report it at . The load line says which side decodes and why. A change applies at the next load. Other models refuse the flag. - **`--qwen-mlx-engine` runs Qwen3.8 on MLX instead of Sushi Cooler**, the same opt-out for an STQ Qwen pack: the flag, or untick the checkbox under Qwen3.8 Inference (`qwen_cooler: false`; the flag outranks it and locks the checkbox). - **Refused flags:** `--kv-quant`, `--qwen-gdn` and `--mtp-head-kv-quant` stop the load, since the model has none of those parts ([dsv41-parity](dsv41-parity.md)). ### Common flags - `--prefix-cache-disk 20GB` sizes the SSD prefix cache (on by default, capped at 20 GB); `--prefix-cache-mem 1GB` also keeps prefixes in RAM, as many conversations as the model's `max_concurrent` within that budget. - Each model's settings take `max_concurrent` (requests that run at once, default 1; empty takes the server Settings' Requests at once, else 1; `--max-concurrent N` outranks both; a value is held to the model's own batch width: Qwen 8, GLM and MiMo 4, Hy4-Flash 1; its RAM prefix cache keeps that many conversations) and `max_kv_tokens` (a shared token budget for that model's running requests and its kept conversations; empty is no cap). A request reserves its prompt plus its `max_tokens`; one that does not fit beside the others waits, one that can never fit alone is refused with the numbers. - A restore point sits every 8192 tokens and at each prompt's end, so a 1M-token conversation takes about 0.9 GB of SSD (DeepSeek), 7-14 GB of points plus 16 GB of rows (Qwen) or 24 GB (GLM): raise `--prefix-cache-disk` for long contexts. A conversation past the budget drops its oldest points first. - `--no-metrics` turns off `/metrics`, `/metrics.json` and the dashboard's charts (on by default; `--metrics` is still accepted and does nothing). The page at `/` has Chat, Dashboard, Models and Settings views: the SSD prefix cache's size, per-model disk use and clear buttons are edited in Settings; the models folder and each model's `model-settings.json` keys in Models. - `--preserve-thinking off` keeps only the latest turn's thinking in the prompt. - `--prefill-chunk-max` and `--prefill-chunk-min` bound the prompt step per forward on every model, each one of 512, 1024, 2048, 4096 or 8192 rows (any other refused by name; the model's settings keys `prefill_chunk_max` and `prefill_chunk_min`, a list of those five in the web UI). The max defaults to the model's own start width (Qwen 4096, GLM and MiMo 2048, DeepSeek 8192, Hy4-Flash 4096), the min to 512. A request starts at the max and steps down a rung, never under the min, only where the next chunk no longer fits beside its KV; equal bounds pin the width. The last chunk may absorb a tail of up to about half a chunk. `--prefill-chunk` is removed and refused by name. - Hy4-Flash fixes its prefill chunk once, at load: the widest rung within the two bounds whose arena fits beside the context; a load that cannot hold the min refuses with the numbers. ## Coding agents With the server running, `sushi launch ` starts claude, pi, omp, opencode, dsh (DeepSeek Harness), codex, grok, hermes or zcode against it: ```bash sushi launch omp ``` pi, omp, codex, grok and hermes run from their own home under `~/.sushi//`, so your usual config is untouched; dsh keeps your `~/.dsh` profile as it is and gets sushi's provider as an extra `--patch` layer (`~/.sushi/dsh/patch.yml`); claude and opencode reach the server through environment variables. `--print` writes the config and prints the launch script instead of running it. An agent brings its own tools and sushi returns every call the model writes, so no sushi setting turns them on: the tool button in the chat page and `sushi run --tool on` belong to sushi's own chat, never to an agent. **Hermes Agent** by hand (`sushi launch hermes` does the same): `hermes model`, then "Custom endpoint (enter URL manually)", base URL `http://127.0.0.1:12345/v1`, a blank API key, Enter at each further question (auto-detect API mode, the detected model, the context read from the server). Its tools are on by default. Hermes refuses a context under 64,000 tokens ("below the minimum 64,000 required by Hermes Agent"): on a Mac whose auto context lands under it, serve with `--ctx-size 65536` or more.