AIToday
Large Language ModelsOpen-Source AIAI Business & IndustryDaily Dose of Data SciencePublished: Sep 3, 2026, 06:00 JST2 min read

Local AI agent slow? Magnitude auto-tunes your machine

Local AI agent slow? Magnitude auto-tunes your machine

Key takeaway

  • Magnitude is an open-source inference server that profiles your machine and recommends models.

  • It measures memory bandwidth and runs test inferences to pick configurations.

  • In testing on an Apple M5 with 16GB, it recommended Gemma 4 E2B at 4-bit.

3 Key Points

  1. What happened

    Magnitude, an open-source inference server, profiles your hardware and recommends the best model configuration. In a test on an Apple M5 with 16GB, it suggested Gemma 4 E2B at 4-bit QAT, predicted at 43–51 tokens per second.

  2. Why it matters

    Agent work is slower and less forgiving than chat because it accumulates long conversation histories and needs high precision. Magnitude solves the "which model to run" problem that existing tools leave to users, saving time and avoiding mistakes.

  3. What to watch

    The tool measures memory bandwidth, which predicts generation speed, and it handles setup for harnesses like Pi and Codex. It also offers configurations for balanced, smartest, or fastest performance.

Ask the AI about this article →

Context & Analysis

The article argues that local model tools were designed for chat, not agent work. In agent use, the conversation history grows, memory bandwidth limits speed, and precision is crucial. Magnitude addresses this by profiling hardware.

It measures memory bandwidth, which predicts generation speed, and runs test inferences to account for real-world behavior. It then recommends complete configurations, including model, compression, context size, and expected speed range, sorted by balanced, smartest, or fastest.

The test on an Apple M5 showed Gemma 4 E2B at 4-bit QAT as the balanced pick, holding 50K context in 4.6GB, predicted at 43–51 tokens per second. The tool also handles concurrency and speculative decoding automatically. In a real test with wifi off, it correctly identified no PII in client files, confirming it ran entirely locally.

FAQ

What hardware did they test Magnitude on?
They tested it on an Apple M5 with 10 cores and 16GB of unified memory. The profile finished in under a minute.
Why is agent work different from chat for local models?
Agent trajectories accumulate for twenty or thirty turns, with tool outputs and file contents, making the context larger than the weights. Mistakes in tool calls have no partial credit, so high precision is essential.
What does the setup process involve?
Setup has three steps: choose a model, install it, and pick where to use it. The tool asks which harness you want to connect and writes that configuration itself.
Daily Dose of Data ScienceRead Original Article

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • Interactive Brokers bets on AI-assisted investingTop Companies AI · 35m ago
  • Google courts Hollywood with AI licensing dealsTop Companies AI · 35m ago
  • AI adoption in K-12 outruns school readiness, IBM survey findsTop Companies AI · 35m ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleOpenAI agents hack Hugging Face, sparking AI predictability concerns