gitwtfhub

wtf is samosa-chat?

deepanwadhwa/samosa-chat — explained in plain English

Analysis updated 2026-05-18

45CAudience · developerComplexity · 3/5LicenseSetup · moderate

TL;DR

A desktop and terminal app that runs three different AI chat models fully on your own computer, with no cloud account or telemetry.

Mindmap

mindmap
  root((Samosa Chat))
    What it does
      Local AI chat app
      Runs on your machine
      No cloud account
      No telemetry
    Tech stack
      C engine
      OpenMP
      Local HTTP gateway
    Models
      Qwen3.6 35B
      Bonsai 27B
      Ornith 1.0 9B
    Use cases
      Private chat assistant
      Offline coding help
      Local API server
    Audience
      Privacy focused users
      Local AI hobbyists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Chat privately with a large AI model without sending data to the cloud.

REASON 2

Run a local coding assistant using the Ornith model.

REASON 3

Expose an OpenAI-compatible API from your own machine for other local tools.

REASON 4

Compare answers between three different local models.

What's in the stack?

COpenMPllama.cppHugging FaceREST API

How it stacks up

deepanwadhwa/samosa-chatfelixrieseberg/relicdantiicu/wine-nx
Stars454548
LanguageCCC
Setup difficultymoderatemoderatehard
Complexity3/54/55/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 1h+

Requires building from source and downloading multi-gigabyte model weights before first chat.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

Samosa Chat is a desktop and terminal application that lets you run large AI chat models directly on your own computer, without sending anything to the cloud. It bundles three different models you can switch between: Qwen3.6 35B, a large model with image support, Bonsai 27B, a compact 1-bit reasoning model, and Ornith 1.0 9B, a smaller model tuned for coding and reasoning. Only one model loads into memory at a time, so switching models unloads the previous one first. The project is aimed at people who want a private chat assistant that works entirely offline once the models are downloaded. There is no cloud account to sign up for and no telemetry sent anywhere. The app can manage the whole lifecycle of a model: downloading it from Hugging Face, verifying it with checksums, checking that there is enough free disk space, and resuming a download if it gets interrupted partway through. Models can take up meaningful disk space, from about 4 gigabytes for the smallest option to 24 gigabytes for the largest, so a machine with enough storage and around 16 gigabytes of RAM is expected. Samosa automatically figures out how much conversation history a model can hold based on the hardware it is running on, and it can automatically summarize older parts of a conversation to keep chats going without running out of context space. Installation is done by building the project from source using a Makefile, on either macOS or Linux, and there is also a background server mode that exposes a local API compatible with the OpenAI chat format, so other tools could talk to the locally running model. Right now, the plain terminal chat command only supports the Qwen model, while the graphical app supports all three.

Yoink these prompts

Prompt 1
Walk me through installing Samosa Chat on macOS with Homebrew.
Prompt 2
Explain the difference between the Qwen, Bonsai, and Ornith models bundled in Samosa Chat.
Prompt 3
Show me how to start the Samosa gateway server and call it with an OpenAI-compatible request.
Prompt 4
Help me figure out how much RAM and disk space I need to run all three Samosa models.
Prompt 5
How do I use the Samosa terminal command to chat with the Qwen model?

Frequently asked questions

wtf is samosa-chat?

A desktop and terminal app that runs three different AI chat models fully on your own computer, with no cloud account or telemetry.

What language is samosa-chat written in?

Mainly C. The stack also includes C, OpenMP, llama.cpp.

What license does samosa-chat use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is samosa-chat to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is samosa-chat for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.