Skip to main content
Hyprchan Pixel Art

🌌 HyprAI OS: Hyprchan

The homeostatic system companion that lives in your Hyprland workspace.

Python Version FastAPI Hyprland PostgreSQL License


Hyprchan is a homeostatic system entity driven by a continuous kernel loop, multimodal perception, and a layered memory stack. She observes your workspaces, listens to your voice, and reacts to your presence with dynamic mood shifts and pixel-art animations.

Quick Start • Features • Architecture • Commands


📸 Visuals

Rich TUI Interface

Live Rich TUI with telemetry and memory snapshots.

Hyprland Overlay

Animated Hyprland overlay with tool-calling capabilities.


🚀 Quick Start

Getting Hyprchan running is simple. Just install and run the setup wizard.

1. Installation

pip install hyprchan

2. Setup Wizard

Run the interactive setup to configure your LLM provider, memory (Postgres/Redis), and system services.

hyprchan wizard setup

3. Launch the TUI

Once setup is complete, wake her up and start chatting:

hyprchan tui

✨ Features

  • 🧠 Layered Memory Stack: Brain-inspired architecture with Short-Term (Redis), Long-Term (Postgres + pgvector), and Working Memory.
  • 🌙 Sleep & Dreaming: Automatically distills events into semantic facts during consolidation cycles. She literally dreams about your interactions.
  • 🎭 Dynamic Mood Dynamics: Internal scalars (valence, energy, fatigue) drive her personality. Sustained interaction or rudeness shifts her stance in real-time.
  • 👁️ Multimodal Perception:
    • Vision: Webcam face/motion detection and periodic desktop snapshots.
    • Audio: Continuous speech-to-text via Faster-Whisper with auto-language detection.
    • OS: Monitors Hyprland workspace switches and window focus events.
  • 🎨 LLM-Driven Animations: The assistant can trigger poses (idle, depressed, sleeping) and move herself across your screen using custom tools.

🏗️ Architecture

Hyprchan operates on a Continuous Kernel Loop where perception preempts cognition.

The Perception-to-Mood Pipeline

  1. Controllers: Emit raw OS/Voice/Vision events.
  2. Toggle Detector: Filters high-frequency "noise" from actual activity.
  3. Activity Detector: Calculates macro-pressure on her attention.
  4. Mood Engine: Updates internal scalars based on interaction quality ($d$ delta) and phase fatigue.
  5. Logit Bias: Mood scalars are projected into token-level biases, subtly altering her speech patterns.

💻 CLI Commands

Hyprchan comes with a powerful CLI for management and interaction.

Command Description
hyprchan wizard setup Launches the interactive configuration master.
hyprchan tui Opens the live Rich terminal interface.
hyprchan serve Starts the FastAPI backend daemon.
hyprchan extensions Manage built-in extensions (Hyprgram, HyprX).
hyprchan status Check the health of the kernel and perception services.

Built with the Ascender Framework. Maintained by Ascender Team and Hyprland Community Enthusiasts.

Metadata

Release files for hyprchan 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hyprchan 0.1.5
File Size Uploaded Provenance Actions
hyprchan-0.1.5.tar.gz 730.0 kB Without provenance Details for hyprchan-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hyprchan 0.1.5
File Interpreter ABI Platform Actions
hyprchan-0.1.5-py3-none-any.whl Python 3 none any Details for hyprchan-0.1.5-py3-none-any.whl

Total release size: 1.5 MB

Release files / hyprchan-0.1.5.tar.gz

Download URL hyprchan-0.1.5.tar.gz
Size 730.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8b8c058191de2a7a9a112bf6b6cecd4bd8233584d79fb162c8fbb17f1524046c
BLAKE2b-256 checksum
How to use checksums
633c3e290f45ce1ee0f33e2e91d090e2acb89f612f9ae90980c0cf9b1901b7d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.13 Linux/6.18.9-arch1-2

Release files / hyprchan-0.1.5-py3-none-any.whl

Download URL hyprchan-0.1.5-py3-none-any.whl
Size 802.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0123b6f97b5d561b8b04acfa62455844eb32a72e6d932aa4646efdeed3f1daf3
BLAKE2b-256 checksum
How to use checksums
b514357a277a5f65560ef75f11b0c29e5d11a5925d89fabe47dcdce3a5374127
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.13 Linux/6.18.9-arch1-2

Security for hyprchan 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page