Article · Latent Space ·
Coding From the Himalayas With an Offline AI Agent
An article by a Principal Engineer at Thomson Reuters, who moved to the foothills of the Himalayas, explains how to set up and run an offline coding agent entirely on a laptop with the internet switched off. The author uses OpenCode, an open-source coding agent, connected to Ollama running the Qwen3.5 9B open-weight model locally. He demonstrates the setup by having the agent fix a failing expense calculator program and run its test suite offline, noting that downloading packages or web lookups still require a connection. The piece includes benchmark scores for Qwen model sizes (from Qwen's model card) and OpenCode (from a 'The Scaffold Effect in Coding Agents' preprint), along with setup details such as the opencode.json configuration and Ollama environment variables. Aider is mentioned as an alternative guided-editing option.
Tools in this story
Each tool opens in the Heidelberg AI Curriculum: what it does, what it costs, how to start.


