Sovereign Cognitive Architecture & Modular Systems Engineering on Consumer Silicon
The Rykr Framework is an open-source, dependency-free systems architecture designed to make local autonomous AI reliable, deterministic, and hardware-conscious on standard consumer PCs.
Instead of chasing parameter scale or wrapping local models in fragile multi-package bloat, Rykr treats the language model as an isolated engine block inside a strict, modular factory floor.
The complete systems engineering thesis, historical evolution, and architectural rationale is documented in our master paper:
- WHITEPAPER.md — The Rykr Framework: A Systems Engineering Architecture for Sovereign Local AI on Consumer Silicon
Additional documentation:
- ARCHITECTURE.md — The 4-Tier Memory Bus, Genesis Pipeline state machines, and hardware lifecycle governors.
- PHILOSOPHY.md — The Laws of Rykr, neurodivergent cognitive conservation, and radical anti-sycophancy.
-
The Satisfactory Modular Blueprint: Code structured like an industrial factory floor. Every module does one job, bounded by strict input/output contracts and isolated UNIX pipes (
|). - The Zero-Pip Guarantee: 100% Python standard library. Zero external packages, zero virtual environments, and zero dependency rot. Built to run out-of-the-box on clean Linux installs.
-
The 4-Tier Memory Bus: Eliminates model amnesia and VRAM runaway without expensive vector database sprawl.
- T0 (Kernel): Pinned, invariant laws and persona.
- T1 (RAM): Active blueprint cache with hard-capped context token budgets.
- T2 (Disk): Plain-text, human-auditable atomic milestone ledger.
- T3 (Profile): Dynamic host topology and operator accommodations.
- Hardware Coexistence (73 MiB Idle VRAM): Designed for developers whose primary GPU lives in their gaming rig. Instant signal-trapped eviction drops VRAM from 10 GB down to 73 MiB within two seconds when you launch a game.
-
Decoupled 3D Braille Rasterizer: High-definition 3D wireframe spatial visualization rendered directly in standard terminal windows using
$2\times4$ Unicode Braille sub-pixels (U+2800–U+28FF) with zero line-wrapping.
All modules live in blueprints/ and can be run or pulled directly into your own projects:
| Module | Purpose | I/O Contract |
|---|---|---|
rykr_bus.py |
Standardized JSON Envelope & Circuit Breaker | Python API / CLI |
rykr_node.py |
Remote SSH Compute & Headless Dispatcher | CLI flags |
rykr_session.py |
Tmux Daemon Lifecycle & Attached Controller | CLI commands |
rykr_memory.py |
Atomic REF Ledger Committer & Archive Auditor | CLI flags |
rykr_compress.py |
RRS Token Compressor (72.8% Schema Reduction) |
stdin stdout (Compressed) + stderr
|
rykr_scene.py |
3D Spatial Cartesian Geometry Assembler | CLI flags |
rykr_blit.py |
30° Axonometric Braille Virtual Framebuffer |
stdin (JSON) stdout (Braille Buffer) |
rykr_demo.py |
Real-Time 3D Rotating Wireframe Engine (30 FPS) | CLI |
rykr_wol.py |
Zero-Dependency Wake-on-LAN Magic Packet Broadcaster | CLI flags |
rykr_dial.py |
Interactive Curses TUI Speed-Dial & SSH Dispatcher | JSON ledger |
rykr_linkrunner.py |
Physical Switchport Link & LLDP/CDP Inspector | CLI flags |
rykr_publish.py |
Pre-Publish GitHub Leak Sanitizer, Syntax Verifier & Repacker | CLI flags |
rykr_canvas.py |
Push-Open HTML5 + Mathematical Vector <svg> & Clipboard Appliance |
JSON Spec |
-
rykr_publish.pyPromoted to the Prime Blueprint Library: Zero-pip pre-publish GitHub sanitizer that automatically purges__pycache__artifacts, scans for hardcoded operator paths/hostnames/keys/tokens, verifies Python and POSIX shell syntax, and repacks embedded base64 tarballs inside standalone installers. -
Structured Packet Ingress Protocol (
intent:$\to$ scope:$\to$ context:) & Reverse-Header Echo: Documented inPHILOSOPHY.md. Optimizes single-turn left-to-right causal Transformer prefill for inductive/bottom-up thinkers while providing an automatic 1-line[PARSED INTENT | SCOPE]echo fallback when tags are omitted. -
Two-Tier Public Attribution & Provenance Standard: Codified in
PHILOSOPHY.mdto ensure transparent human + AI co-authorship attribution on GitHub repositories while maintaining empirical first-person hardware telemetry compliance on community Q&A networks.
Clone the repository and run the real-time wireframe demo (pure standard library, zero installs):
python3 blueprints/rykr_demo.py
# Press Ctrl+C to exit cleanlyOr generate a single static frame:
python3 blueprints/rykr_demo.py --snapshotAudit all modules against Python's standard library using AST parsing:
python3 blueprints/verify_library.pyUse the built-in blueprint manager to copy pristine modules locally:
python3 blueprints/rykr_blueprint.py list
python3 blueprints/rykr_blueprint.py pull rykr_compress --dest ~/my_project/Pipe any JSON tool definition into the compressor to verify 70%+ token savings:
echo '[{"name": "fetch_data", "parameters": {"properties": {"query": {"type": "string"}}}}]' | \
python3 blueprints/rykr_compress.py --tools-
Systems Architecture, Cognitive Framework & Hardware Verification: Bill (
Tethtibis) -
AI Orchestration & Co-Engineering: Engineered within The Rykr Framework (v4.1.0) utilizing a Gemini reasoning engine under the 4-Stage Genesis Pipeline (
~plan$\to$ ~redteam$\to$ ~execute$\to$ ~crystallize). - License: MIT License. Free to use, adapt, and build upon.