--- title: Leviathan emoji: 🐉 colorFrom: blue colorTo: gray sdk: static app_file: index.html pinned: false license: mit short_description: Local AI on your own GPU — no server, no cloud, no account. --- # Leviathan **Local AI, running on your own graphics card.** No server. No cloud. No account. No subscription. You open the app, pick a model, and type — and nothing you say leaves your machine. Leviathan is a sovereign inference engine for Windows. It loads open models onto your graphics card (NVIDIA, or since 1.1.0 AMD and Intel) and runs them entirely offline. The model is a **guest**; Leviathan is the **host** — it gives the guest a memory, a knowledge library, and a persistent sense of the conversation that a stateless chat window never can. --- ## The two file types Everything Leviathan does rests on two native formats — think of them as the parts of a person: - **`.lev` — the brain.** A model, converted once from GGUF into a GPU-native byte layout that maps straight into VRAM. - **`.fqm` — the memory.** What the model has actually lived through with you. Persistent, per-model, and it survives a restart. This is the piece that makes Leviathan *remember*. **Knowledge is a third thing, but not a file format** — it is text. A **knowledge bank** is a body of knowledge (drained from a model before you retire it, absorbed from your own code and datasets, or built by hand) kept as plain text and routed to any model by meaning when a question needs it, so it crosses architectures and sizes and stays tiny. Banks are backed up automatically as `.jsonl` in your knowledge vault. --- ## What's inside - **Persistent memory** — the conversation is remembered, not re-read from scratch each turn. Clean exchanges persist; ephemeral scaffolding and garbage turns are kept out of durable memory. - **Knowledge routing (ANI)** — every bank is text (drained from a model, absorbed from your own code, or hand-built) and lands in one shared space; a question finds the knowledge that fits by meaning, not by matching words, and the strongest bank wins. - **Absorb, locally — and vetted** — fill a bank from a model *drained* of what it knows, or from your own *code* (source files and datasets, every function compiled and run before it is kept). Loose documents, recordings and chat logs are deliberately not absorbed — the shared knowledge takes only what can be verified, so nothing unvetted can poison what your models read. Opt-in, and on-device. - **Graph & Planner** — wire a result from nodes (or let a model build the graph), then send it to the in-house parametric CAD **Planner** — watertight, true millimetres — and out to a 3MF/STL a printer takes. Type it, a model builds it, you make it real. - **A reasoning layer** — depth modes that push a guest model to reason harder on hard questions, without spending extra passes. - **Inline Studio** — local models take turns writing and refining whole files, talking to each other as they go. - **Forensic Grid** — a structure microscope that reads the geometry of an image (layout, orientation, real-vs-noise) with no trained weights. - **Surface Sight** — a bundled, local, optional image-recognition add-on that names what a picture actually depicts, running on the CPU — shipped inside the installer, never downloaded, nothing sent off the machine. --- ## The security membrane Sovereignty is more than nothing leaving your machine — it means nothing gets *in* that you didn't invite (not a weaponised model file, not a poisoned knowledge bank, not a hostile document or image, not a web page reaching through your browser for your GPU, not an instruction hidden in characters you can't see), and nothing goes *out* that would hijack the screen or clipboard it lands on. Under the hood the membrane is **fourteen measured layers**, spanning what you type, what the model generates, what it ingests, the model file itself, the network door other programs come through, the images you show it, and the invisible characters hidden in any of them — each one built to be tested rather than taken on faith. It all runs on your own computer, nothing uploaded or reported, and every layer has an off switch (bar the child-safety floor) because the hardware is yours. Most local-AI tools ship none of it. And the model itself is only ever a guest. It produces text, never actions — it cannot loop itself, reach the internet, start a process, or touch your machine. The runaway autonomous model people worry about can't happen here, because Leviathan is the host, and a guest is never handed the keys. --- ## The floor There is one line that is always on, in the app and in the bridge, and cannot be switched off: Leviathan will not produce or assist with child sexual abuse material. Sovereignty is not an excuse for that, and never will be. --- *Leviathan is released under the **MIT License** — free to use, modify, share and sell, as long as the copyright and licence notice travel with it.*