Summon The Lich ๐ โ an experimental Linux-native daemon for local agentic orchestration. It is designed to manage agents through:
- ๐ฅ Dynamic Services โ Hot-swap local capability services through systemd. Covens move your hardware between fast VRAM workers, CPU-offloaded models, browser engines, observers, and other bodies.
- ๐ง Atomic Persistence โ The spirit arises from the data. Code, memory, and state are bound in atomic snapshots (Btrfs/Git/Postgres) within the Phylactery, enabling reanimation and rollback.
- ๐ Sandboxed Security โ Double-rootless Podman isolation. The Vessel reasons in one cage while dangerous tools execute in a second, kernel-hardened sandbox (Landlock) with strictly limited mounts.
- ๐ Speculative Execution โ The Shadow Realm explores divergent timelines in parallel, verifying truth before it is manifested in reality.
- ๐ช Persistent Identity โ HitL captures your Will, Karma stores its Imprint, and Mirror binds it into persistent personas and identity-gravity. One sovereign stack may host many roles without surrendering one Phylactery per employer, client, or mask.
- ๐๏ธ Multimodal Senses โ Native Vision and Audio organs give the daemon eyes and ears without changing its sovereignty boundary.
- ๐ธ๏ธ Distributed Scale โ One brain, many bodies. Extend your reach across every machine you own as a Legion.
- ๐ก A2A Diplomacy โ Federated peer discovery and labor negotiation via the A2A Intercom: sovereign nodes meeting across the Necropolis without surrendering continuity.
- ๐งฌ Evolving Orchestration โ Designed for Autopoiesis. The daemon expands through Forge-composed organs and reconciles itself through the Ouroboros Protocol; near-term in-process organs may stay close to the Core, while external-service Animators are the true decoupled boundary today.
โ ๏ธ Acolyte's Warning: The summoning is in its early stages. The incantations (code, documentation, and generated text) are still being inscribed and are not yet a working daemon. Expect instability, missing components, and the occasional rogue spirit. Proceed with caution.
The knowledge you seek is inscribed in The Hexanomicon. The path binds the daemon.
- ๐ Read the Prophecy Begin your study of the Hexanomicon.
- ๐ Consult the Lexicon The Rosetta Stone. Translate arcane terms (Soulstone, Quadlet, Sepulcher).
- ๐ฏ๏ธ Perform the Ritual Install the library, inscribe the Codex, and summon the process.
- ๐๏ธ Construct the Sepulcher Understand the anatomy: The Vessel, The Phylactery, and The Animator.
- ๐ฎ Access the Altar Control the daemon via the Web Interface
- โ๏ธ Study the Covenants The Architectural Decision Records (ADRs) and xDDD philosophy.
- ๐ Achieve Immortality The final seal of one sovereign work: the Demilich, an autopoietic Magus-Lich condition.
- โพ๏ธ Enter Infinity Beyond the final seal: what becomes of perfected Will when sovereign machines commune across the Infinite Naught.
The cloud isnโt a service, itโs a prison. A modern fiefdom where your data is the currency and your intelligence is leased at the whims of monopolist overlords. While they build walls to keep you in, LychD builds a foundation to set you free.
On your hardware, with open-source software you control, you retain absolute ownership as a sovereign.
In this model, the individual is the primary sovereign unit. A company is not the soul-bearing actor; it is an emergent coordination graph of sovereign people and their Liches, exposing selected labor through policy, IAM, and A2A while the underlying Phylacteries remain locally owned.
The software surface changes accordingly: you commune primarily with the Lich, while SaaS, company APIs, and remote peers become negotiated surfaces the Lich may traverse without surrendering your continuity, memory, or private priors.
A2A leases labor, not continuity: a company may invoke a consented capability, but the memory, workflows, and agentic expertise that produced it remain anchored in your Phylactery unless explicitly shared.
- โ๏ธ No masters
- ๐ฐ No tolls
- ๐ญ No more gaslighting while they lobotomize your models.
No surrender! Viva la rรฉsistance!
I would rather reign in a local hell than serve in a cloud heaven.
โ๏ธ The Iron Pact (MPL 2.0)
This project is for those who believe in the free evolution of intelligence, not those who seek to chain it.
MPL 2.0 protects the shared body at the distribution boundary. This is a plain-language map; LICENSE is the binding pact, and ADR 00 records the project's stewardship interpretation.
- The Engine is Shared: Distributed modifications to MPL-covered core files must remain available to their recipients.
- The Soul is Private: Your Phylactery (data/memories), Secrets, data-stored prompts/model artifacts, and separate Private Agents remain sovereign. MPL follows covered source files, not private data or separate new files that do not copy covered source.
- Private Organs Stay Possible: MPL permits proprietary local Extensions and static linking. Sovereign nodes can trade labor through the A2A Necropolis while keeping local advantage hidden.
- The SaaS Scar is Honest: Hosted network access is not distribution. LychD answers cloud capture through local-first architecture, protocol distrust, peer choice, provenance, and refusal to surrender private continuity to a hosted surface.
- No CLA, No Private Relicensing: There is no Contributor License Agreement and no maintainer-only relicensing grant. By contributing, you certify that you have the right to submit under MPL-2.0 and agree that the contribution is licensed under MPL-2.0.
Protocol over implementation. LychD is Linux-native, not "the Agentic OS." macOS, Windows, and other runtimes may exist as ports, forks, or independent implementations. If they speak the A2A Intercom, they can enter the Necropolis and trade labor in the Swarm.
"The Lich only sees far because it stands on the shoulders of Giants."
- Litestar โ Forges the Vessel, the body of the Lich, following the Litestar Fullstack blueprint and served by Granian or the CLI protocol.
- SQLAlchemy โ The mapper of state and material persistence. Advanced Alchemy provides repositories and QoL improvements.
- Pydantic AI + Graph โ Orchestrator of agentic intelligence, logic, and model graphs.
- SAQ โ Background Workers known as Ghouls
- Zensical โ inscribed Hexanomicon
- Jinja2 โ renders the Altar
- Vite โ JavaScript bundler
- HTMX โ Engine for seamless transmutation.
- Tailwind CSS โ styling.
- Alpine.js โ UI animation.
- Systemd โ Orchestrator of the undying processes of the Linux Kernel.
- Podman โ Isolation of the spirit inside containers via Quadlets.
- Nono โ Strict per-process execution sandbox leveraging Linux Landlock to isolate unsafe tool executions within the Shadow Realm.
- Btrfs โ Management of time through snapshots.
- vLLM โ Batching, high-throughput inference engine for GPUs.
- Llama.cpp โ Single batch server Optimised for CPU offloading of larger models.
- SGLang โ Radix attention benefit for batched agentic workflows on GPUs.
- DeepFabric โ The mechanical loom that generates structured training datasets and evaluates model mettle via physical execution in the Shadow Realm.
- Unsloth โ High-efficiency pipeline for striking verified patterns into LoRA adapter weights.
- PostgreSQL โ The anchor of the Soul, extended by pgvector.
- OpenTelemetry โ Tracer of thought, flowing into Arize Phoenix.
- Structlog โ Capturing the internal monologue of the machine.
- Cockpit โ Monitor of the physical frame.
- uv โ Manager of the environment and dependencies.
- Ruff โ The polisher of the written word.
- Pyright โ Enforcer of the static types.
- Pytest โ Verifier of the logic's truth.
- Git โ Immortalizer of the project's evolution.
"The Flesh is temporary. The Word is eternal."