72 points pancomplex 6 hours ago 17 comments

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!

jrm4 2 hours ago | parent

So there are a zillion of these, including ones that do what yours does. But that being said, I'm going to always upvote every single one of them because this is better and more important that what the big companies are doing across the board.

pancomplex 1 hour ago | parent

Thank you! Would love to hear which ones you've used. Working with local files without anything going to the cloud was the main thing I wanted. I tried Jan, OpenWork, Chatbox and Lobe, and couldn't get that working well in any of them. If there's one I missed it would be great to check it out!!

universenz 1 hour ago | parent

Definitely check out Osaurus for macOS and Windows. Heavily privacy focused with e2ee iOS and iPadOS tethers.

fmxexpress 1 hour ago | parent

In PasClaw, I specifically built it to do local embedding and other local only functionality. Whether it works well or not yet is another story.

prophesi 1 hour ago | parent

Have you tried Open WebUI? It doesn't determine which model works best for your hardware, but it otherwise has a very large feature set with a large community, and runs offline by default. Geared more for technical users, however.

ajvs 1 hour ago | parent

Orca works great.

l3x4ur1n 43 minutes ago | parent

I am using Hermes and I did not try charts, but the rest it can do with ease. And I use DeepSeek flash API as a driver most of the time.

vorticalbox 2 hours ago | parent

Did you happen to try bionic?

https://lmstudio.ai/

laughing_snyder 1 hour ago | parent

This doesn't seem to be open source? They link a GitHub account, but I don't see the repo for this tool.

universenz 1 hour ago | parent

Correct, they’re closed source and you can’t opt out of analytics

laughing_snyder 1 hour ago | parent

Looks great. One thing I am missing is the ability to change the installation directory for the models. For space reasons, I want them to be on a different partition.

pancomplex 1 hour ago | parent

Good call. Are you on PC/Mac/Linux?

laughing_snyder 1 hour ago | parent

Linux. I saw you support HOB_USER_DATA, which is great. But I want my config to remain in .config/Hob and only move the models (or whatever else needs lots of space) to another disk/directory.

Edit: Actually I think HOB_USER_DATA is enough for my use case.

_aavaa_ 1 hour ago | parent

Why does it have to be JS? With all this AI, why can't we ship native apps.

pancomplex 1 hour ago | parent

It's still pretty tricky to do this as a solo dev to keep feature parity in my experience (fun fact, even Claude's own Desktop app is made in Electron).

That being said, majority of the heavy LLM lifting happens natively with llama.cpp :)

eecks 54 minutes ago | parent

> Automatically finds the best open-weight model for your hardware on first install

Do you have examples of what hardware runs what models?

rhedak 20 minutes ago | parent

I'm actually building something similar and thank you very much for sharing you gave me a few inspirations. I want mine to integrate seemlesly with an animated Ai companion (it's harder than it sounds haha). Anyways great stuff! Gave it a star.