Vibeleaderboard
← All Intel
Intel / article

Using Local Coding Agents

Source
magazine.sebastianraschka.com
Author
Sebastian Raschka, PhD
Date

Context

A local coding agent needs both a and software that lets it work on a project. Sebastian Raschka's tutorial separates these roles: a local model server generates responses, while the reads files, applies edits, runs commands and checks results.

That separation explains why downloading a capable model is only part of the setup. Raschka checks generation speed and memory use as inputs grow, then tests coding and tool-selection behavior. A model that chats comfortably may still struggle with the longer inputs or precise actions needed for useful coding work.

Key takeaways · AI-distilled
  • A local stack splits in two: an inference server (Ollama, vLLM, LM Studio, MLX) that serves the weights, and a harness that gives the model file reads, edits, commands, and verification. Either side swaps independently.
  • Models get tuned against their maker's own harness. Nvidia's Polar paper benchmarked Qwen3.5-4B across coding harnesses and it scored best inside Qwen-Code, both before and after RL training, so pairing model to native harness is free accuracy.
  • Qwen3.6 35B-A3B is a roughly 22 GB download that wants 30-40 GB of RAM, and it runs at usable speed on a Mac Mini M4 or a DGX Spark. The floor for a local coding agent is a well-specced desktop, not a GPU cluster.
  • On Apple Silicon, pull the *-mlx build of a model: it is compiled against Apple's Metal shaders. Linux boxes take the plain tag. Same weights, different runtime, meaningfully different speed.
Terms in this piece · Glossary
  • Large language model — A model trained on large amounts of data to process and generate language.
  • Harness engineering — Designing the full environment and feedback system around an agent.
  • Local inference — Running a model on a machine you control, whether a laptop or a server you administer, so that the model's own computation happens there rather than on a provider's servers.
  • Terminal and shell — A text interface for navigating files and running programs.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Key quotes

“As we can see, Claude Code uses by far the most tokens on average, Codex the least.”

“For example, one Claude run used about 578k input tokens but only about 4.5k output tokens across 25 turns.”

Read the source magazine.sebastianraschka.com
More from Sebastian Raschka, PhD
Recommended reads