Repository navigation
Installing
The installer is written for a Mac that has nothing set up on it. One step does need full Xcode — the Metal compiler — and that is the only part you have to do before running it. You do not need to know anything about Swift.
If you would rather not build anything, the Releases
page carries a prebuilt archive for every release.
The current release is 1.2, which ships ChatBots-1.2-macos-arm64.tar.gz and its .sha256
beside it. Replace the version in these four lines with whichever release you are installing:
shasum -a 256 -c ChatBots-1.2-macos-arm64.tar.gz.sha256 # it should print: OK
tar -xzf ChatBots-1.2-macos-arm64.tar.gz
xattr -dr com.apple.quarantine ChatBots-1.2-macos-arm64/ChatBots.app
open ChatBots-1.2-macos-arm64/ChatBots.appThe checksum for 1.2 is 9be43f9209cae3a27e5a77abdfb2b1004614d5c48e5c186cd9f1f0e58763abdd, for
an archive of 63,117,866 bytes — the .sha256 file beside it is the authority, and the release
notes quote the same
value.
1.2 changes no program code. It is a repository-process release, so if you are already running 1.1 there is nothing here to upgrade for. 1.1 is the release that follows the September 2026 audit, and the change worth knowing about before you install it is that the desktop app refuses to talk to a process on the engine's port that cannot prove it is this run's engine — see Troubleshooting.
The archive holds the app, the engine and the transport probe on their own in bin/, the licences,
and README-binaries.txt describing them. Three things it is not:
-
Not Intel and not universal. It is native
arm64and needs macOS 26 or newer;lipo -archs ChatBots-1.2-macos-arm64/ChatBots.app/Contents/MacOS/ChatBotsprintsarm64. -
Not notarised. There is no Apple Developer ID behind it, so it is ad-hoc signed and Gatekeeper
refuses the first launch until the
xattrline above clears the quarantine flag. The checksum is what tells you the download arrived intact. -
Not the models. Weights are a separate 3 GB download and are not part of any release, so the
app starts and reports that no checkpoint is available. In a checkout,
bash tools/install.shfetches the one it ships with; Choosing models says where a checkpoint has to live if you would rather place one yourself.
If you would rather have the installer fetch everything for you, skip to the next section — it builds the same app on your Mac and downloads the models while it is at it.
Check four things:
| Why it matters | |
|---|---|
| Is this an Apple silicon Mac? Apple menu → About This Mac. It should say Chip: Apple M1 (or M2–M6). If it says Intel, the models cannot run here | The models run on the GPU through Apple's MLX framework, which needs Apple silicon |
| Is it running macOS 26 or newer? Apple menu → About This Mac | The desktop app talks to the engine over WebTransport, which needs macOS 26. Package.swift declares .macOS(.v26) and the installer refuses an older system |
| Is there about 8 GB of free space? Apple menu → System Settings → General → Storage | The checkpoint is about 3 GB, and the build needs a few more |
Is Xcode 27 installed? Open the App Store and search for Xcode, or check /Applications/Xcode.app
|
The Metal compiler is a separate Xcode component, and only full Xcode can download it. The Command Line Tools are not enough |
Xcode 27 does not ship the Metal compiler; it is a separate component of about 840 MB. Without it every build stops on the first GPU kernel with
error: cannot execute tool 'metal' due to missing Metal Toolchain
Run this once, in Terminal, before anything else:
sudo xcode-select -s /Applications/Xcode.app
xcodebuild -downloadComponent MetalToolchainsudo is only needed for the first line, and only if Xcode is not already the selected developer
directory. The second line prints its progress and returns to the prompt when it is done. Once you
have cloned the project, bash tools/check-metal.sh runs the compiler rather than looking for it —
xcrun --find metal prints a path even when the component is missing, so it is not a way to tell.
Open Terminal (press ⌘-Space, type Terminal, press Return) and paste these three lines:
git clone https://github.com/Pummelchen/ChatBots.git
cd ChatBots
bash tools/install.shThen wait. The first run takes a while — most of it is the 3 GB download.
-
Checks the machine — Apple silicon, the macOS version from
Package.swift, at least 8 GB free, and that it can reachhuggingface.co. It stops early with an explanation if any of these would make the app useless anyway. Refusing is better than downloading 3 GB that cannot work. -
Finds a Swift toolchain. If
swiftis not on the PATH, it runsxcode-select --install; a dialog may appear and download about 1 GB. Accept it and let it finish — the installer waits up to twenty minutes. Everything here builds with Swift 6.4. -
Checks the Metal compiler by running it, and stops with the
xcodebuildcommand above if the component is missing. -
Downloads the checkpoint the app ships with —
mlx-community/Qwen3.5-4B-MLX-4bit, about 3 GB — and, when it is running on a terminal, lists the two others in the catalogue and asks whether to fetch them too:2for the abliterated 4B,3for the 9B,allfor both, Enter for neither.bash tools/install.sh --model huihui9banswers that in advance and--models alltakes the whole catalogue (about 12 GB); run from a script or a pipe, the installer fetches the shipped checkpoint alone. Each file's size is read from the server first and checked again after the transfer, so a truncated download is detected rather than accepted. An interrupted download continues where it left off when you run the script again. -
Builds the app with
tools/make-app.sh. Several minutes the first time; the full log isChatBots/.install-build.log. -
Prepares the engine certificate in
ChatBots/.run/, so the first launch does not pause to generate one. - Checks the app's channel to the engine — the WebTransport connection the desktop app uses — and then loads a model and generates a few tokens. This is the important step: it proves the whole chain works on your Mac rather than leaving you to discover a problem later. It is given a five-minute deadline, and a machine busy with something else can hit it.
-
Leaves a launcher at
~/Applications/ChatBots.command, which you can double-click.
You will see:
ChatBots is installed.
To start it, either:
· double-click /Users/you/Applications/ChatBots.command
(in your Applications folder — from Finder, press ⌘⇧A)
· or run: open "/Users/you/Downloads/ChatBots/dist/ChatBots.app"
Double-click the launcher. The first turn takes a few seconds while the model loads.
Four scripts, and each one takes --help:
| Command | What it starts |
|---|---|
bash tools/start-app.sh |
The macOS app, plus an API server so a browser can watch the same conversation |
bash tools/start-web-desktop.sh |
The website, opening a browser at the two-pane desktop layout |
bash tools/start-web-mobile.sh |
The website, opening a browser forced into the phone layout |
bash tools/start.sh |
The engine and website without the app; prints the URL and opens nothing by default |
You can run all of them. They are windows onto the same conversation engine, not separate apps, so a conversation started in one appears in the others.
The two start-web-* scripts, and start.sh without --local-only, listen on every network
interface, so a phone on the same Wi-Fi can open the website — and so can anyone else on that
network, because the API has no password. Add --local-only to keep it on this Mac. The desktop app
itself never faces the network. See Using the website.
Just run the installer again. Every step repairs rather than duplicating: an interrupted download continues, a half-finished build is redone, nothing is downloaded twice. This is the right first response to almost any problem.
Some specific cases:
Install the component and run the installer again:
xcodebuild -downloadComponent MetalToolchainIf that command is not found, full Xcode is not installed. Install Xcode 27 from the App Store first — the Command Line Tools cannot download this component.
Harmless. The installer carries on.
Install the Command Line Tools yourself:
xcode-select --installAccept the dialog, let it finish, then run bash tools/install.sh again.
Run the installer again. It notices which files are incomplete and continues them.
Something else is holding the GPU. The usual culprits are LM Studio, a game, or a leftover process:
pgrep -fl chatbots-cli # anything listed is a leftover; stop itThen run the installer again.
The installer prints the end of the build log and tells you where the full one is,
ChatBots/.install-build.log. The most common causes are a missing Metal component and running out
of disk space mid-build — check Storage in System Settings.
This should not happen, because the app is built on your own Mac and is never quarantined. If you see it, you are opening a copy that came from somewhere else:
xattr -dr com.apple.quarantine /path/to/ChatBots.app| The project | wherever you cloned it — do not move it, the models live inside it |
| The models | ChatBots/models/ |
| The app | ChatBots/dist/ChatBots.app |
| The launcher | ~/Applications/ChatBots.command |
| Installer log | ChatBots/.install.log |
| Build log | ChatBots/.install-build.log |
| Server logs |
ChatBots/.run/engine.log and .run/caddy.log
|
If you move the project folder, run the installer again from the new location and the launcher is rewritten to point at it.
The installer always downloads the shipped checkpoint, because that is what a seat uses by default.
A seat pointed at a cloud endpoint never loads those weights — they stay on disk unused. If you want
to try the app without the 3 GB download, build from source by hand instead of running
tools/install.sh, then set a seat's backend to API; see Using cloud models.