Skip to content

hexanomicon/lychd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

LychD

LychD - The Dark Arts of LLMs

PyPI Docs License Implicit DCA

Status: Pre-Alpha

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 Path of Ascension

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.

๐Ÿšฉ Local sovereignty โ€” a rebellion against digital feudalism

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.

โ›ฉ๏ธ A Tribute to the Spirits

"The Lich only sees far because it stands on the shoulders of Giants."

๐Ÿ•ธ๏ธ Backend

๐ŸŽญ Frontend

๐Ÿ“ฆ Containerization & Sandboxing

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

๐Ÿ”ฅ Inference Engines

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

๐Ÿ”จ Forging & Evaluation

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

๐Ÿ‘๏ธ Database & Telemetry

๐Ÿ› ๏ธ Code Control

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

About

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

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors