2026-11-27 16:21 UTC

Leviathan proposes a Windows-native local LLM host with persistent memory and tools

state: expiredheat: mediumuncertainty: mediumrelevance: mediumllm-inference local-serving inference-engine persistent-memory windows-nativeCuppaTea1983

What is this?

Leviathan is a Windows desktop application from GitHub user CuppaTea1983 that claims to run supported language models directly on NVIDIA GPUs, with no local server required. Its repository describes converting GGUF or safetensors models into a proprietary .lev format and adding persistent per-model .fqm memory, text-based knowledge routing, a local API bridge, and extensive safety and productivity features. The project page presents screenshots and examples, including a Qwen 2.5 Coder 7B demo on an RTX 4080; these are developer-provided claims, not independent benchmarks or validation.

Why it matters

Leviathan is an unusually ambitious, Windows-first local AI application: it combines direct NVIDIA GPU inference with persistent per-model memory, text-based knowledge routing, a local API, and tools for coding and CAD. That makes it worth tracking as an experiment in treating the model as a guest inside a broader host, rather than as a standalone chat endpoint. But the evidence is almost entirely the developer’s own repository and demo; there is no independent performance, reliability, security, or agent-workload validation here. It is a candidate to try for privacy-conscious single-user workflows, not yet a demonstrated alternative to established inference stacks.

Current assessment

The supplied sources describe Leviathan as a Windows desktop application that converts GGUF or safetensors models into a proprietary .lev format and runs them directly on NVIDIA GPUs, without requiring a separate local server. The repository says it supports GTX 16/RTX 20-series or newer cards with a current driver, and shows a developer-provided Qwen 2.5 Coder 7B demo on an RTX 4080; this is not an independent benchmark. Its distinctive proposition is the surrounding host layer: per-model persistent .fqm memory, text knowledge banks with semantic routing, and an optional loopback OpenAI-compatible API for other local programs. The broader repository also describes coding and CAD workflows, with the model’s actions mediated by the application. These capabilities and safety properties are claims in the project documentation, not verified evaluations. The source set provides no independent tests of model compatibility, throughput, memory quality, security controls, or suitability for autonomous agent workloads; the proprietary conversion/runtime path and NVIDIA/Windows requirements also limit portability. Track for releases, reproducible benchmarks, code-level review, and external user reports before recommending it over established local runtimes.

Measured heat

no measured readings yet β€” the hourly heat pass fills this in

How the heat travelled

10-17 13:00⭐ origin echo-reconstructedLeviathan loads a language model straight into your GPU's memory and talks to it there. Nothing is sent anywhere. There is no background ser
CuppaTea1983 on github (echo) Β· attributed from hn.story.50144588
β€”
10-18 19:38first on hacker news Β· published Β· +30.6hLeviathan LLM Inference
michaelrickynea
β€”
10-18 19:38amplified on hacker news πŸ‘‘hn.story.50144588
michaelrickynea
peak 2 Β· 1 comments Β· 101% of case engagement
10-18 21:29our radar first saw it Β· +32.5hdiscovery anchor: hn.story.50144588β€”

Evidence (2) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnLeviathan LLM Inference
Retrieved article excerpt

Open article Β· Retrieved 2026-10-18T21:32:43.950932+00:00

# Soon to come.

