r/gnome • u/ProxyLumina • 1h ago
Opinion Companion — A personalized, privacy-first, native GNOME local AI app (Rust, GTK4, libadwaita)
Hi everyone! I am developing Companion, a native GNOME app for running local AI models directly on your computer.
The purpose & vision
Companion does not ask much regarding technical details from the user. Companion should feel like your friend that helps you achieve things in your computer locally, offline, with total privacy. Companion's goal is to make local AI feel like a living, trustworthy part of the GNOME desktop. In brief, Companion aims to be a place where local open weight AI meets Gnome.
How Companion is different
Excluding the personalization and unlike Electron wrappers or frontends that depend on installing Ollama or Docker separately, Companion embeds llama.cpp directly in a single native GTK4/libadwaita binary, so it starts instantly and scrolls smoothly. It's also built around privacy and explicit consent rather than blind autonomy. There is no unrestricted shell execution, Web Search is off by default, and every sensitive action or outgoing query/URL can be inspected and edited before it runs. Instead of feeling like a generic developer prompt box, you get a single customizable companion whose character instructions are completely transparent (or freely editable). You can download an AI model (GGUF) with a couple of clicks, personalize your companion's name and character, attach images, PDFs, or Markdown/text files, and optionally grant per-chat access to specific files or folders. Everything stays offline by default, Web Search is disabled unless you opt in, and any sensitive action (like deleting files or searching the web) asks for your explicit approval first. Beyond chat and files, the vision is for Companion to become genuinely helpful across your desktop, starting with portal-safe actions (notifications, timers, screenshots) and, as an opt-in native mode, read-only system awareness (checking disk/RAM/battery), curated GNOME preferences (e.g., toggling Dark Mode or Night Light with confirmation), and app management.
Technical Details:
- UI: Rust + Relm4 + GTK4 + libadwaita (virtualized gtk::ListView, system theme/accent support)
- Inference: Embedded llama.cpp (llama-cpp-2, CPU + Vulkan), no Ollama or Docker required
- Storage: Local SQLite (WAL mode + FTS5 full-text search)
- Tools: Path-jailed local file/folder tools + opt-in DuckDuckGo/SearXNG search & HTTPS-only page fetch
- License: GPL-3.0-or-later
It's still very early and actively evolving.
I'd love your feedback and if you are interested in such app, or you have ideas/suggestions please let me know!

