Description
Locus for Windows: your local AI from your phone: LM Studio, Ollama or an OpenAI-compatible server (llama.cpp, KoboldCpp, Jan), one per chat. Locus finds or starts llama.cpp and KoboldCpp, with GGUF downloads; your PC can read answers aloud. Starts with LM Studio; installs itself on first run.
Stats
18 Downloads
Description
Locus for Windows: your local AI from your phone: LM Studio, Ollama or an OpenAI-compatible server (llama.cpp, KoboldCpp, Jan), one per chat. Locus finds or starts llama.cpp and KoboldCpp, with GGUF downloads; your PC can read answers aloud. Starts with LM Studio; installs itself on first run.
Stats
18 Downloads
Last updated
Updated 8 days agobyProject Files
README
Your LM Studio, from your phone. Locus lets your Android phone or iPhone chat with the models on your PC. Your chats, your files and your models stay on your PC.
lms get mjaafar/locus-winThe first time it runs, Locus installs itself in the background (about a minute): it downloads Python from python.org and its tunnel program (newt) from its official GitHub release, checks each file against the fingerprint built into the plugin, and refuses any file that differs. Then your browser opens the Locus page with an activation QR code. If something fails (no internet, for example), the page says why, and Locus tries again at the next LM Studio start.
Another phone later: the Locus - Pair a phone shortcut on the Desktop, or the "Locus is running" notification
Windows shows when Locus starts, opens the same page. Each pairing code works once and for 5 minutes. Locus starts by
itself with LM Studio. To turn the notification off, set "pair_notice": false in Locus's settings.json (in
%LOCALAPPDATA%\Locus\run).
Besides LM Studio, Locus can start llama.cpp (its llama-server) or KoboldCpp itself, and stop it again. Install the
tool yourself and start it once as usual, from your desktop.
New: Locus finds it running and registers it by itself, and a notification on the PC says so ("Locus found
llama.cpp ..."); no command and no restart are needed. Locus takes a program running under your own account only: a
copy started with "Run as administrator", by a service or under another account is not taken, and Locus says which
and asks you to start it again the usual way. For KoboldCpp's one-file koboldcpp.exe, Locus now prepares its own
copy once, by itself (about a minute, about 1 GB in %LOCALAPPDATA%\Programs\Locus, no window); meanwhile the phone
says "Locus is preparing KoboldCpp for its first start". Your own KoboldCpp keeps running.
You can still tell Locus where a tool is yourself, in a Command Prompt on this PC (it takes effect at once, without a restart):
"%LOCALAPPDATA%\Locus\run\locus.cmd" manage llamacpp --exe "FULL-PATH\llama-server.exe"
The same with manage koboldcpp --exe and the full path of koboldcpp.exe (Locus prepares it the same way).
manage llamacpp --off (or koboldcpp) says no: Locus remembers that program and does not register it again by
itself, also after a restart or an update; 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 (%LOCALAPPDATA%\Locus\data\models; manage llamacpp --models moves it to another folder, then
locus.cmd restart); Load starts the tool with the model, Unload stops it. On the PC, locus.cmd models
lists the downloaded models and locus.cmd models rm followed by a model's id removes one. locus.cmd 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: close it yourself to free that memory. Use under "Your own copy on this PC" goes back to yours.
locus.cmd use llamacpp (or koboldcpp, or the name locus.cmd ls shows, for example
llama-server) on the PC. Changing the default moves no chat and stops no tool.locus.cmd ls and locus.cmd 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 free RAM; it does not count the graphics card's memory. 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 (Windows and macOS), Locus finding llama.cpp and KoboldCpp running and preparing KoboldCpp's one-file program (Windows), and this version with each chat's own tool, installed on Windows and macOS. A model loaded in KoboldCpp started by Locus has not been tried on a real PC 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.
/speak send on (or off)
in a chat, changes it.Your PC can read an answer aloud with its own voice. The voice is made on the PC, not on the phone and not on a web service; the phone only plays the sound. It is optional and not part of the install. To add it, in a Command Prompt on this PC:
"%LOCALAPPDATA%\Locus\run\locus.cmd" voice get
It downloads about 403 MB once (the speech engine, sherpa-onnx, from PyPI; the Kokoro-82M voices from Hugging Face),
checks each file against the size and fingerprint built into Locus, and refuses any file that differs.
locus.cmd voice says whether it is installed and lists the voices; locus.cmd voice rm removes it. Until a voice is
installed, nothing of this shows on the phone.
/voice (what is set now), /voice on or /voice off (spoken answers to spoken messages), /voice list,
/voice emma (a voice by its name), /voice speed 0.8 (from 0.7 to 1.3; 1 is normal). These settings stay on the
phone and never go to the model./voice.Limits: the reading starts when the answer is whole, not while it is being written. On an ordinary processor English is usually made faster than it plays; French and British English can pause between sentences, and a busy PC makes it slower. English and French only: an answer in another language gets "No voice for this language yet." Tried for real on the developer's own Windows PC with the real voice, through a desktop browser; not yet on a real iPhone or Android phone.
About the voices: Kokoro-82M by hexgrad, Apache License 2.0. The French voice was trained on the SIWIS French Speech Synthesis Database (University of Edinburgh), CC BY 4.0. Speech engine: sherpa-onnx (k2-fsa, Apache License 2.0), which includes eSpeak NG (GNU GPL v3), downloaded to your computer from their official sources. Locus's voice runner is open source (Apache-2.0). The voices are computer-generated.
On the developer's own PC, Locus finds Strata by itself, keeps it in the list of tools while it is off, and shows Strata's own models in Models: Download (through Strata's own installer, with Cancel and Resume), Load and Unload, for a phone that may manage devices. On a PC set up from this plugin, Locus does not run Strata's programs yet: it will ask on the PC first, and that comes with a next version (the phone says so). Chatting with Strata works as before. Strata's Download, Load and Unload were tested against stand-ins only, not yet from a real phone.
A Strata started without its picture reader now answers text questions in a chat that holds older pictures (they become a note); a new picture gets a plain refusal.
uninstall.cmd in %LOCALAPPDATA%\Locus (paste that into the Explorer address bar, then double-click the file).
It asks first, frees this PC's activation (you can then activate another PC), signs out your phones and removes
Locus. Your Locus chats and the files your phones sent (the Locus-uploads folder) are kept; run
uninstall.cmd /purge in a terminal to delete them too. Without internet it changes nothing (this PC still holds
your subscription) and says so: run it again once online.