An anime girl that lives in your Hyprland and chills.
Project description
🌌 HyprAI OS: Hyprchan
The homeostatic system companion that lives in your Hyprland workspace.
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.
📸 Visuals
|
Live Rich TUI with telemetry and memory snapshots. |
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
- Controllers: Emit raw OS/Voice/Vision events.
- Toggle Detector: Filters high-frequency "noise" from actual activity.
- Activity Detector: Calculates macro-pressure on her attention.
- Mood Engine: Updates internal scalars based on interaction quality ($d$ delta) and phase fatigue.
- 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. |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyprchan-0.1.1.tar.gz.
File metadata
- Download URL: hyprchan-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.18.9-arch1-2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60f928d4e9a56eab11ef0f35eaf5c95c25753c7f53e910dfae460f7e7e5a37b1
|
|
| MD5 |
231888fa10139065957bcdbef514c22c
|
|
| BLAKE2b-256 |
14a29c4e516ecee4fd6a97baefce28e22b99599c7e1f73f3835f9e3da2fce026
|
File details
Details for the file hyprchan-0.1.1-py3-none-any.whl.
File metadata
- Download URL: hyprchan-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.18.9-arch1-2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de916a7914bb1a02f27b730dd7eb1e10e8da0f8e31c08ed94190ed9ea1e09c49
|
|
| MD5 |
7af7cb5df6e798bcf5169a623e0903f6
|
|
| BLAKE2b-256 |
6d7f834708d4d3f5b5f2d03b1351f29022dc6bd0e344971bfa8d613e31cc6c11
|