magnitudedev/magnitude
Summary
Magnitude is an open-source inference server that runs AI models locally on your hardware, ensuring privacy and offline use with integration into various agent tools like Pi and Claude Code.
View Cached Full Text
Cached at: 09/03/26, 11:47 AM
magnitudedev/magnitude
Source: https://github.com/magnitudedev/magnitude
Magnitude
Run your agent on local models. Free, private, and offline.
Magnitude is an open source inference server that runs the best local models for your hardware, plugged into the agent you already use. It profiles your machine, recommends the models that fit, then downloads, tunes, and runs them. Works with Pi, OpenCode, Hermes, OpenClaw, Codex, Claude Code, Oh My Pi, and Cline, or use the built-in harness.
⭐ Help us reach more developers and grow the Magnitude community. Star this repo!
Get started
Send this to your agent to walk through models and setup:
Set up local models for me with the Magnitude CLI. Install it with `npm i -g @magnitudedev/cli` (or my package manager), then run `magnitude docs onboarding` and follow the instructions.
Your agent will profile your hardware, walk you through the best local models for it, download the ones you pick, and switch itself over to them.
Magnitude supports macOS and Linux. Windows is supported through WSL.
Want to browse the models directly?
npm i -g @magnitudedev/cli
magnitude setup
The interactive setup lets you browse the recommended models and choose one yourself.
Why Magnitude?
- Free to run: no token costs, API keys, or rate limits
- Fully private and offline: models, prompts, and files stay on your machine
- Agent-first setup: one prompt and your agent walks you through the rest
- Knows your hardware: profiles your chip, memory, and bandwidth
- Recommends what fits: the best models for your machine, with estimated tok/s
- Tuned end to end: speculative decoding, concurrency, all set for your machine
- Models on demand: loaded on request, unloaded when idle or memory fills
- Open source: Apache 2.0, yours to modify
FAQ
What is Magnitude?
An open source inference server that runs the best local models for your hardware, plugged into the agent you already use. It profiles your machine, recommends the models that fit, then downloads, tunes, and runs them.
What hardware do I need?
There’s no fixed minimum. Magnitude profiles your hardware and recommends the best models for your machine. More memory lets you run larger models.
Why not just have my agent set up Ollama?
Your agent would be guessing. It doesn’t know your hardware, which quant fits, or how fast it’ll run. Magnitude gives it a catalog with recommendations computed for your machine, an onboarding flow that writes your harness config, and inference built for agent workloads. Models load just in time and unload when idle or memory gets tight.
Which harnesses work with it?
Pi, OpenCode, Hermes, OpenClaw, Codex, Claude Code, Oh My Pi, and Cline. During setup, your agent connects your harness to the model you pick. Or use Magnitude’s built-in harness.
Do I need to manage Magnitude after setup?
No. It runs in the background, loads models when your agent needs them, and unloads them when idle or memory gets tight. Your agent can install or switch models through the Magnitude CLI anytime.
Does my data go to the cloud?
No. Prompts, files, and models stay on your machine.
Can it run completely offline?
Yes. Once Magnitude and a model are downloaded, no internet connection needed.
Can I use models outside the catalog?
Yes. You can download compatible GGUF models from Hugging Face and use them in Magnitude.
Learn more
License
Magnitude is licensed under the Apache License 2.0.
Similar Articles
@akshay_pachaar: run agent harnesses 100% private & offline. (no token costs, no API keys, 100% open-source) your agent runs locally. th…
Magnitude is an open-source inference server that runs AI models locally on your hardware, integrating with coding agents to ensure privacy and no data leakage, with setup in one command.
@tomgreenwald: Introducing Magnitude. It's a coding agent that runs entirely on open models. It costs 60% less than Claude Code with n…
Magnitude is a coding agent that runs entirely on open models, costing 60% less than Claude Code with no drop in performance. It is available via npm as a CLI tool.
@akshay_pachaar: https://x.com/akshay_pachaar/status/2094765529231929361
This article is a practitioner's guide to running local AI models for agent work, highlighting hardware trade-offs and introducing Magnitude, an open-source inference server that simplifies configuration for optimized performance.
@LottoLabs: https://x.com/LottoLabs/status/2064185127782232135
LocalMaxxing is a community benchmark platform for local LLM inference that helps users compare hardware, speed, and configurations. The LottoLabs team outlines their vision to make local inference infrastructure universal through better benchmarks, evals, and accessible deployment.
@cpaik: Open-source Many model Inference on device
An open-source tool for running multiple AI model inferences on local devices, enhancing on-device AI deployment efficiency.