magnitude: Automatic recommendation and execution of local models tailored to your hardware
magnitudedev/magnitude
About the project
Running existing AI agents in a local environment previously required a complex process, from checking hardware specifications to model quantization and inference server configuration. Magnitude automates all these steps by analyzing your PC's chip, memory, and bandwidth to recommend the optimal model. Recommended models are automatically downloaded and executed with settings optimized for inference performance.
It integrates with major coding agents such as Claude Code, Cline, and OpenCode, allowing you to use local LLMs while maintaining your existing workflow. No token costs or API keys are required, and all data is stored locally only. Models are loaded into memory only upon request and automatically unloaded during idle states or when memory is low, maximizing resource efficiency.
It supports macOS and Linux, with Windows support available via WSL. As an open-source project under the Apache 2.0 license, external models such as Hugging Face GGUF models can be freely added. It operates completely offline without an internet connection, making it safe to use in security-critical environments.
magnitudedev/magnitude
Open source inference engine for agents that optimizes itself for your exact hardware. Compiles and tunes its kernels on your device, so open models run up to 2x faster than llama.cpp. Works on Apple Silicon, NVIDIA, AMD, or nothing but a CPU.
Rust