An Apple Silicon engine that runs local LLMs up to 3x faster.
Locals is built with a single mission: to free you from cloud providers and run frontier-class models locally without needing massive compute resources.
Run our engine, and your coding harnesses and autonomous agents can immediately use it as a drop-in replacement for Ollama, MLX-LM, or llama.cpp. Your work, powered by your own local intelligence.
Under the hood is a theoretical breakthrough in complexity theory, enabling substantially faster algorithms for DeltaNet architectures, grammar-constrained decoding, tool calling, and structured outputs.
Get started
You need a Mac with Apple silicon (M1 or newer) and macOS 14 or newer. A Mac with 16 GB of memory gives the best results. With 8 GB, use one of the smaller models.
1. Install
Open the Terminal app and run:
curl -LsSf https://raw.githubusercontent.com/Generated-Computers/ Locals/ main/ install.sh | sh
Or, if you use uv: uv tool install --python 3.12 locals
2. Start
Open a new Terminal window and point Locals at one of your projects:
locals code ~/my-project
The first time, Locals downloads a model that suits your Mac (about 3 GB), starts it in the background and opens the OpenCode assistant in your project. After that it starts in seconds. Nothing leaves your computer.
3. Connect your agents
One command connects a tool: locals launch claude for Claude Code, locals launch cline for Cline, and the same for Aider, OpenHands, Hermes Agent, Kilo Code and OpenClaw. locals launch list shows every tool.
For your own code, any app that talks to OpenAI, Anthropic or Ollama works with http://127.0.0.1:8321/v1. Locals installs next to Ollama, LM Studio, mlx-lm and llama.cpp and changes nothing of theirs.
To update, run the install command again. Full documentation on GitHub
Up to 3x faster with many agents at once.
mlx-lm is the standard way of running models on a Mac. It writes 87 tokens per second for four requests at once, and the same 87 for eight. Locals keeps getting faster as agents are added.
Measured on a MacBook Pro with an M2 Pro and 16 GB, with Qwen3.5-4B.
Many requests at once
Tokens per second that all requests write together. Higher is better.
Bigger models gain as much. On an M2 Max with 96 GB, Qwen3.5-9B runs 3.0x faster and a 27B model 3.1x faster with eight requests at once.
Real agent work
| Without Locals | With Locals | ||
|---|---|---|---|
| 8 agents asking at once, time to the first word | 42 s (Ollama) | 1.6 s | 26x sooner |
| One agent rewriting a 100-line file | 43 tokens/s (mlx-lm) | 128 tokens/s | 3.0x |
| An agent's first request after a restart | 16 s (mlx-lm) | 1.7 s | 9.6x sooner |
| A follow-up question about a 48,000-token document | Out of memory (mlx-lm) | 0.6 s | |
| 16 coding agents calling tools, from our paper | 75 s (mlx-lm) | 29 s | 2.5x |
Against other servers
8 requests at once with 1,000-token prompts, Qwen3.5-4B on an M2 Pro. Measured with SemiAnalysis's InferenceX client.
| Time to the first word | Tokens per second | |
|---|---|---|
| Locals | 1.6 s | 110 |
| llama.cpp | 2.1 s | 71 |
| Magnitude | 16.1 s | 42 |
| Ollama | 41.8 s | 34 |
We also have an engine for GPU servers.
The same idea for businesses that run LLMs on their own GPUs, built for agentic and multi-agent workloads.
Learn about the GPU inference engine