[Runs on Windows](https://github.com/CuppaTea1983/Leviathan#requirements) [Needs an NVIDIA graphics card: GTX 16 / RTX 20 or newer](https://github.com/CuppaTea1983/Leviathan#requirements)

**Local AI models, running directly on your graphics card. No server, no cloud, no account, no subscription, no telemetry.**

Leviathan loads a language model straight into your GPU's memory and talks to it there. Nothing is sent anywhere. There is no background service, no Docker container, no Python to install, and no API key. You open the app, pick a model, and type.

*(You can also connect hosted models such as Grok alongside your local ones. Those, by their nature, send your messages to their provider. Everything that runs on your own GPU stays on your machine.)*

What makes it different from the other ways of running a model locally is what happens *around* the model: Leviathan gives it a memory that survives closing the app, a way to be taught things without retraining, and a way for your other programs β€” a game engine, a script, a tool you wrote β€” to use the model Leviathan runs.

> **Leviathan is the host. The model is the guest.**

### πŸ”Ή See it running

Every picture on this page is the real app, driven by a real model on one RTX 4080 β€” nothing is mocked up.

[Chatting with Qwen 2.5 Coder 7B in Leviathan, in real time](https://github.com/CuppaTea1983/Leviathan/blob/main/screenshots/chat.gif)

Real time on an RTX 4080, nothing edited: Qwen 2.5 Coder 7B (Q8\_0) writing each answer. How fast depends on your card β€” mostly its memory bandwidth β€” so a newer card is quicker and a smaller one slower.

[One 3D part through Inline Studio, the Graph, the Planner and the Fabricator](https://github.com/CuppaTea1983/Leviathan/blob/main/screenshots/pipeline.gif)

From a sentence to a print-ready part, in four real screenshots: the model writes the CAD script in Inline Studio β†’ it becomes nodes in the Graph β†’ the model drills a screw hole when asked, in the Planner β†’ the Fabricator signs it off.

---

## Contents

- πŸ”· [Requirements](https://github.com/CuppaTea1983/Leviathan#requirements)
- πŸ”· [First run](https://github.com/CuppaTea1983/Leviathan#first-run)
- πŸ”· [The two file types](https://github.com/CuppaTea1983/Leviathan#the-two-file-types) β€” **start here if you only read one section**
- πŸ”· [The tabs](https://github.com/CuppaTea1983/Leviathan#the-tabs)
- πŸ”· [Chat](https://github.com/CuppaTea1983/Leviathan#chat) Β· πŸ”· [Models](https://github.com/CuppaTea1983/Leviathan#models) Β· πŸ”· [Studio](https://github.com/CuppaTea1983/Leviathan#studio) Β· πŸ”· [Cores](https://github.com/CuppaTea1983/Leviathan#cores) Β· πŸ”· [Memory Vault](https://github.com/CuppaTea1983/Leviathan#memory-vault) Β· πŸ”· [Traits](https://github.com/CuppaTea1983/Leviathan#traits) Β· πŸ”· [Inline Studio](https://github.com/CuppaTea1983/Leviathan#inline-studio) Β· πŸ”· [Graph](https://github.com/CuppaTea1983/Leviathan#graph) Β· πŸ”· [Planner](https://github.com/CuppaTea1983/Leviathan#planner) Β· πŸ”· [Fabricator](https://github.com/CuppaTea1983/Leviathan#fabricator) Β· πŸ”· [Settings](https://github.com/CuppaTea1983/Leviathan#settings)
- πŸ”· [The systems](https://github.com/CuppaTea1983/Leviathan#the-systems)
- πŸ”Ά [Persistent memory](https://github.com/CuppaTea1983/Leviathan#persistent-memory) Β· πŸ”Ά [Knowledge routing](https://github.com/CuppaTea1983/Leviathan#knowledge-routing) Β· πŸ”Ά [Reasoning layer](https://github.com/CuppaTea1983/Leviathan#reasoning-layer) Β· πŸ”Ά [Forensic Grid](https://github.com/CuppaTea1983/Leviathan#forensic-grid) Β· πŸ”Ά [Surface Sight](https://github.com/CuppaTea1983/Leviathan#surface-sight) Β· πŸ”Ά [Recycling cloud answers](https://github.com/CuppaTea1983/Leviathan#recycling-cloud-answers) Β· πŸ”Ά [Episodic memory](https://github.com/CuppaTea1983/Leviathan#episodic-memory) Β· πŸ”Ά [Second-opinion fact-check](https://github.com/CuppaTea1983/Leviathan#second-opinion-fact-check) Β· πŸ”Ά [Any model, described by itself](https://github.com/CuppaTea1983/Leviathan#any-model-described-by-itself)
- πŸ”΄ [The security membrane](https://github.com/CuppaTea1983/Leviathan#the-security-membrane)
- 🟣 [What ANI is β€” and why it matters](https://github.com/CuppaTea1983/Leviathan#what-ani-is-and-why-it-matters) β€” **the thesis, in plain words**
- πŸ”· [Using Leviathan from other programs](https://github.com/CuppaTea1983/Leviathan#using-leviathan-from-other-programs)
- πŸ”· [Where your files live](https://github.com/CuppaTea1983/Leviathan#where-your-files-live)
- πŸ”· [What Leviathan will not do](https://github.com/CuppaTea1983/Leviathan#what-leviathan-will-not-do)
- πŸ”· [Licence and attribution](https://github.com/CuppaTea1983/Leviathan#licence-and-attribution)

---

## πŸ”· Requirements

- **Windows**
- **An NVIDIA graphics card**, GTX 16-series / RTX 20-series or newer
- **A current NVIDIA driver** (one that provides CUDA 13.0 or later)

That is the whole list. You do not need Python, the CUDA toolkit, Visual Studio, or anything else installed. Leviathan checks your card on startup and tells you plainly if something is missing, with a link to the driver download.

**How much VRAM do you need?** Enough to hold the model you want to run. A 7–8 billion parameter model at moderate quality fits comfortably in 8 GB. Larger models need more. Leviathan will tell you what it found and what it is using.

**No NVIDIA card?** Leviathan can still act as a front-end for a model server you run elsewhere β€” see [Models]. You lose the GPU-native features, but the chat, memory and knowledge systems still work.

---

## πŸ”· First run

[Leviathan's welcome card on first run, with the graphics-card check](https://github.com/CuppaTea1983/Leviathan/blob/main/screenshots/first-run.png)

The first time you open Leviathan, a welcome card sits over the chat window with three steps and a report on your graphics card. It stays until you have a model, and it always comes back if the GPU check fails, so you are never left guessing why nothing works.

The three steps are:

1. **Convert a model.** Take a `.gguf` model file β€” the standard format you will find on Hugging Face β€” and convert it in **Studio β†’ Convert**. You get a `.lev` file. This is a one-time job per model.
2. **Load it.** In **Models**, add it as a Leviathan model. It goes straight onto your GPU. No server starts, nothing listens on a port.
3. **Talk to it.** Type in the chat box and press Start.

Everything after that is optional. Leviathan is fully usable knowing only those three steps. The rest of this document is what the optional parts are for.

---

## πŸ”· The two file types

This is the part most people find confusing, and it is worth five minutes because everything else in Leviathan is built on it. There are two kinds of model file, they do two completely different jobs, and they are not alternatives to one another. (There is a third thing β€” a **knowledge bank** β€” but it is not a model file at all; it is text, and it gets its own short section below.)

A rough analogy, if it helps: if the model is a **person**, then `.lev` is their brain and `.fqm` is their memory of your conversations. Knowledge banks are the books on their shelf β€” text they can reach for when a question calls for it, not part of the brain itself.

---

### πŸ”Ή `.lev` β€” the model

**What it is:** the model itself, converted into the exact byte layout your graphics card wants.

**Why it exists:** a normal `.gguf` model file has to be unpacked and rearranged before the GPU can use it, every single time you load it. A `.lev` is already in the right shape, so it goes from disk to graphics card with no reshuffling in between. It loads faster and it is what every other Leviathan feature expects to find.

**How you get one:** **Studio β†’ Convert**. Point it at a `.gguf`, wait, get a `.lev`. Once per model, then never again.

**Do I have to?** To use Leviathan's GPU engine, yes. If a model is refused during conversion, that is deliberate β€” see [What Leviathan will not do]

---

### πŸ”Ή `.fqm` β€” the memory

**What it is:** what the model remembers, saved to disk.

**Why it exists:** normally, when you close a chat, everything is gone. Next time you open it, the model has never met you. It has no idea what you were working on, what you told it last week, or what you have already explained three times.

A `.fqm` is that memory, written to a file. When you load the model again, the memory loads with it. The conversation genuinely continues.

**How a `.fqm` comes into being β€” on its own, as you talk.** If a model has memory enabled, Leviathan saves a `.fqm` after the first exchange and then every fifth one, quietly, in the background. This is the running memory of *your* conversations with *this* model β€” it grows as you chat and loads back the next time you open the model. You do not have to do anything, and if it ever *cannot* save, it says so out loud rather than pretending it worked. It also refuses to save a turn that came out garbled, so one bad reply can never lodge itself in the memory permanently.

**The save is atomic.** A `.fqm` is written whole or not at all. The new memory is built in full, then swapped in for the old one in a single step the operating system guarantees cannot be interrupted part-way β€” so a crash, a power cut or a pulled plug mid-save leaves you with the *previous* good memory, never a torn or half-written file. Memory you can trust is memory that cannot corrupt itself, and this atomic write is the quiet mechanism that makes "it just remembers" safe to rely on rather than a thing you hope survived.

**It compresses as it grows β€” and you decide how.** A conversation that ran for months would make a naive memory file swell without limit. A `.fqm` does not: it keeps your most recent exchanges exact and folds older ones into summaries that grow coarser with age β€” each level eight times coarser than the one above, over seven levels β€” so the file grows a level at a time, not with every turn, and nothing is let go until the deepest level fills. Reach is not recall, and we measured the difference: the summaries keep the drift of a conversation, not its specifics β€” a passage folded two levels down left no measurable trace, and facts pushed out of the exact window came back one time in ten from the `.fqm` alone, the same as no memory. Recent memory stays sharp; the facts you need kept for good belong to [episodic memory](https://github.com/CuppaTea1983/Leviathan#episodic-memory), which is text and doesn't fade. The whole thing is yours to tune in **Settings β†’ Memory storage**: pick the storage stage β€” **half-size** (the default: a float16 store at the standard precision, roughly halving every file), **lossless**, or an experimental **Shannon** stage β€” and set, with a slider, how large the exact window is before the cascade folds the rest. This is a genuine compression system working under your hand, not a format that can only grow.

**One per model.** The memory is named after the model and lives in your FQM Database folder. Two models loaded at once do not share it or bleed into each other β€” each wakes up with its own past and no one else's. (Making a model that *sounds like you*, or that already *knows your material*, is a separate and cleaner job: your register is ANI's to mirror β€” see [ANI Voice] β€” and your material lives in [knowledge banks], readable by any model, rather than baked into one model's memory.)

---

### πŸ”Ή Knowledge banks β€” kept as text, not a model file

A **knowledge bank** is a body of knowledge you can give a model without retraining it β€” facts, answers, worked material β€” kept as *text* and routed to the model by meaning when a question calls for it. It is **not** a special weight file and it is not part of the model; it is plain text, stored in the knowledge vault and backed up as `.jsonl`. Not a document you paste in and hope fits; knowledge that is there when the subject comes up and out of the way when it does not. How the right bank actually reaches the model is covered under [Knowledge routing β€” ANI]; this section is about what the banks themselves ar
michaelrickynea21
🟧 echo.github ⭐Leviathan loads a language model straight into your GPU's memory and talks to it there. Nothing is sent anywhere. There is no background serCuppaTea1983β€”β€”

Interpretation history

Decision trace