okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
e39a52e33
main
Set up Strata for a user
Use this guide when a user asks an AI agent to install Strata (version 0.2.15). There are two release routes. Pick one; do not start from a source checkout.
- The Terminal and
strata launch(below). This is the route for an agent that has a shell. - The desktop app. One installer per system:
Strata-0.2.15-windows-x64-setup.exe,Strata-0.2.15-linux-x86_64.AppImage,Strata-0.2.15-macos-arm64.dmg, from the latest release. The Windows and Linux installers carry no engine: on first start the app shows the engine for the user's graphics card and downloads it, or installs a file the user already has ("I already have the file"). Details: INSTALL.md.
Model availability, provider preference and API details are in AI_REFERENCE.md.
1. Check the computer and the requested model
- Check OS, CPU architecture, graphics cards, driver, available RAM/VRAM and free disk space.
- Use the hardware guides. Linux and Windows packages are x86-64; Mac packages are Apple Silicon and need macOS 15 or newer. Older GPUs, Intel Arc and low-memory machines have specific limits.
- Model support is separate from hardware support. <!-- cap:summary:qwen36 -->Qwen3.6-35B-A3B runs in the desktop app and in the Terminal. Hardware: NVIDIA on Windows; NVIDIA on Linux; AMD on Windows; AMD on Linux. Package present but not tested: NVIDIA DGX Spark. Does not run on: Intel Arc on Linux, Apple silicon. Per-hardware limits and measurements: CAPABILITIES.md.<!-- /cap -->
- Check the chosen pack's memory and disk needs. Do not reuse a Flash-Next estimate for every family. Unified memory is one pool, not RAM plus VRAM. A completed download does not establish that a model can run.
- Keep the default local-only access. Share the server over a network only when the user asks; recommend an API key
beyond localhost and explain any deliberate use of
--no-api-key. - Explain substantial downloads and follow the user's existing authorization and network/storage constraints. Do not install drivers or system build tools as an unannounced side effect of a normal Terminal install.
2. Install the Terminal
The installer downloads a private Python runtime and Control, verifies the release checksums and signed feed, and installs into the user's home folder. The engine and model are acquired during launch.
Linux / Mac:
curl -fsSL --connect-timeout 15--max-time 120 https://github.com/Niko1221/Strata/releases/latest/download/install.sh-o install.sh&& sh install.sh
Windows PowerShell:
irm -TimeoutSec120 https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 |iex
Open a new terminal on Windows. On Linux and Mac, use the full executable path printed by the installer if
~/.local/bin is not on PATH. Confirm with strata --version and strata launch --help.
Do not search for START-HERE.bat in the installed app or Terminal: it is not part of them.
3. Select a compatible pack and inspect the plan
Keep the user's model and provider choice. Otherwise prefer ISTA-DASLab → Unsloth → Gyro → others, when a pack fits the selected model and computer. This is the maintainer's recommendation policy; current executable defaults can differ. Gyro is a memory-saving fallback, currently slower, not a general speed recommendation.
| Choice | Explicit launch selection |
|---|---|
| ISTA-DASLab Flash-Next | --family qwen --model q2_0 (or a compatible IQ2_XS / IQ3_XXS / IQ3_S pack) |
| ISTA-DASLab Coder | --family coder --model IQ1_M |
| Unsloth Flash-Next | --family unsloth --model UD-Q4_K_XL (check the pack's backend limits) |
| Gyro Flash-Next | --family gyro --model Gyro-S |
| Unsloth Qwen3.6 | --family qwen36 --model UD-Q4_K_XL |
These are choices, not an instruction to install every row. The full list and memory estimates are in MODELS.md. For example, inspect the ISTA-DASLab Q2_0 plan:
strata launch--family qwen--model q2_0--context 32k--plan --output json
Check the resolved family, model, storage folder, context, picture reader and missing downloads. If the plan names an unavailable backend, do not continue as though compatibility were confirmed. Intel Arc has a released Linux engine, but model preparation still has special requirements: INTEL_ARC.md.
4. Start it
After the plan matches the user's computer and requested setup:
strata launch--family qwen--model q2_0--context 32k--yes --no-tui
--no-tui prints the address and returns after startup while the server continues in the background. Keep the
launch process alive during model acquisition; large downloads and preparation can take a long time. Poll progress
and logs rather than promising a universal startup time. Repeating an interrupted launch resumes completed work.
Useful options:
| Option | Meaning |
|---|---|
--model-path PATH | Use existing supported model files; a matching filename alone does not prove compatibility |
--data-dir PATH | Folder for new downloads; existing files stay put unless --move-data is also given |
--vision on|off|gpu|cpu | Picture reading, subject to model and packaged-reader support |
--gpu 0,1 | Selected GPUs; do not use source setup's --gpus spelling here |
--parallel N | Requested concurrent slots, 1–8; check what actually fits and starts |
--save-preset NAME | Keep these launch choices for later |
--open | Open the server's browser page after it starts |
--restart | Replace an already running launch with different settings; interrupts active answers |
--yes does not authorize a restart by itself. When a model is already running, inspect its state before using
--restart or --stop. Use strata launch --help for the installed release's full list.
5. Verify the running service
strata launch--status strata doctor--live
Check the printed address and model, then query /health and /v1/models at that address. With the default port:
Linux / Mac:
curl -fsS http://127.0.0.1:8080/healthcurl -fsS http://127.0.0.1:8080/v1/models
Windows PowerShell:
Invoke-RestMethod http://127.0.0.1:8080/healthInvoke-RestMethod http://127.0.0.1:8080/v1/models
Use the configured credential for protected endpoints. Confirm the model is loaded, then send a real request or run the relevant tool check below. Exit code 0 alone is insufficient: launch can finish after downloading a model without starting it when no usable engine is available. Report that as downloaded, not installed and verified.
6. Connect a tool
strata connectstrata connect opencodestrata connect opencode--check --output json
The first command lists adapters; the second prints settings; the third sends a prompt and tool-call check. Use the
adapter the user actually needs. --write changes that tool's configuration and keeps a backup; use it within the
user's authorization. Printed configuration and a previous vendor test are not a successful current-server check.
- OpenAI-compatible clients: use the printed server address plus
/v1. - Anthropic-compatible clients: use the server root; the client adds
/v1/messages. - Use the actual API key when enabled. Tool identifiers and limits: connection guide.
- Flash-Next's template defaults to thinking on with
xhigheffort;highmaps toxhigh. Requests, shared Chat settings and run-config settings can override defaults. Do not assert a sampling configuration without inspecting it.
7. Handoff, update or stop
Tell the user which model is running, where its files are, its address, how the tool check went, and any limitations.
strata launch--preset NAMEstrata launch--status strata launch--stop strata update--check
Stop active models before strata update. Very old Terminals require rerunning the installer; see
updating. Show credentials only to the intended user; redact them from shared logs and reports.
8. Source-only and unsupported setups
A source build is a separate workflow: SOURCE_INSTALL.md. START-HERE.bat, SETUP.bat,
UPDATE.bat, setup.sh and generated run-<model> scripts belong to that workflow. Do not pass their flags to
strata launch, promise a source build will support an unknown model, or describe a source-only command as an
installed-app command. If a required backend or artifact is missing, say exactly what is missing.
1# Set up Strata for a user 2 3Use this guide when a user asks an AI agent to install Strata (version 0.2.15). There are two release routes. Pick 4one; do not start from a source checkout. 5 6- **The Terminal and `strata launch`** (below). This is the route for an agent that has a shell. 7- **The desktop app.** One installer per system: `Strata-0.2.15-windows-x64-setup.exe`, 8`Strata-0.2.15-linux-x86_64.AppImage`, `Strata-0.2.15-macos-arm64.dmg`, from the 9 [latest release](https://github.com/Niko1221/Strata/releases/latest). The Windows and Linux installers carry no 10 engine: on first start the app shows the engine for the user's graphics card and downloads it, or installs a file the 11 user already has ("I already have the file"). Details: [INSTALL.md](INSTALL.md). 12 13 Model availability, provider preference and API details are in [AI_REFERENCE.md](AI_REFERENCE.md). 14 15## 1. Check the computer and the requested model 16 17- Check OS, CPU architecture, graphics cards, driver, available RAM/VRAM and free disk space. 18- Use the [hardware guides](INSTALL.md#what-you-need). Linux and Windows packages are x86-64; Mac packages are 19Apple Silicon and need macOS 15 or newer. Older GPUs, Intel Arc and low-memory machines have specific limits. 20- Model support is separate from hardware support. <!-- cap:summary:qwen36 -->Qwen3.6-35B-A3B runs in the desktop app and in the Terminal. Hardware: NVIDIA on Windows; NVIDIA on Linux; AMD on Windows; AMD on Linux. Package present but not tested: NVIDIA DGX Spark. Does not run on: Intel Arc on Linux, Apple silicon. Per-hardware limits and measurements: [CAPABILITIES.md](CAPABILITIES.md#qwen36).<!-- /cap --> 21- Check the **chosen pack's** memory and disk needs. Do not reuse a Flash-Next estimate for every family. 22Unified memory is one pool, not RAM plus VRAM. A completed download does not establish that a model can run. 23- Keep the default local-only access. Share the server over a network only when the user asks; recommend an API key 24beyond localhost and explain any deliberate use of `--no-api-key`. 25- Explain substantial downloads and follow the user's existing authorization and network/storage constraints. 26Do not install drivers or system build tools as an unannounced side effect of a normal Terminal install. 27 28## 2. Install the Terminal 29 30The installer downloads a private Python runtime and Control, verifies the release checksums and signed feed, and 31installs into the user's home folder. The engine and model are acquired during launch. 32 33**Linux / Mac:** 34 35``` sh 36curl -fsSL --connect-timeout 15 --max-time 120 https://github.com/Niko1221/Strata/releases/latest/download/install.sh -o install.sh && sh install.sh 37``` 38 39**Windows PowerShell:** 40 41``` powershell 42irm -TimeoutSec 120 https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 | iex 43``` 44 45Open a new terminal on Windows. On Linux and Mac, use the full executable path printed by the installer if 46`~/.local/bin` is not on PATH. Confirm with `strata --version` and `strata launch --help`. 47Do not search for `START-HERE.bat` in the installed app or Terminal: it is not part of them. 48 49## 3. Select a compatible pack and inspect the plan 50 51Keep the user's model and provider choice. Otherwise prefer **ISTA-DASLab → Unsloth → Gyro → others**, when a pack 52fits the selected model and computer. This is the maintainer's recommendation policy; current executable defaults 53can differ. Gyro is a memory-saving fallback, currently slower, not a general speed recommendation. 54 55| Choice | Explicit launch selection | 56| --- | --- | 57| ISTA-DASLab Flash-Next | `--family qwen --model q2_0` (or a compatible IQ2_XS / IQ3_XXS / IQ3_S pack) | 58| ISTA-DASLab Coder | `--family coder --model IQ1_M` | 59| Unsloth Flash-Next | `--family unsloth --model UD-Q4_K_XL` (check the pack's backend limits) | 60| Gyro Flash-Next | `--family gyro --model Gyro-S` | 61| Unsloth Qwen3.6 | `--family qwen36 --model UD-Q4_K_XL` | 62 63These are choices, not an instruction to install every row. The full list and memory estimates are in 64[MODELS.md](MODELS.md). For example, inspect the ISTA-DASLab Q2_0 plan: 65 66``` sh 67strata launch --family qwen --model q2_0 --context 32k --plan --output json 68``` 69 70Check the resolved family, model, storage folder, context, picture reader and missing downloads. If the plan names 71an unavailable backend, do not continue as though compatibility were confirmed. Intel Arc has a released Linux 72engine, but model preparation still has special requirements: [INTEL_ARC.md](INTEL_ARC.md). 73 74## 4. Start it 75 76After the plan matches the user's computer and requested setup: 77 78``` sh 79strata launch --family qwen --model q2_0 --context 32k --yes --no-tui 80``` 81 82`--no-tui` prints the address and returns after startup while the server continues in the background. Keep the 83launch process alive during model acquisition; large downloads and preparation can take a long time. Poll progress 84and logs rather than promising a universal startup time. Repeating an interrupted launch resumes completed work. 85 86Useful options: 87 88| Option | Meaning | 89| --- | --- | 90| `--model-path PATH` | Use existing supported model files; a matching filename alone does not prove compatibility | 91| `--data-dir PATH` | Folder for new downloads; existing files stay put unless `--move-data` is also given | 92| `--vision on\|off\|gpu\|cpu` | Picture reading, subject to model and packaged-reader support | 93| `--gpu 0,1` | Selected GPUs; do not use source setup's `--gpus` spelling here | 94| `--parallel N` | Requested concurrent slots, 1–8; check what actually fits and starts | 95| `--save-preset NAME` | Keep these launch choices for later | 96| `--open` | Open the server's browser page after it starts | 97| `--restart` | Replace an already running launch with different settings; interrupts active answers | 98 99`--yes` does not authorize a restart by itself. When a model is already running, inspect its state before using 100`--restart` or `--stop`. Use `strata launch --help` for the installed release's full list. 101 102## 5. Verify the running service 103 104``` sh 105strata launch --status 106strata doctor --live 107``` 108 109Check the printed address and model, then query `/health` and `/v1/models` at that address. With the default port: 110 111**Linux / Mac:** 112 113``` sh 114curl -fsS http://127.0.0.1:8080/health 115curl -fsS http://127.0.0.1:8080/v1/models 116``` 117 118**Windows PowerShell:** 119 120``` powershell 121Invoke-RestMethod http://127.0.0.1:8080/health 122Invoke-RestMethod http://127.0.0.1:8080/v1/models 123``` 124 125Use the configured credential for protected endpoints. Confirm the model is loaded, then send a real request or 126run the relevant tool check below. **Exit code 0 alone is insufficient:** launch can finish after downloading a model 127without starting it when no usable engine is available. Report that as downloaded, not installed and verified. 128 129## 6. Connect a tool 130 131``` sh 132strata connect 133strata connect opencode 134strata connect opencode --check --output json 135``` 136 137The first command lists adapters; the second prints settings; the third sends a prompt and tool-call check. Use the 138adapter the user actually needs. `--write` changes that tool's configuration and keeps a backup; use it within the 139user's authorization. Printed configuration and a previous vendor test are not a successful current-server check. 140 141- OpenAI-compatible clients: use the printed server address plus `/v1`. 142- Anthropic-compatible clients: use the server root; the client adds `/v1/messages`. 143- Use the actual API key when enabled. Tool identifiers and limits: [connection guide](TERMINAL_LAUNCH.md#connect-your-apps-strata-connect). 144- Flash-Next's template defaults to thinking on with `xhigh` effort; `high` maps to `xhigh`. Requests, shared Chat 145settings and run-config settings can override defaults. Do not assert a sampling configuration without inspecting it. 146 147## 7. Handoff, update or stop 148 149Tell the user which model is running, where its files are, its address, how the tool check went, and any limitations. 150 151``` sh 152strata launch --preset NAME 153strata launch --status 154strata launch --stop 155strata update --check 156``` 157 158Stop active models before `strata update`. Very old Terminals require rerunning the installer; see 159[updating](INSTALL.md#updating). Show credentials only to the intended user; redact them from shared logs and reports. 160 161## 8. Source-only and unsupported setups 162 163A source build is a separate workflow: [SOURCE_INSTALL.md](SOURCE_INSTALL.md). `START-HERE.bat`, `SETUP.bat`, 164`UPDATE.bat`, `setup.sh` and generated `run-<model>` scripts belong to that workflow. Do not pass their flags to 165`strata launch`, promise a source build will support an unknown model, or describe a source-only command as an 166installed-app command. If a required backend or artifact is missing, say exactly what is missing.