Skip to content

Repository files navigation

The Lich and its Phylactery

Hexanomicon

The Voidwalker's Guide Across the Infinite Naught

Browse the LychD source on GitHub Enter the Hexanomicon License: MPL 2.0 Status: Pre-Alpha

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.

🗺️ The Path of Ascension

🚩 Local sovereignty — a rebellion against digital feudalism

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.

⛩️ A Tribute to the Spirits

“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.

🕸️ Backend

  • 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.

🎭 Frontend

  • 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.

📦 Containerization & Sandboxing

  • 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.

🔥 Inference Engines

  • 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.

👁️ Database

🛠️ Code Control

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.”

About

An LLM-animated daemon bound to Systemd. Forges intelligent agents using Litestar, Pydantic AI, and the Dark Arts of xDDD.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages