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