Description
Locus for Mac: your local AI from your phone: LM Studio, Ollama or an OpenAI-compatible server (llama.cpp, KoboldCpp, Jan), one per chat. Locus finds your llama.cpp or KoboldCpp and can start its own, with GGUF models the phone downloads. Starts with LM Studio; installs itself on first run.
Stats
9 Downloads
Description
Locus for Mac: your local AI from your phone: LM Studio, Ollama or an OpenAI-compatible server (llama.cpp, KoboldCpp, Jan), one per chat. Locus finds your llama.cpp or KoboldCpp and can start its own, with GGUF models the phone downloads. Starts with LM Studio; installs itself on first run.
Stats
9 Downloads
Last updated
Updated 8 days agobyProject Files
README
Locus lets you use the AI models of LM Studio on your Mac from your phone. Your chats and files stay on your Mac.
Status: preview. This version runs on the developer's own machines only. The public release, together with the Locus app for iPhone, is coming. Installing this plugin now will not set Locus up on your computer.
In Terminal:
lms get mjaafar/locus-mac
In Terminal, run locus pair. A QR code appears: scan it with the Locus app. The code works once, for 5 minutes. Anyone who sees your screen within those 5 minutes could pair, so keep it to yourself.
The first time Locus starts and no phone is paired yet, its pairing page opens in your browser by itself. The page is on your Mac only, at 127.0.0.1:8765/pair, or at the next free port if another program uses 8765. At each start, a notification says that Locus is ready or running. While no phone is paired, a small window also asks once per login: Show QR opens the pairing page, Later closes it.
To pair a second phone, run locus pair again and scan the new QR with that phone. Each phone gets its own key, so you can sign one out without touching the others.
To turn the notification and the page off, set "pair_notice": false in Locus's settings file, settings.json in the run folder of Locus's folder (below).
Besides LM Studio, Locus can start llama.cpp (its llama-server) or KoboldCpp itself, and stop it again. Install the
tool yourself (brew install llama.cpp is the easiest: macOS does not block Homebrew's copy).
New: when you start the tool yourself, Locus finds it running under your own account and registers it by itself, with a notification on the Mac; no command and no restart are needed. On macOS this finding was tested against stand-ins only so far: if Locus does not find yours, tell it where the tool is, in Terminal (it takes effect at once, without a restart):
locus manage llamacpp --exe "$(brew --prefix)/bin/llama-server"
For KoboldCpp, its Mac program, koboldcpp-mac-arm64, as you downloaded it: locus manage koboldcpp --exe followed
by its full path. locus manage llamacpp --off (or koboldcpp) says no: Locus remembers that program and does not
register it again by itself; locus manage llamacpp --auto takes the no back.
Then, on your phone, in Models: Get a model searches Hugging Face and downloads GGUF models into Locus's models
folder (locus manage shows where); Load starts the tool with the model, Unload stops it. On the Mac, locus models lists the downloaded models and locus models rm followed by a model's id removes one. locus restart waits
for a running download first.
Each tool is one row on the phone. "llama.cpp" stands for a llama-server you started yourself and Locus's own copy together, and its line says which one this chat uses (the same for KoboldCpp). While your own copy is in use, Get a model works there too; the models go into Locus's models folder, and Load asks once, then Locus starts its own copy with that model for this chat. Your own copy keeps running and keeps its memory: quit it yourself to free that memory. Use under "Your own copy on this PC" goes back to yours.
locus use llamacpp (or koboldcpp, or the name locus ls shows, for example llama-server) in
Terminal. Changing the default moves no chat and stops no tool.locus ls
and locus status do not wait on a busy tool either.Limits: each tool Locus starts runs one model at a time. Before a start Locus checks the model fits in the memory macOS can give at once (on Apple silicon the graphics share it). A phone cannot choose the program, its options or a folder, and cannot remove a model. Tried for real on the developer's own computers on 2026-11-22: llama.cpp started by Locus (macOS and Windows), and this version with each chat's own tool, installed on macOS and Windows. A model loaded in KoboldCpp started by Locus has not been tried on a real Mac yet. Tested against stand-ins only, not yet with real phones: two phones answering from two tools at once, the shared-memory questions, and Load while your own copy is in use. Locus does not find Strata on macOS yet.
/speak send on (or off)
in a chat, changes it./voice) work on
Windows only for now: on macOS, locus voice get refuses and says why, and the phone shows no Listen.Locus starts with LM Studio.
~/Library/LaunchAgents that starts LM Studio's server when you log in. Locus then starts with it. No administrator password is needed. The uninstall removes it.Everything is in ~/Library/Application Support/Locus: the program, your chats and its keys. The keys are files that only your user can read, in a folder only your user can open. An administrator of the Mac can still read them.
The locus command is put in ~/.local/bin, and the installer adds that folder to your PATH in your shell's
profile (~/.zprofile for zsh, macOS's default), in a marked block that the uninstall takes out. Open a new Terminal
window after the install to type locus.
Sending files from the phone to the Mac is off on macOS for now.
Your chats stay on your Mac. The phone reaches it through an encrypted tunnel. Today that encryption ends on the relay server that forwards the traffic; end-to-end encryption is planned. Only when you ask for it does Locus reach other places: model downloads from Hugging Face, and web pages if you turn on web reading in a chat.
/usr/bin/python3. If they are missing, run xcode-select --install in Terminal once.In Terminal:
sh ~/"Library/Application Support/Locus/installer/main/uninstall.sh"
It stops Locus and removes its tunnel login, the locus command, its PATH block and its login item. Your chats stay unless you add --purge. Then remove the plugin in LM Studio.
For Windows, see locus-win; for Linux, locus-linux (a preview too).