跳到正文
原文
Hacker News · 首页· pancomplex·· 2026-10-27精选AI 评分62

开发者开源 Hob:本地运行模型的桌面智能体应用

Show HN: Hob - Open-source, on device alternative to Claude Cowork and ChatGPT

AI 导读

开发者 Christian 发布 Hob,一款 MIT 协议开源的桌面应用,支持 Mac、Windows 和 Linux,用本地运行的开放权重模型(目前为 Gemma 4 和 gpt-oss)处理本地文件,聊天与文件不上传,联网项只有网页搜索和用户自加的 MCP 连接器。

推荐理由

作者说明了本地小模型工具调用失败的具体形态与防护思路,对做本地智能体开发有直接参考价值。

正文 · 原文

Hey HN, I'm Christian and this is a new OSS project I've been noodling on for the last couple of weeks. Hob is a free, MIT-licensed desktop app for Mac, Windows and Linux that works on your files the way the Claude and ChatGPT desktop apps do, except the model runs on your own computer. It uses open-weight models (currently Gemma 4 and gpt-oss). All your chats and files never leave your system. The only things that go online are web search (can be turned off in settings) and any MCP connectors you add yourself.

Main features:

- Automatically finds the best open-weight model for your hardware on first install (Mac/Linux/Windows)

- Writes sandboxed Python code for ad hoc tools (data processing, document conversion, graphs etc.)

- Built-in web search (powered by SearXNG)

- MCP support

- Image recognition

- CRUD to your local filesystem

- Works fully offline with no internet

Before building this I tried every local AI app I could find, but it seemed each one had different problems. The main thing I noticed is that none of them could do what the ChatGPT and Claude apps do with your files, e.g. read and change files in a folder, look at images, run code in a sandbox, draw a chart. The most advanced thing any of them did was paste a plain text file into a small context window, which basically failed as soon as you had a file larger than a few KB. I couldn't find anything that could easily parse images and bigger PDFs.

The OSS solutions that were more advanced all seemed to default to hosted models (either OSS or closed), which defeats the entire point of the privacy that on-device OSS offers. They also seemed to push towards an account/open-core style business.

I build it using Electron bridged with llama.cpp in its own process. On initial load, the system will try and figure out if you have a compatible graphics card and if not default to CPU-only (I ran into a lot of issues of graphics card beeing seemingly compatible but then crashing on first query, there's a whole saga to this lol). Code execution happens in a sandbox that can only write to the chat's folder and has no network unless asked (sandbox-exec on macOS, Landlock on Linux and a low-integrity process on Windows). Images go to a small Qwen3-VL model. Dictation is a local Whisper model.

The hardest part was definitely to get the smaller models to use tools reliably. Ran into a ton of issues of 4B models happily saying "here's your chart" without ever calling the chart tool or get stuck in an infinite call loop. I spent a fair amount of the work building guards vs tweaking prompts (that didn't really work for small models).

I understand the pushback that local models are weaker than frontier cloud models. This is true, but for most tasks for most normal people, I'd argue you rarely need the newest frontier model. From my own evals, systems with 16+ GB of RAM do really well, and if you have a GPU or more RAM, you get very close to what you'll get out of the box with a frontier hosted model.

Excited to hear what you think and see how it runs on other systems!

来源:Hacker News · 首页 · news.ycombinator.com