在喜马拉雅离线运行本地 AI 编码代理
原标题:Coding From the Himalayas With an Offline AI Agent
AI 摘要
Thomson Reuters 首席工程师在喜马拉雅山麓远程办公,因网络和电力不稳定,尝试用开源编码代理 OpenCode 配合 Ollama 在笔记本本地运行 Qwen3.5 9B 模型,实现完全离线的编码工作流。文章介绍了模型选型依据(LiveCodeBench v6 和 BFCL-V4 分数)、内存与下载体积权衡,并引用预印本对比 OpenCode、Goose、OpenHands-SDK 在 Terminal-Bench Pro 上的通过率。结论是解释代码、排查测试失败、小规模重构等任务可离线完成,但下载新包或联网查询仍需连接。
正文节选
When we talk about working remotely, we take a lot of things for granted, especially reliable internet and power. But sometimes, working remotely means trying to get something done on a flight, during a long train ride, or somewhere with little or no network. I moved to the foothills of the Himalayas a year ago. I love the peace of living here, but it also comes with its own challenges, including network and power outages. Things I didn’t think about as much before are now part of planning my wo