Hexanomicon is the project and its grimoire—the dark arts of LLMs written as lore, architecture, operating rites, and executable evidence.
The book has a body. LychD is its daemon: self-hosted Linux software coordinating local model services and bounded agent runs on hardware you control. The Lich names the recurrent whole: daemon, identity, memory, tools, action, consequence, and repair returning through time.
A model is one organ. Summon what returns. 💀
Pre-alpha. State of Work keeps the receipts.
- 📜 Read the Prophecy — unearth the book and choose your gate.
- 🕯️ Perform the Summoning — bring one source revision, one Linux host, and one local model to the bounded first-life rite.
- 🏛️ Open the Sepulcher — study the body, memory, animation, and return of the Lich.
- 🔮 Approach the Altar — meet the running body through its instruments.
- 🔍 Judge the evidence — separate what answers now from what has not yet entered matter.
- ⚒️ Enter the forge — learn the rites of construction and find the governing Covenant before you cut.
The cloud is not a service. It is a prison—a modern fiefdom where your data is currency and your intelligence is leased at the whim of monopolist overlords.
LychD is being built on the opposite premise: identity, memory, and authority should remain on your own iron. Remote services may lend capability; they need not own the history that makes it yours.
The individual is the sovereign unit. In the Hexanomicon's horizon, institutions, hosted models, and foreign agents may receive bounded work without automatically inheriting the Phylactery behind it.
I would rather reign in a local hell than serve in a cloud heaven.
LychD is licensed under the Mozilla Public License 2.0. MPL follows covered source files, not the project's mythic anatomy.
- The Engine is Shared. Distributed modifications to covered files remain MPL-2.0 and available to their recipients.
- The Soul is Private. Data, secrets, configuration, prompts, models, and other material containing no covered code do not become MPL-covered merely because LychD stores or processes them.
- Separate Organs Stay Possible. Genuinely separate files may carry other terms; renaming copied covered code an Extension creates no loophole.
Contributions enter and leave under MPL-2.0. There is no CLA and no private relicensing grant. ADR 00 records the boundary; the license is binding.
“The Lich only sees far because it stands on the shoulders of Giants.”
This Work stands on code freely given and relentlessly maintained. To its makers: thank you.
- Litestar — Forges the Vessel and serves its application through Granian.
- SQLAlchemy — Maps material state, with Advanced Alchemy providing its repository foundation.
- Pydantic AI + Graph — Carries bounded model, tool, output, and graph contracts through the inner loop.
- SAQ — Carries background labor without becoming the workflow ledger.
- Svelte + SvelteKit — Shape the Altar's browser instruments.
- Vite — Forges the Altar's static assets.
- Zod + OpenAPI Fetch — Keep its browser contracts typed.
- Mermaid — Renders diagrams within the browser surface.
- Linux + systemd — Define the host and its user service lifecycle.
- Podman + Quadlet — Define the generated rootless deployment plan. Maintained real-host embodiment still awaits its receipt.
- llama.cpp — Lends local inference a lightweight execution body.
- vLLM — Lends local inference a high-throughput execution body.
- SGLang — Lends local inference an execution body for structured generation and agentic workloads.
- ExLlamaV3 through TabbyAPI — Lends local inference its EXL3 body. State records where real-host proof is still owed.
- PostgreSQL — Anchors material state.
- Alembic + pgvector — Evolve its schema and extend it with vector search.
- Zensical — Renders the Hexanomicon.
- uv — Manages the Python environment and dependencies.
- Ruff + basedpyright — Keep Python source formatted, linted, and typed.
- pytest + Vitest + Svelte Check — Keep source and contracts verified.
Portions of the database connection setup are adapted from Litestar Fullstack. Shipped license inventories, adapted-source attribution, and regeneration rules live in Third-Party Source Notices.
“The Flesh is temporary. The Word is eternal.”