All work

Tabby

A private desktop workspace: AI chat and notes, side by side

Tabby in dark mode with a chat panel on the left showing a meeting agenda and a page panel on the right with a launch-plan checklist and owners table

The problem

AI assistants were useful for everyday work like drafting agendas, writing code and summarising notes, but they lived in a browser tab, sent everything to someone else's servers and charged a monthly fee. For people working on client or internal material, that was a hard sell.

The answers also ended up stranded in a chat window, apart from the notes and to-do lists people kept elsewhere. When you're juggling a handful of things at once, keeping the conversation and the work in one place matters.

What I built

  1. Built it as an Electron desktop app that starts a local llama.cpp server with a quantised Mistral 7B Instruct model, so prompts never leave the machine and it works offline.
  2. It checks the machine's hardware at startup and offloads model layers to the GPU only when a capable NVIDIA card is present.
  3. Laid the screen out as side-by-side panels of tabs, where any tab can be a chat or a page, so a conversation and the document it feeds sit next to each other.
  4. Streamed replies token by token from the local server, then converted them from Markdown and syntax-highlighted any code, with a copy button on each code block.
  5. Made pages rich editors with headings, lists, checklists, editable tables and inserted media or code blocks, and saved tabs as plain JSON files on the user's own disk.

What it does

Built with Electron, JavaScript (ES modules), llama.cpp, Mistral 7B Instruct (GGUF), Showdown + highlight.js, systeminformation, 2024.