chore: align Compose profile count to 117 and sync Bosalt README for v0.13.0
Browse files
README.md
CHANGED
|
@@ -10,10 +10,11 @@ pinned: false
|
|
| 10 |
|
| 11 |
# basalt — your Mac is the AI lab now.
|
| 12 |
|
| 13 |
-
> Serve, train, quantize, compose and dissect open LLMs, neural speech, OCR and image models on Apple Silicon. One Swift 6.4 binary speaks the **OpenAI API, the Anthropic API and MCP**, and a native macOS 27 Liquid Glass app sits on top. No Python at runtime. No cloud unless you ask for it.
|
| 14 |
|
| 15 |
-
[English](https://github.com/goodmai/basalt/blob/main/README.md) · [Русский](https://github.com/goodmai/basalt/blob/main/README.ru.md)
|
| 16 |
|
|
|
|
| 17 |
[](https://github.com/goodmai/basalt/releases/tag/v0.13.0)
|
| 18 |
[](https://github.com/goodmai/basalt/actions/workflows/release.yml)
|
| 19 |
[](https://github.com/goodmai/basalt/actions/workflows/security-audit.yml)
|
|
@@ -28,7 +29,7 @@ pinned: false
|
|
| 28 |
[](https://github.com/goodmai/basalt/blob/main/docs/benchmarks.md#benchmarks)
|
| 29 |
|
| 30 |
<p align="center"><img src="https://raw.githubusercontent.com/goodmai/basalt/main/images/models-hive.svg" alt="Open models basalt runs: Qwen, Gemma, Ornith, gpt-oss, DeepSeek, Llama" width="240"></p>
|
| 31 |
-
<p align="center"><sub>Runs open-weight models on Apple Silicon. Logit-verified here: Gemma 4, Qwen3.8 and LFM2.5 (the table below); measured and packaged in <a href="https://huggingface.co/goodmai">huggingface.co/goodmai</a>: Ornith, Bonsai, Qwen3.6-35B-A3B, DeepSeek-OCR-2, OpenJev and Laya (see <a href="docs/models.md#verified-models">the models table</a>); gpt-oss and Llama are MLX-compatible. Logos are trademarks of their owners, shown only to indicate compatibility. Anthropic's models are closed-weight, so they are not in the hive; the Anthropic <i>API</i> is supported so that Claude Code can talk to a local model.</sub></p>
|
| 32 |
|
| 33 |
**Five things in one repo:** a local inference server your tools already know how to talk to, LoRA distillation and post-quantization tuning, a docker-compose for multi-model systems, a live X-ray microscope for what happens inside the model, and a native Mac app that puts it all one keystroke away.
|
| 34 |
|
|
@@ -46,8 +47,11 @@ Every model card under [`goodmai`](https://huggingface.co/goodmai) carries a **R
|
|
| 46 |
|
| 47 |
| Model / Stack | Role & footprint on 24 GB Mac | Launch |
|
| 48 |
|---|---|---|
|
| 49 |
-
| [`goodmai/gemma-4-12B-it-qat-4bit`](https://huggingface.co/goodmai/gemma-4-12B-it-qat-4bit) | 12B QAT daily-driver chat & vision (~7.6 GB) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2Fgemma-4-12B-it-qat-4bit&role=chat&lang=en) |
|
| 50 |
-
| [`goodmai/gemma-4-26B-A4B-it-qat-4bit`](https://huggingface.co/goodmai/gemma-4-26B-A4B-it-qat-4bit) | 26B MoE (`A4B`), golden-verified (
|
|
|
|
|
|
|
|
|
|
| 51 |
| [`goodmai/Qwen3.8-27B-QTIP-2.5bpw-MLX`](https://huggingface.co/goodmai/Qwen3.8-27B-QTIP-2.5bpw-MLX) | 27B QTIP 2.5 bpw trellis (10.0 GB, 16k PPL 4.621) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FQwen3.8-27B-QTIP-2.5bpw-MLX&role=chat&lang=en) |
|
| 52 |
| [`goodmai/Qwen3.8-27B-GSQ-RCO-IQ3_S-Basalt-Native`](https://huggingface.co/goodmai/Qwen3.8-27B-GSQ-RCO-IQ3_S-Basalt-Native) | 27B GSQ-RCO native i-quant (11.8 GB, PPL 4.17, 300/300 System One) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FQwen3.8-27B-GSQ-RCO-IQ3_S-Basalt-Native&role=chat&lang=en) |
|
| 53 |
| [`goodmai/Qwen3.6-35B-A3B-8bit`](https://huggingface.co/goodmai/Qwen3.6-35B-A3B-8bit) | 35B MoE in 37.7 GB streamed from SSD at 8.77 tok/s, 0 swap | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FQwen3.6-35B-A3B-8bit&role=moe-stream&lang=en) |
|
|
@@ -58,63 +62,69 @@ Every model card under [`goodmai`](https://huggingface.co/goodmai) carries a **R
|
|
| 58 |
| [`goodmai/OpenJev-Flash-9B-MLX-4bit`](https://huggingface.co/goodmai/OpenJev-Flash-9B-MLX-4bit) | 9B local System One decider (98.9% acc, −77% LLM tokens) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FOpenJev-Flash-9B-MLX-4bit&role=decide&lang=en) |
|
| 59 |
| [`24gb-voice-zonos`](https://github.com/goodmai/basalt/blob/main/docs/compose.md#bundled-hardware-tiered-profiles-526) | Recommended 24 GB Compose stack (Chat + ZONOS3 + Kokoro ANE) | [](https://goodmai-run-with-basalt.static.hf.space/?profile=24gb-voice-zonos&lang=en) |
|
| 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
---
|
| 62 |
|
| 63 |
## Inference: 40B MoE at 67 tok/s, 27B in 7.4 GB, or 37.7 GB MoE with zero swap — behind the APIs you already use
|
| 64 |
|
| 65 |
- **Claude Code on your own GPU in one line.** `ANTHROPIC_BASE_URL=http://localhost:8080 ANTHROPIC_AUTH_TOKEN=local claude` — your real API key is never touched. OpenAI SDKs, OpenCode, Continue, Cline and aider connect over the OpenAI API, Claude Desktop and Cursor over MCP (with per-tool and per-group `--mcp-enable` / `--mcp-disable`, [#488](https://github.com/goodmai/basalt/pull/488)).
|
| 66 |
-
- **Fast on a laptop.** On an M4 Pro with 24 GB: Recursive `Flint-40B-A2.5B` (`oQ3e`) decodes at 67.02 tok/s in 17.61 GB ([#522](https://github.com/goodmai/basalt/pull/522)); Qwen3-4B decodes at 78–89 tok/s; Ternary Bonsai 2 27B fits in 7.4 GB and runs at 20.9–21.5 tok/s, 27.1 with its MTP head and 31–38 with prompt lookup on code ([#239](https://github.com/goodmai/basalt/pull/239), [#263](https://github.com/goodmai/basalt/pull/263)); `.gguf` GSQ-RCO / `i-quant` checkpoints execute directly on custom Metal kernels ([#433](https://github.com/goodmai/basalt/pull/433), [#515](https://github.com/goodmai/basalt/pull/515)).
|
| 67 |
-
- **Models larger than RAM, zero swap.** `Qwen3.6-35B-A3B-8bit` (37.7 GB) decodes at 8.77 tok/s on a 24 GB Mac with 0 swap via batched POSIX AIO and `LIO_NOWAIT` next-layer SSD expert prefetch (`--expert-streaming`, [#477](https://github.com/goodmai/basalt/pull/477), [#478](https://github.com/goodmai/basalt/pull/478), [#516](https://github.com/goodmai/basalt/pull/516)).
|
| 68 |
-
- **Speculative decoding that stays exact.** Prompt lookup gives 1.84–2.66× on code edits (Bonsai 2 27B, [#239](https://github.com/goodmai/basalt/pull/239)) and 3.45–3.62× (Gemma 4 12B, [#265](https://github.com/goodmai/basalt/pull/265)), with greedy output unchanged.
|
| 69 |
- **The next turn costs only its new tokens.** A prefix-tree prompt cache, even for hybrid models: on Ornith-1.5-9B with a 12.6k-token agent prompt, the second turn takes about 1 s instead of about 36 s ([#82](https://github.com/goodmai/basalt/pull/82)).
|
| 70 |
-
- **Long contexts in less memory.** KV quantization with exact zones (`4|8|k8v4`, plus
|
| 71 |
-
- **
|
| 72 |
-
- **A whole local stack.** Tool calls, JSON-schema, regex and grammar output (XGrammar), `Ripple-65B`
|
|
|
|
| 73 |
|
| 74 |
Details: [REST API](https://github.com/goodmai/basalt/blob/main/docs/rest-api.md) · [integrations](https://github.com/goodmai/basalt/blob/main/docs/integrations.md) · [commands and flags](https://github.com/goodmai/basalt/blob/main/docs/commands.md) · [models](https://github.com/goodmai/basalt/blob/main/docs/models.md) · [benchmarks](https://github.com/goodmai/basalt/blob/main/docs/benchmarks.md)
|
| 75 |
|
| 76 |
-
## Training & Quantization:
|
| 77 |
|
| 78 |
-
- **
|
| 79 |
-
- **Post-quantization PV-Tuning.** `basalt models convert --
|
| 80 |
-
- **
|
| 81 |
-
- **Train while you serve.**
|
| 82 |
-
- **Self-training that learns nothing unverified.** `train_experts` collects answers to checkable tasks, keeps only the verified ones, trains a LoRA and reports held-out accuracy before and after.
|
| 83 |
-
- **A quality gate before anything sticks.** A gated adapter stays only if KL and perplexity on held-out prompts stay within limits; a failed gate undoes it bit for bit.
|
| 84 |
-
- **JEPA and conversion.** `basalt models train-jepa` trains a JEPA adapter and projector on multi-view data; `basalt models convert` imports `.gguf` i-quants, merges a LoRA, requantizes or exports HF safetensors.
|
| 85 |
|
| 86 |
Details: [training commands](https://github.com/goodmai/basalt/blob/main/docs/commands.md) · [self-training, distillation and the quality gate](https://github.com/goodmai/basalt/blob/main/docs/research-tools.md#self-training-train_experts)
|
| 87 |
|
| 88 |
-
## Compose:
|
| 89 |
|
| 90 |
-
- **docker-compose, for models.** Local and cloud models,
|
| 91 |
-
- **
|
| 92 |
-
- **Refuses what will not fit.** `basalt compose plan`
|
| 93 |
-
- **
|
| 94 |
-
- **Local judges and cloud budgets.** `OpenJev-Flash-9B-4bit` fits beside Gemma 4 12B in 15.3 GB on a 24 GB Mac, reaching 98.9% triage accuracy while cutting downstream LLM tokens by 77% ([#465](https://github.com/goodmai/basalt/pull/465)), and Laya answers on the Neural Engine in ~11 ms. Answer routes send hard queries to a cloud model while its daily budget lasts: 100% accuracy at $0.035 per 1000 requests, p95 4.8 s vs 10.0 s local only ([#418](https://github.com/goodmai/basalt/pull/418)).
|
| 95 |
-
- **Private by default.** Keys come only from environment variables, and text read from your documents or audio never goes to a cloud model.
|
| 96 |
-
- **Google's Gemini Decision 1 as a decision stage.** `cloud:gemini/gemini-decision-1` answers yes/no, choice and score questions over text, images, audio, video and PDFs in one pass, in front of a local decider ([#449](https://github.com/goodmai/basalt/pull/449)), and `basalt models calibrate-decide` fits local readout temperatures against it ([#504](https://github.com/goodmai/basalt/pull/504)).
|
| 97 |
|
| 98 |
Details: [compose reference and measurements](https://github.com/goodmai/basalt/blob/main/docs/compose.md) · [pipeline presets and memory modes](https://github.com/goodmai/basalt/blob/main/docs/pipelines.md) · [cloud decisions with Gemini](https://github.com/goodmai/basalt/blob/main/docs/cloud-decisions.md)
|
| 99 |
|
| 100 |
## Research: open the model up while it runs
|
| 101 |
|
| 102 |
-
- **Model X-ray,
|
| 103 |
-
- **Reversible
|
| 104 |
-
- **Find the circuit behind a behaviour.** `trace_tokens` and `activation_contrast` rank heads and experts by Cohen's d and AUROC, then a conditional ablation fires only on the tokens that trigger it (#405). `steer_search` and `steer_commit` turn contrastive directions into gated adapters.
|
| 105 |
-
- **The model studies itself.** `introspect` hands the X-ray tools to the served model and records its hypotheses, tests and outcomes.
|
| 106 |
-
- **Papers and hybrid compute in the engine.** CacheBlend (arXiv:2405.16444), EPIC chunk heads (arXiv:2410.15332), L2-norm KV eviction (arXiv:2406.11430), DuoAttention, Token Recycling, Walsh–Hadamard value rotation, and Neural Engine System One / embedding / OCR towers ([#512](https://github.com/goodmai/basalt/pull/512), [#516](https://github.com/goodmai/basalt/pull/516)) — each opt-in, with its measured trade-offs next to its flag.
|
| 107 |
- **Benchmarks that run the model's code.** A five-rung ladder ending in an Earth-to-Moon mission executes the model's own code against unseen inputs, and ARC-AGI runs under official pass@2 rules.
|
| 108 |
|
| 109 |
-
Details: [research tools](https://github.com/goodmai/basalt/blob/main/docs/research-tools.md) · [benchmarks](https://github.com/goodmai/basalt/blob/main/docs/benchmarks.md) · [serve flags](https://github.com/goodmai/basalt/blob/main/docs/commands.md)
|
| 110 |
|
| 111 |
## Basalt for Mac: macOS 27 Liquid Glass, one keystroke or one click away
|
| 112 |
|
| 113 |
- **A native SwiftUI app on a supervised engine.** Built for macOS 27 Liquid Glass ([#479](https://github.com/goodmai/basalt/pull/479)) in English and Russian ([#456](https://github.com/goodmai/basalt/pull/456)): 257 ms warm window, 0 idle wakeups, 7.4 ms p95 per streamed token in a 2,000-message transcript, and 40 ms `⌥Space` quick-ask overhead ([#463](https://github.com/goodmai/basalt/pull/463)).
|
| 114 |
-
- **Compose
|
| 115 |
-
- **
|
| 116 |
-
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
Details: [Basalt for Mac](https://github.com/goodmai/basalt/blob/main/docs/mac-app.md)
|
| 120 |
|
|
@@ -124,6 +134,13 @@ Details: [Basalt for Mac](https://github.com/goodmai/basalt/blob/main/docs/mac-a
|
|
| 124 |
|
| 125 |
Requirements: macOS 27+, Xcode 27.0+ / Swift 6.4 with the Metal toolchain (`xcodebuild -downloadComponent MetalToolchain`), Apple Silicon M1–M4, 2–38 GB of disk depending on the model. Full steps, building from source and the `./basalt-claude` launcher are in [docs/install.md](https://github.com/goodmai/basalt/blob/main/docs/install.md).
|
| 126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
```bash
|
| 128 |
brew tap goodmai/basalt https://github.com/goodmai/basalt
|
| 129 |
brew trust goodmai/basalt
|
|
@@ -142,7 +159,7 @@ Stream a 37.7 GB MoE model on a 24 GB Mac, or run a full multi-model compose sys
|
|
| 142 |
basalt serve --model goodmai/Qwen3.6-35B-A3B-8bit --expert-streaming --rest
|
| 143 |
|
| 144 |
basalt compose plan 24gb-voice-zonos
|
| 145 |
-
basalt compose up 24gb-voice-zonos #
|
| 146 |
```
|
| 147 |
|
| 148 |
The Mac app, from a checkout (registers `basalt://` 1-click links automatically on first open):
|
|
@@ -160,6 +177,8 @@ Local 4B–12B models are not a drop-in replacement for a frontier model — the
|
|
| 160 |
|
| 161 |
## Documentation
|
| 162 |
|
|
|
|
|
|
|
| 163 |
| Topic | Doc |
|
| 164 |
|---|---|
|
| 165 |
| Install, requirements, build from source, `./basalt-claude` | [docs/install.md](https://github.com/goodmai/basalt/blob/main/docs/install.md) |
|
|
@@ -173,13 +192,14 @@ Local 4B–12B models are not a drop-in replacement for a frontier model — the
|
|
| 173 |
| `basalt compose` reference and measurements | [docs/compose.md](https://github.com/goodmai/basalt/blob/main/docs/compose.md) |
|
| 174 |
| Basalt for Mac & `basalt://` deep links | [docs/mac-app.md](https://github.com/goodmai/basalt/blob/main/docs/mac-app.md) |
|
| 175 |
| Model X-ray, telemetry, experiments, self-training, distillation | [docs/research-tools.md](https://github.com/goodmai/basalt/blob/main/docs/research-tools.md) |
|
|
|
|
| 176 |
| Project structure, architecture notes, scripts, dependencies | [docs/architecture.md](https://github.com/goodmai/basalt/blob/main/docs/architecture.md) |
|
| 177 |
| Architecture patterns and modules (Russian) | [docs/ARCHITECTURE_PATTERNS_AND_MODULES.md](https://github.com/goodmai/basalt/blob/main/docs/ARCHITECTURE_PATTERNS_AND_MODULES.md) |
|
| 178 |
| Cloud: OpenRouter setup, cost optimization, model comparison | [docs/cloud/OPENROUTER_SETUP.md](https://github.com/goodmai/basalt/blob/main/docs/cloud/OPENROUTER_SETUP.md) · [docs/cloud/COST_OPTIMIZATION.md](https://github.com/goodmai/basalt/blob/main/docs/cloud/COST_OPTIMIZATION.md) · [docs/cloud/MODEL_COMPARISON.md](https://github.com/goodmai/basalt/blob/main/docs/cloud/MODEL_COMPARISON.md) |
|
| 179 |
| Working on basalt with AI agents | [docs/AI_SETUP.md](https://github.com/goodmai/basalt/blob/main/docs/AI_SETUP.md) · [docs/AGENT_OPERATIONS.md](https://github.com/goodmai/basalt/blob/main/docs/AGENT_OPERATIONS.md) |
|
| 180 |
| Roadmap, privacy policy | [docs/ROADMAP.md](https://github.com/goodmai/basalt/blob/main/docs/ROADMAP.md) · [docs/PRIVACY_POLICY.md](https://github.com/goodmai/basalt/blob/main/docs/PRIVACY_POLICY.md) |
|
| 181 |
| Research notes on agent CLIs, checklists, specs (Russian) | [docs/features.md](https://github.com/goodmai/basalt/blob/main/docs/features.md) · [docs/specs/FEATURES_CHECKLIST.md](https://github.com/goodmai/basalt/blob/main/docs/specs/FEATURES_CHECKLIST.md) · [docs/specs/AUDIT_CHECKLIST.md](https://github.com/goodmai/basalt/blob/main/docs/specs/AUDIT_CHECKLIST.md) · [docs/specs/EMOJI_AS_CODE.md](https://github.com/goodmai/basalt/blob/main/docs/specs/EMOJI_AS_CODE.md) |
|
| 182 |
-
| Contributing, changelog | [CONTRIBUTING.md](
|
| 183 |
|
| 184 |
## License
|
| 185 |
|
|
|
|
| 10 |
|
| 11 |
# basalt — your Mac is the AI lab now.
|
| 12 |
|
| 13 |
+
> Serve, train, quantize, compose and dissect open LLMs, neural speech, video, OCR and image models on Apple Silicon. One Swift 6.4 binary speaks the **OpenAI API, the Anthropic API and MCP**, and a native macOS 27 Liquid Glass app sits on top. No Python at runtime. No cloud unless you ask for it.
|
| 14 |
|
| 15 |
+
[English](https://github.com/goodmai/basalt/blob/main/README.md) · [Русский](https://github.com/goodmai/basalt/blob/main/README.ru.md) · [中文](https://github.com/goodmai/basalt/blob/main/README.zh.md) · [Español](https://github.com/goodmai/basalt/blob/main/README.es.md) · [Français](https://github.com/goodmai/basalt/blob/main/README.fr.md) · [日本語](https://github.com/goodmai/basalt/blob/main/README.ja.md) · [Deutsch](https://github.com/goodmai/basalt/blob/main/README.de.md) · [한국어](https://github.com/goodmai/basalt/blob/main/README.ko.md) · [Bahasa Indonesia](https://github.com/goodmai/basalt/blob/main/README.id.md) · **[Website — bas-alt.vercel.app](https://bas-alt.vercel.app)**
|
| 16 |
|
| 17 |
+
[](https://bas-alt.vercel.app)
|
| 18 |
[](https://github.com/goodmai/basalt/releases/tag/v0.13.0)
|
| 19 |
[](https://github.com/goodmai/basalt/actions/workflows/release.yml)
|
| 20 |
[](https://github.com/goodmai/basalt/actions/workflows/security-audit.yml)
|
|
|
|
| 29 |
[](https://github.com/goodmai/basalt/blob/main/docs/benchmarks.md#benchmarks)
|
| 30 |
|
| 31 |
<p align="center"><img src="https://raw.githubusercontent.com/goodmai/basalt/main/images/models-hive.svg" alt="Open models basalt runs: Qwen, Gemma, Ornith, gpt-oss, DeepSeek, Llama" width="240"></p>
|
| 32 |
+
<p align="center"><sub>Runs open-weight models on Apple Silicon. Logit-verified here: Gemma 4, Qwen3.8 and LFM2.5 (the table below); measured and packaged in <a href="https://huggingface.co/goodmai">huggingface.co/goodmai</a>: Ornith, Bonsai, Qwen3.6-35B-A3B, DeepSeek-OCR-2, OpenJev and Laya (see <a href="https://github.com/goodmai/basalt/blob/main/docs/models.md#verified-models">the models table</a>); gpt-oss and Llama are MLX-compatible. Logos are trademarks of their owners, shown only to indicate compatibility. Anthropic's models are closed-weight, so they are not in the hive; the Anthropic <i>API</i> is supported so that Claude Code can talk to a local model.</sub></p>
|
| 33 |
|
| 34 |
**Five things in one repo:** a local inference server your tools already know how to talk to, LoRA distillation and post-quantization tuning, a docker-compose for multi-model systems, a live X-ray microscope for what happens inside the model, and a native Mac app that puts it all one keystroke away.
|
| 35 |
|
|
|
|
| 47 |
|
| 48 |
| Model / Stack | Role & footprint on 24 GB Mac | Launch |
|
| 49 |
|---|---|---|
|
| 50 |
+
| [`goodmai/gemma-4-12B-it-qat-4bit`](https://huggingface.co/goodmai/gemma-4-12B-it-qat-4bit) | 12B QAT daily-driver chat & vision (~7.6 GB, Ladder 4/5 + Lunar 6/6) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2Fgemma-4-12B-it-qat-4bit&role=chat&lang=en) |
|
| 51 |
+
| [`goodmai/gemma-4-26B-A4B-it-qat-4bit`](https://huggingface.co/goodmai/gemma-4-26B-A4B-it-qat-4bit) | 26B MoE (`A4B`), golden-verified (14.9 GB, 56–63 tok/s, Ladder 4/5) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2Fgemma-4-26B-A4B-it-qat-4bit&role=chat&lang=en) |
|
| 52 |
+
| [`goodmai/gemma-4-31B-it-PV-MACaQ-3.2bpw-MLX`](https://huggingface.co/goodmai/gemma-4-31B-it-PV-MACaQ-3.2bpw-MLX) | 31B dense PV-MACaQ 3.2 bpw for 24 GB Mac (15.1 GB, 14.1 tok/s, Ladder 4/5 + Lunar 4/6) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2Fgemma-4-31B-it-PV-MACaQ-3.2bpw-MLX&role=chat&lang=en) |
|
| 53 |
+
| [`goodmai/Qwen3.8-27B-PV-MACaQ-4bit-Affine-MLX`](https://huggingface.co/goodmai/Qwen3.8-27B-PV-MACaQ-4bit-Affine-MLX) | 27B dense PV-MACaQ 4-bit (15.3 GB, 11.6 tok/s p50, PPL 1.23, MSE −19.5%, Ladder 4/5) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FQwen3.8-27B-PV-MACaQ-4bit-Affine-MLX&role=chat&lang=en) |
|
| 54 |
+
| [`goodmai/Ornith-1.5-35B-A3B-MACaQ-3bit-MLX`](https://huggingface.co/goodmai/Ornith-1.5-35B-A3B-MACaQ-3bit-MLX) | 35B MoE (`A3B`) 3-bit MACaQ (14.6 GB, 64–75 tok/s with `#628` switch WHT) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FOrnith-1.5-35B-A3B-MACaQ-3bit-MLX&role=chat&lang=en) |
|
| 55 |
| [`goodmai/Qwen3.8-27B-QTIP-2.5bpw-MLX`](https://huggingface.co/goodmai/Qwen3.8-27B-QTIP-2.5bpw-MLX) | 27B QTIP 2.5 bpw trellis (10.0 GB, 16k PPL 4.621) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FQwen3.8-27B-QTIP-2.5bpw-MLX&role=chat&lang=en) |
|
| 56 |
| [`goodmai/Qwen3.8-27B-GSQ-RCO-IQ3_S-Basalt-Native`](https://huggingface.co/goodmai/Qwen3.8-27B-GSQ-RCO-IQ3_S-Basalt-Native) | 27B GSQ-RCO native i-quant (11.8 GB, PPL 4.17, 300/300 System One) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FQwen3.8-27B-GSQ-RCO-IQ3_S-Basalt-Native&role=chat&lang=en) |
|
| 57 |
| [`goodmai/Qwen3.6-35B-A3B-8bit`](https://huggingface.co/goodmai/Qwen3.6-35B-A3B-8bit) | 35B MoE in 37.7 GB streamed from SSD at 8.77 tok/s, 0 swap | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FQwen3.6-35B-A3B-8bit&role=moe-stream&lang=en) |
|
|
|
|
| 62 |
| [`goodmai/OpenJev-Flash-9B-MLX-4bit`](https://huggingface.co/goodmai/OpenJev-Flash-9B-MLX-4bit) | 9B local System One decider (98.9% acc, −77% LLM tokens) | [](https://goodmai-run-with-basalt.static.hf.space/?model=goodmai%2FOpenJev-Flash-9B-MLX-4bit&role=decide&lang=en) |
|
| 63 |
| [`24gb-voice-zonos`](https://github.com/goodmai/basalt/blob/main/docs/compose.md#bundled-hardware-tiered-profiles-526) | Recommended 24 GB Compose stack (Chat + ZONOS3 + Kokoro ANE) | [](https://goodmai-run-with-basalt.static.hf.space/?profile=24gb-voice-zonos&lang=en) |
|
| 64 |
|
| 65 |
+
### What's new in v0.13.0 ([changelog](https://github.com/goodmai/basalt/blob/main/CHANGELOG.md))
|
| 66 |
+
|
| 67 |
+
- **Inkling 2 Mini.** The looped MoE is served end to end, with tool calls and prompt-cache reuse across agent turns. `--mtp` with the checkpoint's DSpark head takes decode from 28.0 to 49.8 tok/s on code (M4 Pro, 24 GB), and a 37.5K-token prompt peaks at 14.5 GB with 0 swap ([#650](https://github.com/goodmai/basalt/issues/650)).
|
| 68 |
+
- **NVFP4 from any source.** `models convert --to nvfp4` works from any checkpoint. NVIDIA ModelOpt NVFP4 imports losslessly, on its own at `models download` and `serve`. A MoE with too little KV room streams its experts instead of hitting a Metal OOM ([#677](https://github.com/goodmai/basalt/issues/677)).
|
| 69 |
+
- **New architectures and KV.** Qwen3-Coder-Next with streamed experts ([#642](https://github.com/goodmai/basalt/issues/642)), BailingHybrid / Ling-3.0 ([#672](https://github.com/goodmai/basalt/issues/672)), and an experimental Gemma 4 K=V shared-row KV cache that needs 1.40–1.53× less KV memory at 32K–128K ([#645](https://github.com/goodmai/basalt/issues/645)).
|
| 70 |
+
- **Adapters and context.** PEFT LoRA adapters load from a directory or the Hub and fuse into exported checkpoints ([#675](https://github.com/goodmai/basalt/issues/675)). `--rope-yarn` extends the context of Qwen 3.5–3.8 ([#729](https://github.com/goodmai/basalt/issues/729)).
|
| 71 |
+
- **Translation and self-rewriting.** `basalt:translation` benchmarks (chrF++, COMET, MetricX-24) with TranslateGemma-4 profiles, and experimental self-rewriting on copy-on-write weights (`basalt selfedit`, [#676](https://github.com/goodmai/basalt/issues/676)).
|
| 72 |
+
- **Hardening.** A two-agent defect hunt fixed 64 findings across the REST/MCP perimeter, cloud budgets, scoring, conversion, caches and the Mac app ([#809](https://github.com/goodmai/basalt/pull/809), [#810](https://github.com/goodmai/basalt/pull/810), [#811](https://github.com/goodmai/basalt/pull/811)).
|
| 73 |
+
|
| 74 |
---
|
| 75 |
|
| 76 |
## Inference: 40B MoE at 67 tok/s, 27B in 7.4 GB, or 37.7 GB MoE with zero swap — behind the APIs you already use
|
| 77 |
|
| 78 |
- **Claude Code on your own GPU in one line.** `ANTHROPIC_BASE_URL=http://localhost:8080 ANTHROPIC_AUTH_TOKEN=local claude` — your real API key is never touched. OpenAI SDKs, OpenCode, Continue, Cline and aider connect over the OpenAI API, Claude Desktop and Cursor over MCP (with per-tool and per-group `--mcp-enable` / `--mcp-disable`, [#488](https://github.com/goodmai/basalt/pull/488)).
|
| 79 |
+
- **Fast on a laptop.** On an M4 Pro with 24 GB: Recursive `Flint-40B-A2.5B` (`oQ3e`) decodes at 67.02 tok/s in 17.61 GB ([#522](https://github.com/goodmai/basalt/pull/522)); `Ornith-1.5-35B-A3B-MACaQ-3bit` decodes at 64–75 tok/s in 14.6 GB with our single-pass `MACaQSwitchLinear` WHT + `gatherQuantizedMM` kernel (`3.41×` faster MoE kernel, `+82%` end-to-end on Gemma 4 26B-A4B, [#628](https://github.com/goodmai/basalt/pull/628)); `Qwen3.5-9B-PV-MACaQ-4bit` reaches `43.2 tok/s` p50 (`+52%` speed, `−33%` RAM vs 8-bit) with exact `4/5` Ladder parity; `Gemma-4-31B-it-PV-MACaQ-3.2bpw` fits 31B dense in `15.1 GB` (`14.1 tok/s`, Ladder `4/5` + Lunar `4/6`) on 24 GB Mac where 4-bit OOMs; Qwen3-4B decodes at 78–89 tok/s; Ternary Bonsai 2 27B fits in 7.4 GB and runs at 20.9–21.5 tok/s, 27.1 with its MTP head and 31–38 with prompt lookup on code ([#239](https://github.com/goodmai/basalt/pull/239), [#263](https://github.com/goodmai/basalt/pull/263)); `.gguf` GSQ-RCO / `i-quant` checkpoints execute directly on custom Metal kernels ([#433](https://github.com/goodmai/basalt/pull/433), [#515](https://github.com/goodmai/basalt/pull/515)).
|
| 80 |
+
- **Models larger than RAM, zero swap.** `Qwen3.6-35B-A3B-8bit` (37.7 GB) decodes at 8.77 tok/s on a 24 GB Mac with 0 swap via batched POSIX AIO and `LIO_NOWAIT` next-layer SSD expert prefetch (`--expert-streaming`, [#477](https://github.com/goodmai/basalt/pull/477), [#478](https://github.com/goodmai/basalt/pull/478), [#516](https://github.com/goodmai/basalt/pull/516)), alongside UMA-aware L0/L1/L2 tiered KV caching (`TieredKVHierarchyCore`) and adaptive heterogeneous planning ([#627](https://github.com/goodmai/basalt/pull/627)).
|
| 81 |
+
- **Speculative decoding that stays exact.** Prompt lookup gives 1.84–2.66× on code edits (Bonsai 2 27B, [#239](https://github.com/goodmai/basalt/pull/239)) and 3.45–3.62× (Gemma 4 12B, [#265](https://github.com/goodmai/basalt/pull/265)), with greedy output unchanged; `SpecTr` OT + `Residual Race`, `EAGLE-3`, `SmallM` (`M=2..16`), `Fast-dLLM` + `DFlash` and `DiffuCD` extend lossless multi-draft and block-diffusion decoding ([#593](https://github.com/goodmai/basalt/pull/593), [#603](https://github.com/goodmai/basalt/pull/603)).
|
| 82 |
- **The next turn costs only its new tokens.** A prefix-tree prompt cache, even for hybrid models: on Ornith-1.5-9B with a 12.6k-token agent prompt, the second turn takes about 1 s instead of about 36 s ([#82](https://github.com/goodmai/basalt/pull/82)).
|
| 83 |
+
- **Long contexts in less memory.** KV quantization with exact zones (`4|8|k8v4`, plus `KVarN` 2D balancing, unbiased 1-bit `QJL`, `ChanMix`/`ThinKV`, cross-lingual `HeadKV` RBO transfer, centroid `RQ-KV`, `turbo3|turbo4|turbo8v4` and `polar4` RoPE-pair keys, [#472](https://github.com/goodmai/basalt/pull/472), [#590](https://github.com/goodmai/basalt/pull/590), [#602](https://github.com/goodmai/basalt/pull/602)): a 16k prompt peaks at 1.03 GB instead of 3.11 GB on Qwen3-4B ([#159](https://github.com/goodmai/basalt/pull/159)).
|
| 84 |
+
- **Video, neural TTS, full-duplex speech, music & 2K MLX image synthesis.** Phased 24 GB UMA Video Studio runs `LTX-2.5 AV-DiT`, `Kandinsky 6.0 CrossDiT`, `LingBot-Video MoE` and `Wan 2.2` with causal 3D-VAE, brick-tiled STA Metal kernels and `AVAssetWriter` `.mp4` muxing ([#608](https://github.com/goodmai/basalt/pull/608)–[#611](https://github.com/goodmai/basalt/pull/611)); `LFM2.5-Audio` Mimi/SNAC duplex codecs, `SmartTurn` + `Sortformer`, `MossFormer2`, `Soprano-80M`, `Qwen3ForcedAligner`, `Zyphra/ZONOS3-Mini-hf` (`44.1 kHz`, 43 languages, 2.24 GB, RTF 0.228–0.263, [#527](https://github.com/goodmai/basalt/pull/527)) and `Kokoro-82M` power `/v1/audio/*` ([#604](https://github.com/goodmai/basalt/pull/604)); `FLUX.3` 4-stage compose, `SeedVR2` upscaling, `ACE-Step 1.5` music, `Z-Image-Turbo`, `Iris-3B` and `SANA-1.5` power `/v1/images/*` and `/v1/music/*` ([#542](https://github.com/goodmai/basalt/pull/542), [#605](https://github.com/goodmai/basalt/pull/605)).
|
| 85 |
+
- **A whole local stack + Swift SDK.** Tool calls, JSON-schema, regex and grammar output (XGrammar), Meta `Muse-Glimmer-30B` ([#534](https://github.com/goodmai/basalt/pull/534)), `Ripple-65B`, `Nemotron-3.5-Lightning` ([#522](https://github.com/goodmai/basalt/pull/522)), `DeepSeek-OCR-2` ([#476](https://github.com/goodmai/basalt/pull/476)), `/v1/embeddings`, `/v1/rerank`, `BasaltFoundationModels` Swift SDK ([#606](https://github.com/goodmai/basalt/pull/606)), `swift-huggingface` Xet downloads ([#587](https://github.com/goodmai/basalt/pull/587)), LoRA/PHM/OFT adapters picked per request, and ordered LAN-before-cloud fallback tiers ([#480](https://github.com/goodmai/basalt/pull/480)).
|
| 86 |
+
- **PV-MACaQ 3-bit makes 27B fit and fly on 24 GB.** `Qwen3.8-27B-PV-MACaQ-3bit` passes the Official Ladder 5/5 (including `lunar` 6/6) in 11.5–12.4 GB at 15.6–16.7 tok/s on an M4 Pro, against 4/5 rungs, 15.3 GB and 11.6 tok/s for the stock 4-bit. `--speculative-lookup` now also runs on Qwen3.5/3.8 checkpoints that ship a vision tower (43–51% draft acceptance, +17% on code edits), and `--kv-bits kvarn|kvarn-qjl` (2-bit KV) and `--attention-backend moba` are wired into `basalt serve` and pass a 4k passkey ([#632](https://github.com/goodmai/basalt/issues/632), [#634](https://github.com/goodmai/basalt/issues/634)). Checkpoints: [`goodmai/Qwen3.8-27B-PV-MACaQ-3bit-Affine-MLX`](https://huggingface.co/goodmai/Qwen3.8-27B-PV-MACaQ-3bit-Affine-MLX), [`goodmai/Qwen3.8-27B-Heretic-PV-MACaQ-3bit-Affine-MLX`](https://huggingface.co/goodmai/Qwen3.8-27B-Heretic-PV-MACaQ-3bit-Affine-MLX).
|
| 87 |
|
| 88 |
Details: [REST API](https://github.com/goodmai/basalt/blob/main/docs/rest-api.md) · [integrations](https://github.com/goodmai/basalt/blob/main/docs/integrations.md) · [commands and flags](https://github.com/goodmai/basalt/blob/main/docs/commands.md) · [models](https://github.com/goodmai/basalt/blob/main/docs/models.md) · [benchmarks](https://github.com/goodmai/basalt/blob/main/docs/benchmarks.md)
|
| 89 |
|
| 90 |
+
## Training & Quantization: universal any-to-any converter, PV-MACaQ, distributed & QAT
|
| 91 |
|
| 92 |
+
- **Universal any-to-any quantization converter (`basalt models convert`).** Convert across `MACaQ` (`affine` / `mxfp4` / `moe` 2.8 bpw router-weighted Hessian, [#537](https://github.com/goodmai/basalt/pull/537), [#599](https://github.com/goodmai/basalt/pull/599)), `FlatQuant` & `LIRQuant` ([#588](https://github.com/goodmai/basalt/pull/588), [#594](https://github.com/goodmai/basalt/pull/594)), `SINQ` / `A-SINQ` / `EAQuant` dual-axis normalization ([#561](https://github.com/goodmai/basalt/pull/561)), `QuIP# E8P` 2-bit lattice & `TurboBoA` Babai–LLL ([#589](https://github.com/goodmai/basalt/pull/589)), `QTIP` bitshift trellis (`2.0–3.0 bpw`, [#494](https://github.com/goodmai/basalt/pull/494)), `SVD-LLM V2` / `OBR` ([#592](https://github.com/goodmai/basalt/pull/592)), `.gguf` i-quants & `MACaQ-R`, plus domain-aware `QAT STE` refinement and post-quantization quality/fairness/leakage audit (`QuantizationAuditCore`, [#623](https://github.com/goodmai/basalt/pull/623)) — wired identically across CLI, REST `/v1/models/convert*` and macOS `ConvertModelSheet` ([#546](https://github.com/goodmai/basalt/issues/546)).
|
| 93 |
+
- **Post-quantization PV-Tuning & PV-MACaQ.** `basalt models convert --to macaq:affine:4:64 --pv-tune` alternates continuous scale/bias updates with discrete Hessian flip-refinement over Walsh–Hadamard blocks: on `Qwen3.5-9B`, `8-bit → 4-bit PV-MACaQ` cuts RAM by 33% (`9.97 → 6.68 GB`) and speeds up decode by `+52%` (`27.3 → 41.6 tok/s`, p50 `43.2`) with exact `4/5` Ladder parity (`valKL = 0.0044`); on 2–3-bit checkpoints, PV-Tuning cuts perplexity loss by 8.7–29% in under 3 minutes ([#486](https://github.com/goodmai/basalt/pull/486), [#545](https://github.com/goodmai/basalt/pull/545)).
|
| 94 |
+
- **Distill, post-train & distribute across Macs.** `basalt models distill` distills OpenAI/Anthropic teachers into `lora`, `phm`, `oft` or quantized `AdaLoRA (LR/40)` adapters ([#501](https://github.com/goodmai/basalt/pull/501), [#508](https://github.com/goodmai/basalt/pull/508), [#624](https://github.com/goodmai/basalt/pull/624)); two-stage `SFT → DPO`, zero-copy `ADPO`/`cADPO`, `EMA-QLoRA`, `Self-Appraisal`, and `RLVR` anti-shortcut audit keep preference alignment sharp ([#601](https://github.com/goodmai/basalt/pull/601), [#624](https://github.com/goodmai/basalt/pull/624)); multi-Mac cluster training supports authenticated transport, `DDP + ZeRO-2`, `DiLoCo` + `PowerSGD`, `Zero-Bubble ZB-H1` and `Expert-Parallel MoE` ([#595](https://github.com/goodmai/basalt/pull/595)–[#598](https://github.com/goodmai/basalt/pull/598)).
|
| 95 |
+
- **Train while you serve, with a quality gate.** Time-sliced MCP `distill`, verified-only `train_experts`, `train-jepa`, and bit-for-bit rollback if held-out KL or perplexity regresses.
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
Details: [training commands](https://github.com/goodmai/basalt/blob/main/docs/commands.md) · [self-training, distillation and the quality gate](https://github.com/goodmai/basalt/blob/main/docs/research-tools.md#self-training-train_experts)
|
| 98 |
|
| 99 |
+
## Compose: declarative `basalt.yaml v2.2`, business governance & 117 hardware profiles
|
| 100 |
|
| 101 |
+
- **docker-compose, for models (`basalt.yaml v2.2`).** Local and cloud models, RAM deduplication planner, specialist profiles, `resident` / `on-demand` / `sequential` memory modes, `BusinessOrchestrator` 5-component routing, `LANTERN` semantic caching, `HITL` approval gate (`/v1/mcp/approvals`), and `LAAS-CNRS` neuro-symbolic knowledge core (`SymbolicKnowledgeGraph`) — in one declarative file ([#607](https://github.com/goodmai/basalt/pull/607), [#625](https://github.com/goodmai/basalt/pull/625), [#626](https://github.com/goodmai/basalt/pull/626)).
|
| 102 |
+
- **117 built-in profiles for every Mac (`16 GB` to `256 GB`).** Nine unified-memory tiers (`16gb`, `24gb`, `32-36gb`, `48gb`, `64gb`, `96gb`, `128gb`, `192gb`, `256gb`) × 13 workload archetypes launch in one command (`basalt compose up 24gb-voice-zonos`, [#528](https://github.com/goodmai/basalt/pull/528)).
|
| 103 |
+
- **Refuses what will not fit, changes live.** `basalt compose plan` sizes models from the Hub before download and refuses overflows; `compose diff` / `compose up` hot-reload diffs cleanly; `compose bench` runs declarative benchmark suites and exports leaderboard bundles ([#505](https://github.com/goodmai/basalt/pull/505)).
|
| 104 |
+
- **Local judges, calibrated routing & cloud budgets.** `OpenJev-Flash-9B-4bit` reaches 98.9% triage accuracy while cutting downstream LLM tokens by 77% ([#465](https://github.com/goodmai/basalt/pull/465)), temperature-scaled `CalibratedRouterGate` + `Gemini Decision 1` route hard queries cleanly within daily USD caps ([#418](https://github.com/goodmai/basalt/pull/418), [#622](https://github.com/goodmai/basalt/pull/622)), and perceived document/audio text never leaves your Mac by default.
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
Details: [compose reference and measurements](https://github.com/goodmai/basalt/blob/main/docs/compose.md) · [pipeline presets and memory modes](https://github.com/goodmai/basalt/blob/main/docs/pipelines.md) · [cloud decisions with Gemini](https://github.com/goodmai/basalt/blob/main/docs/cloud-decisions.md)
|
| 107 |
|
| 108 |
## Research: open the model up while it runs
|
| 109 |
|
| 110 |
+
- **Model X-ray, per-token attribution & Belnap epistemic gating.** `model_describe` (reporting `MACaQ` / `FlatQuant` / `LIRQuant` module manifests, [#630](https://github.com/goodmai/basalt/pull/630)), `model_tensors`, `model_tensor`, `kv_inspect`, `trace_run`, `trace_tokens` (with automatic Gemma BOS handling, [#630](https://github.com/goodmai/basalt/pull/630)), `/v1/xray/tokens` per-token logprobs & hallucination risk ([#613](https://github.com/goodmai/basalt/pull/613)), `Score d'influence` head attribution ([#622](https://github.com/goodmai/basalt/pull/622)), Marchenko–Pastur spectra, four-valued Belnap `SIXTEEN_3` evidence states ([#500](https://github.com/goodmai/basalt/pull/500)), complex MVN phasor probes ([#509](https://github.com/goodmai/basalt/pull/509)), Fisher–Rao drift ([#503](https://github.com/goodmai/basalt/pull/503)), and OpenMetrics at `/api/v1/metrics` ([#458](https://github.com/goodmai/basalt/pull/458)).
|
| 111 |
+
- **Reversible surgery & mechanistic circuits.** With `serve --research-tools`: `intervene` (including conditional ablation, GQA group patching, cognitive nullspace & anti-steering guard, [#600](https://github.com/goodmai/basalt/pull/600)), `MAO-SNMF` feature decomposition, `weights_delta`, live `tensor_pack`/`tensor_unpack`, `activation_contrast`, `steer_search`/`steer_commit`, `experiment_compare`, and `introspect`. Every experiment is an undoable overlay with a TTL and journal; weights on disk are never modified.
|
|
|
|
|
|
|
|
|
|
| 112 |
- **Benchmarks that run the model's code.** A five-rung ladder ending in an Earth-to-Moon mission executes the model's own code against unseen inputs, and ARC-AGI runs under official pass@2 rules.
|
| 113 |
|
| 114 |
+
Details: [research tools](https://github.com/goodmai/basalt/blob/main/docs/research-tools.md) · [research foundations (95+ papers)](https://github.com/goodmai/basalt/blob/main/docs/research-foundations.md) · [benchmarks](https://github.com/goodmai/basalt/blob/main/docs/benchmarks.md) · [serve flags](https://github.com/goodmai/basalt/blob/main/docs/commands.md)
|
| 115 |
|
| 116 |
## Basalt for Mac: macOS 27 Liquid Glass, one keystroke or one click away
|
| 117 |
|
| 118 |
- **A native SwiftUI app on a supervised engine.** Built for macOS 27 Liquid Glass ([#479](https://github.com/goodmai/basalt/pull/479)) in English and Russian ([#456](https://github.com/goodmai/basalt/pull/456)): 257 ms warm window, 0 idle wakeups, 7.4 ms p95 per streamed token in a 2,000-message transcript, and 40 ms `⌥Space` quick-ask overhead ([#463](https://github.com/goodmai/basalt/pull/463)).
|
| 119 |
+
- **Compose Video Studio, 2K Image Studio & Universal Converter UI.** Generate and play A/V `.mp4` videos on 24 GB Macs ([#611](https://github.com/goodmai/basalt/pull/611)), edit 2K RGBA images with Before/After slider ([#519](https://github.com/goodmai/basalt/pull/519)), convert & QAT-audit models directly in `ConvertModelSheet` ([#623](https://github.com/goodmai/basalt/pull/623)), and browse/publish on Hugging Face with 10 Hz SSE telemetry & Xet downloads ([#587](https://github.com/goodmai/basalt/pull/587)).
|
| 120 |
+
- **Compose Profiles (`⌥⌘C`), full-duplex voice & `basalt://` 1-click launch.** Auto-recommends top profiles for your Mac's RAM tier (`16–256 GB`, [#528](https://github.com/goodmai/basalt/pull/528)), streams hands-free voice via `SpeechAnalyzer` / `LFM2.5-Audio` / `ZONOS3-Mini` ([#604](https://github.com/goodmai/basalt/pull/604)), and handles `basalt://run?model=...` links, `⌥Space` quick ask, Shortcuts, Spotlight, and notarized `.dmg` packaging.
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
**Basalt.app: Compose running on the engine and the chat with its inspector** (macOS 27 Liquid Glass, dark & light):
|
| 124 |
+
|
| 125 |
+
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/goodmai/basalt/main/docs/assets/screenshots/app-compose-dark.png"><img src="https://raw.githubusercontent.com/goodmai/basalt/main/docs/assets/screenshots/app-compose-light.png" alt="Basalt.app — Compose profile active on the engine" width="49%"></picture></p>
|
| 126 |
+
|
| 127 |
+
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/goodmai/basalt/main/docs/assets/screenshots/app-chat-dark.png"><img src="https://raw.githubusercontent.com/goodmai/basalt/main/docs/assets/screenshots/app-chat-light.png" alt="Basalt.app — chat with the inspector open" width="49%"></picture></p>
|
| 128 |
|
| 129 |
Details: [Basalt for Mac](https://github.com/goodmai/basalt/blob/main/docs/mac-app.md)
|
| 130 |
|
|
|
|
| 134 |
|
| 135 |
Requirements: macOS 27+, Xcode 27.0+ / Swift 6.4 with the Metal toolchain (`xcodebuild -downloadComponent MetalToolchain`), Apple Silicon M1–M4, 2–38 GB of disk depending on the model. Full steps, building from source and the `./basalt-claude` launcher are in [docs/install.md](https://github.com/goodmai/basalt/blob/main/docs/install.md).
|
| 136 |
|
| 137 |
+
**No Xcode, no build — run the prebuilt Apple Silicon binary in two lines** (macOS 27+, Apple Silicon; `mlx.metallib` ships inside the archive; the first run downloads the 12 GB model, use `goodmai/gemma-4-12B-it-qat-4bit` for a lighter start):
|
| 138 |
+
|
| 139 |
+
```bash
|
| 140 |
+
curl -fsSL https://github.com/goodmai/basalt/releases/latest/download/basalt-macos-arm64.tar.gz | tar -xz
|
| 141 |
+
./basalt-macos-arm64/basalt serve --model goodmai/Qwen3.8-27B-PV-MACaQ-3bit-Affine-MLX --speculative-lookup --rest
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
```bash
|
| 145 |
brew tap goodmai/basalt https://github.com/goodmai/basalt
|
| 146 |
brew trust goodmai/basalt
|
|
|
|
| 159 |
basalt serve --model goodmai/Qwen3.6-35B-A3B-8bit --expert-streaming --rest
|
| 160 |
|
| 161 |
basalt compose plan 24gb-voice-zonos
|
| 162 |
+
basalt compose up 24gb-voice-zonos # 117 profiles across 16–256 GB Macs
|
| 163 |
```
|
| 164 |
|
| 165 |
The Mac app, from a checkout (registers `basalt://` 1-click links automatically on first open):
|
|
|
|
| 177 |
|
| 178 |
## Documentation
|
| 179 |
|
| 180 |
+
> Translated documentation is available under `docs/i18n/`: [Русский](https://github.com/goodmai/basalt/blob/main/docs/i18n/ru/) · [中文](https://github.com/goodmai/basalt/blob/main/docs/i18n/zh/) · [Español](https://github.com/goodmai/basalt/blob/main/docs/i18n/es/) · [Français](https://github.com/goodmai/basalt/blob/main/docs/i18n/fr/) · [日本語](https://github.com/goodmai/basalt/blob/main/docs/i18n/ja/) · [Deutsch](https://github.com/goodmai/basalt/blob/main/docs/i18n/de/) · [한국어](https://github.com/goodmai/basalt/blob/main/docs/i18n/ko/) · [Bahasa Indonesia](https://github.com/goodmai/basalt/blob/main/docs/i18n/id/).
|
| 181 |
+
|
| 182 |
| Topic | Doc |
|
| 183 |
|---|---|
|
| 184 |
| Install, requirements, build from source, `./basalt-claude` | [docs/install.md](https://github.com/goodmai/basalt/blob/main/docs/install.md) |
|
|
|
|
| 192 |
| `basalt compose` reference and measurements | [docs/compose.md](https://github.com/goodmai/basalt/blob/main/docs/compose.md) |
|
| 193 |
| Basalt for Mac & `basalt://` deep links | [docs/mac-app.md](https://github.com/goodmai/basalt/blob/main/docs/mac-app.md) |
|
| 194 |
| Model X-ray, telemetry, experiments, self-training, distillation | [docs/research-tools.md](https://github.com/goodmai/basalt/blob/main/docs/research-tools.md) |
|
| 195 |
+
| Mathematical & scientific research foundations (85+ papers & acknowledgements) | [docs/research-foundations.md](https://github.com/goodmai/basalt/blob/main/docs/research-foundations.md) |
|
| 196 |
| Project structure, architecture notes, scripts, dependencies | [docs/architecture.md](https://github.com/goodmai/basalt/blob/main/docs/architecture.md) |
|
| 197 |
| Architecture patterns and modules (Russian) | [docs/ARCHITECTURE_PATTERNS_AND_MODULES.md](https://github.com/goodmai/basalt/blob/main/docs/ARCHITECTURE_PATTERNS_AND_MODULES.md) |
|
| 198 |
| Cloud: OpenRouter setup, cost optimization, model comparison | [docs/cloud/OPENROUTER_SETUP.md](https://github.com/goodmai/basalt/blob/main/docs/cloud/OPENROUTER_SETUP.md) · [docs/cloud/COST_OPTIMIZATION.md](https://github.com/goodmai/basalt/blob/main/docs/cloud/COST_OPTIMIZATION.md) · [docs/cloud/MODEL_COMPARISON.md](https://github.com/goodmai/basalt/blob/main/docs/cloud/MODEL_COMPARISON.md) |
|
| 199 |
| Working on basalt with AI agents | [docs/AI_SETUP.md](https://github.com/goodmai/basalt/blob/main/docs/AI_SETUP.md) · [docs/AGENT_OPERATIONS.md](https://github.com/goodmai/basalt/blob/main/docs/AGENT_OPERATIONS.md) |
|
| 200 |
| Roadmap, privacy policy | [docs/ROADMAP.md](https://github.com/goodmai/basalt/blob/main/docs/ROADMAP.md) · [docs/PRIVACY_POLICY.md](https://github.com/goodmai/basalt/blob/main/docs/PRIVACY_POLICY.md) |
|
| 201 |
| Research notes on agent CLIs, checklists, specs (Russian) | [docs/features.md](https://github.com/goodmai/basalt/blob/main/docs/features.md) · [docs/specs/FEATURES_CHECKLIST.md](https://github.com/goodmai/basalt/blob/main/docs/specs/FEATURES_CHECKLIST.md) · [docs/specs/AUDIT_CHECKLIST.md](https://github.com/goodmai/basalt/blob/main/docs/specs/AUDIT_CHECKLIST.md) · [docs/specs/EMOJI_AS_CODE.md](https://github.com/goodmai/basalt/blob/main/docs/specs/EMOJI_AS_CODE.md) |
|
| 202 |
+
| Contributing, changelog | [CONTRIBUTING.md](CONTRIBUTING.md) · [CHANGELOG.md](https://github.com/goodmai/basalt/blob/main/CHANGELOG.md) |
|
| 203 |
|
| 204 |
## License
|
| 205 |
|