Skip to content

Latest commit

 

History

History
110 lines (84 loc) · 7.01 KB

README.md

File metadata and controls

110 lines (84 loc) · 7.01 KB

The Rykr Framework (v4.1.0)

Sovereign Cognitive Architecture & Modular Systems Engineering on Consumer Silicon

Version: 4.1.0 License: MIT Python: 3.10+ Dependencies: Zero Architecture: Satisfactory

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.


Read the Whitepaper

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.

Core Breakthroughs

  1. 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 (|).
  2. 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.
  3. 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.
  4. 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.
  5. 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.

The Prime Blueprint Library

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 $\to$ JSON Envelope
rykr_node.py Remote SSH Compute & Headless Dispatcher CLI flags $\to$ Remote JSON Telemetry
rykr_session.py Tmux Daemon Lifecycle & Attached Controller CLI commands $\to$ Session Telemetry
rykr_memory.py Atomic REF Ledger Committer & Archive Auditor CLI flags $\to$ Atomic POSIX Rename
rykr_compress.py RRS Token Compressor (72.8% Schema Reduction) stdin $\to$ stdout (Compressed) + stderr
rykr_scene.py 3D Spatial Cartesian Geometry Assembler CLI flags $\to$ SceneGraph JSON Contract
rykr_blit.py 30° Axonometric Braille Virtual Framebuffer stdin (JSON) $\to$ stdout (Braille Buffer)
rykr_demo.py Real-Time 3D Rotating Wireframe Engine (30 FPS) CLI $\to$ Real-Time Terminal Animation
rykr_wol.py Zero-Dependency Wake-on-LAN Magic Packet Broadcaster CLI flags $\to$ UDP Broadcast / JSON Telemetry
rykr_dial.py Interactive Curses TUI Speed-Dial & SSH Dispatcher JSON ledger $\to$ Full-Screen Curses TUI
rykr_linkrunner.py Physical Switchport Link & LLDP/CDP Inspector CLI flags $\to$ Switchport JSON Telemetry
rykr_publish.py Pre-Publish GitHub Leak Sanitizer, Syntax Verifier & Repacker CLI flags $\to$ Sanitization Audit JSON / Tarball Sync
rykr_canvas.py Push-Open HTML5 + Mathematical Vector <svg> & Clipboard Appliance JSON Spec $\to$ Burnt Orange HTML5/SVG + Active Client Launch

What's New in v4.1.0

  1. rykr_publish.py Promoted 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.
  2. Structured Packet Ingress Protocol (intent: $\to$ scope: $\to$ context:) & Reverse-Header Echo: Documented in PHILOSOPHY.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.
  3. Two-Tier Public Attribution & Provenance Standard: Codified in PHILOSOPHY.md to ensure transparent human + AI co-authorship attribution on GitHub repositories while maintaining empirical first-person hardware telemetry compliance on community Q&A networks.

Quick Start

1. Test the 3D Braille Rasterizer

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 cleanly

Or generate a single static frame:

python3 blueprints/rykr_demo.py --snapshot

2. Verify Standard Library Purity

Audit all modules against Python's standard library using AST parsing:

python3 blueprints/verify_library.py

3. Pull a Blueprint into Your Project

Use 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/

4. Test RRS Token Compression

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

Provenance & License

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