magnitudedev/magnitude

Open source agent with local models built in. Fully private and offline. Works out of the box on any hardware.

What it solves

Magnitude removes the guesswork from running local AI models. Instead of users manually searching for compatible model sizes, quantization levels, and performance estimates, Magnitude automatically profiles the user's hardware to recommend and run the best-fitting models.

How it works

The system profiles the machine's chip, memory, and bandwidth to suggest models with estimated tokens per second. It functions as an open-source inference server that downloads, tunes, and runs models (including GGUF models from Hugging Face). It optimizes performance using speculative decoding and concurrency settings tailored to the hardware. To manage resources, models are loaded just-in-time upon request and unloaded when the system is idle or memory becomes limited.

Who it’s for

Developers building or using AI agents who want a fully private, offline, and free local inference setup without needing to deep technical knowledge of hardware compatibility.

Highlights

  • Hardware-aware recommendations: Automatically profiles hardware to suggest the best models and estimated speeds.
  • Agent-optimized: Specifically tuned for agent workloads with dynamic model loading and unloading.
  • Privacy-first: Operates entirely offline; all prompts, files, and models remain on the local machine.
  • Broad compatibility: Works with various harnesses like Pi, OpenCode, Hermes, and Cline.
  • One-command setup: Simplified installation and configuration via a CLI.

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Dispatch