Spaces:
Running

File size: 5,072 Bytes
9fdc747
 
93755b7
 
 
9fdc747
93755b7
9fdc747
88f597d
93755b7
9fdc747
 
93755b7
 
 
 
 
 
 
 
1e32bef
93755b7
 
 
 
 
6873b7e
93755b7
6873b7e
93755b7
 
 
 
 
 
 
6873b7e
 
88f597d
 
6873b7e
 
93755b7
 
 
 
 
 
 
 
88f597d
 
93755b7
 
88f597d
 
 
 
 
 
 
 
 
93755b7
 
 
 
 
 
88f597d
 
 
93755b7
 
 
 
 
 
49f6913
93755b7
49f6913
 
88f597d
49f6913
 
 
 
 
 
93755b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88f597d
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
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.*