Run a powerful AI coding assistant locally on your Mac without sending data to the cloud.
Process very long documents up to one million words in a single request.
Serve a local API that works with tools expecting OpenAI-compatible requests.
Experiment with different compressed model sizes to balance speed and memory usage.
| pipenetwork/laguna-mlx | 0-bingwu-0/live-interpreter | 010zx00x1/faresnipe | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Python | Python | Python |
| Setup difficulty | hard | moderate | easy |
| Complexity | 4/5 | 2/5 | 2/5 |
| Audience | developer | general | general |
Figures from each repo's GitHub metadata at analysis time.
Requires a Mac with at least 96 GB of unified memory and a 62 GB model download for the balanced 4-bit version.
This repository adapts a large AI model called Laguna, made by a company called Poolside, to run on Apple Silicon Mac computers. The original Laguna model is designed for agentic coding tasks and can work with very long passages of text, up to one million words or tokens at once. The project provides the necessary code to run this model using Apple's MLX framework, which is built for Apple chips. A single Python file contains the model definition, and you register it once before running prebuilt versions of the model that are hosted online. The model uses a design called Mixture of Experts, where it has 256 separate specialist components but only activates about 10 of them for any given piece of text. This keeps the active computing load small, around 8 billion parameters, even though the total model is much larger at 118 billion. The architecture mixes two types of attention across its 48 layers, with some layers looking at the full text and others using a sliding window that focuses on nearby words. It also includes a shared expert that processes every token, plus specific mathematical techniques for handling position and gating. To use it, you install the MLX library and register the model file. The project offers several sizes, from a 2-bit compressed version at 35 gigabytes up to a full precision version at 219 gigabytes. The 4-bit version at 62 gigabytes is listed as the balanced default, and you need a Mac with at least 96 gigabytes of unified memory to run it comfortably. You can generate text from the command line, use a Python script, or run a local server that accepts requests compatible with OpenAI's format. The repository includes scripts to download the original weights, convert them into the different compressed sizes, and upload them. The 2-bit version uses a mixed precision approach because pure 2-bit compression produces incoherent output. By keeping key parts at 4-bit and only compressing the specialist components to 2-bit, the result stays coherent while staying compact. Tests verify the model structure against the original without requiring the full weight download. The code is under an Apache 2.0 license, while the model weights follow a separate license inherited from the original model.
Runs the Laguna 118B AI coding model on Apple Silicon Macs using Apple's MLX framework. Only about 8B parameters are active at once thanks to a Mixture of Experts design, and you can serve it locally with an OpenAI-compatible API.
Mainly Python. The stack also includes Python, Apple MLX, Mixture of Experts.
Code is free to use for any purpose under Apache 2.0, but the AI model weights follow a separate license with their own terms.
Setup difficulty is rated hard, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.